Foxit PDF SDK
foxit::fts::DocumentsSource类 参考
类 foxit::fts::DocumentsSource 继承关系图:
foxit::Base

Public 成员函数

 DocumentsSource (const char *directory)
 用目录构造函数。 更多...
 
 DocumentsSource (const DocumentsSource &other)
 用另一个文档源对象构造函数。 更多...
 
 ~DocumentsSource ()
 析构函数。
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool operator != (const DocumentsSource &other) const
 不相等操作符。 更多...
 
DocumentsSourceoperator= (const DocumentsSource &other)
 赋值操作符。 更多...
 
bool operator== (const DocumentsSource &other) const
 相等操作符。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类用于表示一个指定的目录,该目录包含PDF文件,用户希望 在这些PDF文件中进行搜索。

构造及析构函数说明

◆ DocumentsSource() [1/2]

foxit::fts::DocumentsSource::DocumentsSource ( const char *  directory)
explicit

用目录构造函数。

参数
[in]directory表示目录的路径字符串。

◆ DocumentsSource() [2/2]

foxit::fts::DocumentsSource::DocumentsSource ( const DocumentsSource other)

用另一个文档源对象构造函数。

参数
[in]other另一个文档源对象。

成员函数说明

◆ IsEmpty()

bool foxit::fts::DocumentsSource::IsEmpty ( ) const

检查当前对象是否为空。

当当前对象为空时,意味着当前对象是无用的。

返回
true 表示当前对象为空,false 表示不为空。

◆ operator !=()

bool foxit::fts::DocumentsSource::operator != ( const DocumentsSource other) const

不相等操作符。

参数
[in]other另一个文档源对象。此函数将检查当前对象是否与此对象不相等。
返回
true 表示不相等,false 表示相等。

◆ operator=()

DocumentsSource& foxit::fts::DocumentsSource::operator= ( const DocumentsSource other)

赋值操作符。

参数
[in]other另一个文档源对象,其值将被赋给当前对象。
返回
对当前对象本身的引用。

◆ operator==()

bool foxit::fts::DocumentsSource::operator== ( const DocumentsSource other) const

相等操作符。

参数
[in]other另一个文档源对象。此函数将检查当前对象是否与此对象相等。
返回
true 表示相等,false 表示不相等。