Foxit PDF SDK
foxit::pdf::annots::QuadPointsArray类 参考

继承自 Object .

Public 成员函数

 QuadPointsArray ()
 构造函数。
 
 QuadPointsArray (const QuadPointsArray &other)
 拷贝构造函数,使用另一个数组对象。 更多...
 
 ~ QuadPointsArray ()
 析构函数。
 
void Add (const QuadPoints &element)
 向当前数组的末尾添加一个元素。 更多...
 
QuadPoints GetAt (size_t index) const
 检索当前数组中由索引指定位置的元素副本。 更多...
 
size_t GetSize () const
 获取当前数组中元素的大小。 更多...
 
void InsertAt (size_t index, const QuadPoints &element)
 在由索引指定的位置之前插入一个元素。 更多...
 
QuadPointsArrayoperator= (const QuadPointsArray &other)
 赋值操作符。 更多...
 
QuadPointsoperator[] (size_t index) const
 检索当前数组中由索引指定位置的元素引用。 更多...
 
void RemoveAll ()
 从当前数组中移除所有元素。 更多...
 
void RemoveAt (size_t index)
 移除由索引指定位置的元素。 更多...
 

详细描述

此类表示annots::QuadPoints对象数组。

构造及析构函数说明

◆ QuadPointsArray()

foxit::pdf::annots::QuadPointsArray::QuadPointsArray ( const QuadPointsArray other)

拷贝构造函数,使用另一个数组对象。

参数
[in]other另一个数组对象。

成员函数说明

◆ Add()

void foxit::pdf::annots::QuadPointsArray::Add ( const QuadPoints element)

向当前数组的末尾添加一个元素。

参数
[in]element要添加到当前数组的新元素。
返回
无。

◆ GetAt()

QuadPoints foxit::pdf::annots::QuadPointsArray::GetAt ( size_t  index) const

检索当前数组中由索引指定位置的元素副本。

参数
[in]index指定要检索的元素的索引。
返回
元素的副本。

◆ GetSize()

size_t foxit::pdf::annots::QuadPointsArray::GetSize ( ) const

获取当前数组中元素的大小。

返回
大小。

◆ InsertAt()

void foxit::pdf::annots::QuadPointsArray::InsertAt ( size_t  index,
const QuadPoints element 
)

在由索引指定的位置之前插入一个元素。

参数
[in]index指定插入新元素位置的索引。有效范围:从 0 到 (size-1)。 size 是当前数组中元素的大小。
[in]element要插入到当前数组的新元素。
返回
无。

◆ operator=()

QuadPointsArray& foxit::pdf::annots::QuadPointsArray::operator= ( const QuadPointsArray other)

赋值操作符。

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

◆ operator[]()

QuadPoints& foxit::pdf::annots::QuadPointsArray::operator[] ( size_t  index) const

检索当前数组中由索引指定位置的元素引用。

参数
[in]index指定要检索的元素的索引。
返回
元素的引用。

◆ RemoveAll()

void foxit::pdf::annots::QuadPointsArray::RemoveAll ( )

从当前数组中移除所有元素。

返回
无。

◆ RemoveAt()

void foxit::pdf::annots::QuadPointsArray::RemoveAt ( size_t  index)

移除由索引指定位置的元素。

参数
[in]index指定要移除的元素的索引。有效范围:从 0 到 (size-1)。 size 是当前数组中元素的大小。
返回
无。