Model Railroad System 2.2.2
|
Typed dictionary. More...
#include <PDFPrinterSupport.h>
Public Member Functions | |
TypedDictionary (string t, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
Constructor. More... | |
~TypedDictionary () | |
Destructor. More... | |
![]() | |
Dictionary (unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
Constructor. More... | |
virtual | ~Dictionary () |
Destructor. More... | |
virtual ostream & | WriteDirect (ostream &stream) const |
Write an object directly. More... | |
![]() | |
IndirectObject (unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) | |
Constructor. More... | |
virtual | ~IndirectObject () |
Destructor. More... | |
ostream & | WriteObjectToFile (ostream &stream) |
Write an object indirectly. More... | |
ostream & | WriteIndirectReference (ostream &stream) const |
Write an object indirectly. More... | |
virtual ostream & | WriteDirect (ostream &stream) const =0 |
Write an object directly. More... | |
unsigned long int | ObjectNumber () const |
Return this object's object number. More... | |
unsigned short int | GenerationNumber () const |
Return this object's generation number. More... | |
streampos | FileOffset () const |
Return this object's file offset. More... | |
bool | HasOffset () const |
Does the object have a file offset? More... | |
Protected Member Functions | |
ostream & | WriteDictionaryType (ostream &stream) const |
Write the dictionary's type. More... | |
virtual ostream & | WriteDictionaryElements (ostream &stream) const |
Write this dictionary's elements. More... | |
virtual ostream & | WriteDictionaryElements (ostream &stream) const |
Write the elements of a dictionary. More... | |
Private Attributes | |
string | type |
The dictionary's type name. More... | |
Typed dictionary.
A dictionary with a /Type field.
|
inline |
Constructor.
Set the type member.
t | The type of this dictionary. |
objNum | The next object number. |
genNum | The generation number. |
tab | The cross reference table we are in. |
References type.
|
inline |
Destructor.
|
inlineprotectedvirtual |
Write this dictionary's elements.
Start with its type.
stream | The output stream to write to. |
Reimplemented from FCFSupport::PDFFileStructures::Dictionary.
Reimplemented in FCFSupport::PDFFileStructures::Page, FCFSupport::PDFFileStructures::PageTree, FCFSupport::PDFFileStructures::PageLabelDictionary, FCFSupport::PDFFileStructures::FontDictionary, FCFSupport::PDFFileStructures::Type1FontDictionary, and FCFSupport::PDFFileStructures::CatalogDictionary.
References lcc::stream, and WriteDictionaryType().
|
inlineprotected |
Write the dictionary's type.
stream | The output stream to write to. |
References lcc::stream, and type.
Referenced by WriteDictionaryElements(), and FCFSupport::PDFFileStructures::FontDictionary::WriteDictionaryElements().
|
private |
The dictionary's type name.
Referenced by TypedDictionary(), and WriteDictionaryType().