PDFTool  7.0
PtlCustomProperties.h
1 // PtlCustomProperties.h
3 // Copyright (C) 2018 Antenna House,Inc.
4 // All rights reserved.
6 #ifndef PDFTK_PTLCUSTOMPROPERTIES_H_
7 #define PDFTK_PTLCUSTOMPROPERTIES_H_
8 
9 #include "PtlCustomProperty.h"
10 
11 namespace PdfTk {
12 
17 class PDFTK_API PtlCustomProperties
18 {
19 private:
20  int m_dataCustomProperties;
21 public:
22  int getHandle() const;
23 
24 public:
30 
38 
43 
44 public:
51 
52 public:
58  bool isEmpty() const;
59 
65  int getCount() const;
66 
67 public:
77  PtlCustomProperty get(int index);
78 
86  void append(const PtlCustomProperty& custProp);
87 
96  void remove(int index);
97 
102  void removeAll();
103 };
104 
105 }
106 
107 #endif // PDFTK_PTLCUSTOMPROPERTIES_H_
108 
PdfTk::PtlCustomProperty
カスタムプロパティを表現するクラスです。
Definition: PtlCustomProperty.h:18
PdfTk::PtlCustomProperties
カスタムプロパティのコンテナを表現するクラスです。
Definition: PtlCustomProperties.h:18
PdfTk::PtlCustomProperties::getCount
int getCount() const
カスタムプロパティ数を取得。
PdfTk::PtlCustomProperties::append
void append(const PtlCustomProperty &custProp)
カスタムプロパティを追加。
PdfTk::PtlCustomProperties::remove
void remove(int index)
カスタムプロパティを削除。
PdfTk::PtlCustomProperties::PtlCustomProperties
PtlCustomProperties(const PtlCustomProperties &obj)
コピーコンストラクタ alias copy
PdfTk::PtlCustomProperties::operator=
PtlCustomProperties & operator=(const PtlCustomProperties &obj)
コピーオペレータ alias copy
PdfTk::PtlCustomProperties::isEmpty
bool isEmpty() const
空かどうかを取得。
PdfTk::PtlCustomProperties::removeAll
void removeAll()
カスタムプロパティを全て削除。
PdfTk::PtlCustomProperties::‾PtlCustomProperties
‾PtlCustomProperties()
デストラクタ
PdfTk::PtlCustomProperties::PtlCustomProperties
PtlCustomProperties()
コンストラクタ
PdfTk::PtlCustomProperties::get
PtlCustomProperty get(int index)
カスタムプロパティを取得。