|
Model Railroad System 2.2.2
|
The cross reference table object. More...
#include <PDFPrinterSupport.h>
Public Member Functions | |
| CrossReferenceTable () | |
| Constructor. More... | |
| ~CrossReferenceTable () | |
| Destructor. More... | |
| void | AddIndirectObjectToTable (IndirectObject *obj) |
| Add an indirect object to the cross reference table. More... | |
| streampos | WriteTable (ostream &stream) const |
| Write this cross reference table out. More... | |
| unsigned long int | HighestObjectNumber () const |
| Return the highest object number. More... | |
Private Types | |
| typedef map< unsigned long int, IndirectObject *, less< unsigned long int > > | objectMap |
| The object table type. More... | |
Private Member Functions | |
| void | FreeObject (unsigned long int objNum) |
| Free up a object slot in the cross reference table. More... | |
Private Attributes | |
| objectMap | objectTable |
| The table of objects. More... | |
Static Private Attributes | |
| static unsigned long int | lastObjectNumber |
| The last used object number. More... | |
Friends | |
| class | IndirectObject |
The cross reference table object.
The stricture holds the cross-reference table, which is used to index and access indirect objects of various sorts.
|
private |
The object table type.
| FCFSupport::PDFFileStructures::CrossReferenceTable::CrossReferenceTable | ( | ) |
Constructor.
Initialize a cross reference table object.
|
inline |
Destructor.
Cleans things up.
| void FCFSupport::PDFFileStructures::CrossReferenceTable::AddIndirectObjectToTable | ( | IndirectObject * | obj | ) |
Add an indirect object to the cross reference table.
| obj | The object to add. |
|
private |
Free up a object slot in the cross reference table.
| objNum | The object number to free up. |
Referenced by FCFSupport::PDFFileStructures::IndirectObject::~IndirectObject().
|
inline |
Return the highest object number.
References lastObjectNumber.
| streampos FCFSupport::PDFFileStructures::CrossReferenceTable::WriteTable | ( | ostream & | stream | ) | const |
Write this cross reference table out.
Returns the file position.
| stream | The stream to write to. |
|
friend |
|
staticprivate |
The last used object number.
Referenced by HighestObjectNumber().
|
private |
The table of objects.