Foxit PDF SDK
foxit::addon::TableCellDataArray Class Reference

Inherits Object.

Public Member Functions

 TableCellDataArray ()
 Constructor.
 
 TableCellDataArray (const TableCellDataArray &other)
 Constructor, with another array object. More...
 
 ~ TableCellDataArray ()
 Destructor.
 
void Add (const TableCellDataColArray &element)
 Add an element to the end of current array. More...
 
TableCellDataColArray GetAt (size_t index) const
 Retrieve a copy of the element at position specified by index in current array. More...
 
size_t GetSize () const
 Get the size of elements in current array. More...
 
void InsertAt (size_t index, const TableCellDataColArray &element)
 Insert an element before the position specified by index. More...
 
TableCellDataArrayoperator= (const TableCellDataArray &other)
 Assign operator. More...
 
TableCellDataColArrayoperator[] (size_t index) const
 Retrieve a reference to the element at position specified by index in current array. More...
 
void RemoveAll ()
 Remove all the element from current array. More...
 
void RemoveAt (size_t index)
 Remove the element in position specified by index. More...
 

Detailed Description

This class represents an array of TableCellDataColArray objects,inserted in the order of the displayed table from top to bottom.

Constructor & Destructor Documentation

◆ TableCellDataArray()

foxit::addon::TableCellDataArray::TableCellDataArray ( const TableCellDataArray other)

Constructor, with another array object.

Parameters
[in]otherAnother array object.

Member Function Documentation

◆ Add()

void foxit::addon::TableCellDataArray::Add ( const TableCellDataColArray element)

Add an element to the end of current array.

Parameters
[in]elementNew element to be added to current array.
Returns
None.

◆ GetAt()

TableCellDataColArray foxit::addon::TableCellDataArray::GetAt ( size_t  index) const

Retrieve a copy of the element at position specified by index in current array.

Parameters
[in]indexAn index to specify which element is to be retrieved.
Returns
A copy of an element.

◆ GetSize()

size_t foxit::addon::TableCellDataArray::GetSize ( ) const

Get the size of elements in current array.

Returns
The size.

◆ InsertAt()

void foxit::addon::TableCellDataArray::InsertAt ( size_t  index,
const TableCellDataColArray element 
)

Insert an element before the position specified by index.

Parameters
[in]indexAn index to specify where to insert the new element. Valid range: from 0 to (size-1). size is the size of elements in current array.
[in]elementNew element to be inserted to current array.
Returns
None.

◆ operator=()

TableCellDataArray& foxit::addon::TableCellDataArray::operator= ( const TableCellDataArray other)

Assign operator.

Parameters
[in]otherAnother array object, whose value will be assigned to current object.
Returns
Reference to current object itself.

◆ operator[]()

TableCellDataColArray& foxit::addon::TableCellDataArray::operator[] ( size_t  index) const

Retrieve a reference to the element at position specified by index in current array.

Parameters
[in]indexAn index to specify which element is to be retrieved.
Returns
Reference to an element.

◆ RemoveAll()

void foxit::addon::TableCellDataArray::RemoveAll ( )

Remove all the element from current array.

Returns
None.

◆ RemoveAt()

void foxit::addon::TableCellDataArray::RemoveAt ( size_t  index)

Remove the element in position specified by index.

Parameters
[in]indexAn index to specify which element is to be removed. Valid range: from 0 to (size-1). size is the size of elements in current array.
Returns
None.