![]() |
wxPdfDocument 1.3.1
|
Class representing an array object. (For internal use only) More...
#include <pdfobjects.h>
Public Member Functions | |
| wxPdfArray () | |
| Constructor. | |
| virtual | ~wxPdfArray () |
| Destructor. | |
| void | Add (wxPdfObject *obj) |
| Append an object to the array. | |
| void | Add (int value) |
| Append an integer value to the array. | |
| void | Add (double value) |
| Append a floating point value to the array. | |
| wxPdfObject * | Get (size_t index) |
| Get the array element with the given index. | |
| size_t | GetSize () |
| Get the size of the array. | |
Public Member Functions inherited from wxPdfObject | |
| wxPdfObject (int type) | |
| Constructor. | |
| virtual | ~wxPdfObject () |
| Destructor. | |
| int | GetType () |
| Get the type of the object. | |
| void | SetObjNum (int objNum, int objGen=0) |
| Set object and generation number. | |
| int | GetNumber () |
| Get object number. | |
| int | GetGeneration () |
| Get generation number. | |
| void | SetActualId (int actualId) |
| Set actual object id. | |
| int | GetActualId () |
| void | SetCreatedIndirect (bool indirect) |
| Flag this object as created through a indirect reference. | |
| bool | IsCreatedIndirect () |
| Check whether this object was created through a indirect reference. | |
| bool | CanBeInObjStm () |
| Check whether this object can be in an object stream. | |
| bool | IsNull () |
| Checks whether this is a wxPdfNull object. | |
| bool | IsBoolean () |
| Checks whether this is a wxPdfBoolean object. | |
| bool | IsNumber () |
| Checks whether this is a wxPdfNumber object. | |
| bool | IsString () |
| Checks whether this is a wxPdfString object. | |
| bool | IsName () |
| Checks whether this is a wxPdfName object. | |
| bool | IsArray () |
| Checks whether this is a wxPdfArray object. | |
| bool | IsDictionary () |
| Checks whether this is a wxPdfDictionary object. | |
| bool | IsStream () |
| Checks whether this PdfObject is of the type PdfStream. | |
| bool | IsIndirect () |
| Checks if this is an indirect object. | |
Additional Inherited Members | |
Protected Attributes inherited from wxPdfObject | |
| int | m_type |
| Object type. | |
| int | m_objNum |
| Object number. | |
| int | m_objGen |
| Object generation. | |
| int | m_actualId |
| Actual object id. | |
| bool | m_indirect |
| Flag whether created through indirect reference. | |
Class representing an array object. (For internal use only)
| wxPdfArray::wxPdfArray | ( | ) |
Constructor.
|
virtual |
Destructor.
| void wxPdfArray::Add | ( | double | value | ) |
Append a floating point value to the array.
| void wxPdfArray::Add | ( | int | value | ) |
Append an integer value to the array.
| void wxPdfArray::Add | ( | wxPdfObject * | obj | ) |
Append an object to the array.
| wxPdfObject * wxPdfArray::Get | ( | size_t | index | ) |
Get the array element with the given index.
|
inline |
Get the size of the array.