|
Foxit PDF SDK
|
Inherits Object.
Public Member Functions | |
| DialogDescriptionElementArray () | |
| Constructor. | |
| DialogDescriptionElementArray (const DialogDescriptionElementArray &other) | |
| Constructor, with another array object. More... | |
| ~ DialogDescriptionElementArray () | |
| Destructor. | |
| void | Add (const DialogDescriptionElement &element) |
| Add an element to the end of current array. More... | |
| DialogDescriptionElement | 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 DialogDescriptionElement &element) |
| Insert an element before the position specified by index. More... | |
| DialogDescriptionElementArray & | operator= (const DialogDescriptionElementArray &other) |
| Assign operator. More... | |
| DialogDescriptionElement & | operator[] (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... | |
This class represents an array of dialog description element array.
| foxit::DialogDescriptionElementArray::DialogDescriptionElementArray | ( | const DialogDescriptionElementArray & | other | ) |
Constructor, with another array object.
| [in] | other | Another array object. |
| void foxit::DialogDescriptionElementArray::Add | ( | const DialogDescriptionElement & | element | ) |
Add an element to the end of current array.
| [in] | element | New element to be added to current array. |
| DialogDescriptionElement foxit::DialogDescriptionElementArray::GetAt | ( | size_t | index | ) | const |
Retrieve a copy of the element at position specified by index in current array.
| [in] | index | An index to specify which element is to be retrieved. |
| size_t foxit::DialogDescriptionElementArray::GetSize | ( | ) | const |
Get the size of elements in current array.
| void foxit::DialogDescriptionElementArray::InsertAt | ( | size_t | index, |
| const DialogDescriptionElement & | element | ||
| ) |
Insert an element before the position specified by index.
| [in] | index | An 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] | element | New element to be inserted to current array. |
| DialogDescriptionElementArray& foxit::DialogDescriptionElementArray::operator= | ( | const DialogDescriptionElementArray & | other | ) |
Assign operator.
| [in] | other | Another array object, whose value will be assigned to current object. |
| DialogDescriptionElement& foxit::DialogDescriptionElementArray::operator[] | ( | size_t | index | ) | const |
Retrieve a reference to the element at position specified by index in current array.
| [in] | index | An index to specify which element is to be retrieved. |
| void foxit::DialogDescriptionElementArray::RemoveAll | ( | ) |
Remove all the element from current array.
| void foxit::DialogDescriptionElementArray::RemoveAt | ( | size_t | index | ) |
Remove the element in position specified by index.
| [in] | index | An 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. |