Foxit PDF SDK
fs_ofdlinearpackage.h
1 #ifndef FS_OFD_LINEARPACKAGE_H_
2 #define FS_OFD_LINEARPACKAGE_H_
3 
4 #include "common/fs_common.h"
5 
11 namespace foxit {
15 namespace ofd {
17 class OFDLinearPackage FS_FINAL : public Base {
18  public:
24  explicit OFDLinearPackage(const char* path);
25 
31  explicit OFDLinearPackage(const wchar_t* path);
32 
35 
48  OFDLinearPackage(const OFDLinearPackage& other);
49 
57 
65  bool operator == (const OFDLinearPackage& other) const;
66 
74  bool operator != (const OFDLinearPackage& other) const;
75 
83  bool IsEmpty() const;
84 
92  String GetFileContent(const String& path);
93 
101  String GetFileContent(const WString& path);
102 
103  explicit OFDLinearPackage(FS_HANDLE handle);
104 };
105 
106 } // namespace ofd
107 } // namespace foxit
108 
109 #endif // FS_OFD_LINEARPACKAGE_H_
bool operator==(const OFDLinearPackage &other) const
相等操作符。
宽字符串类
Definition: fx_string.h:1457
OFDLinearPackage(const char *path)
带参数的构造函数。
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:213
bool operator !=(const OFDLinearPackage &other) const
不相等操作符。
通用定义和类的头文件。
String GetFileContent(const String &path)
获取指定路径的文件内容。
Definition: fs_basictypes.h:465
OFDLinearPackage & operator=(const OFDLinearPackage &other)
赋值操作符。
Foxit命名空间。
Definition: fs_taggedpdf.h:27
字节字符串类
Definition: fx_string.h:317
~OFDLinearPackage()
析构函数。
bool IsEmpty() const
检查当前对象是否为空。
Definition: fs_ofdlinearpackage.h:17