Model Railroad System 2.2.2
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
FCFSupport::PDFFileStructures::TypedDictionary Class Reference

Typed dictionary. More...

#include <PDFPrinterSupport.h>

Inheritance diagram for FCFSupport::PDFFileStructures::TypedDictionary:
FCFSupport::PDFFileStructures::Dictionary FCFSupport::PDFFileStructures::IndirectObject FCFSupport::PDFFileStructures::CatalogDictionary FCFSupport::PDFFileStructures::FontDictionary FCFSupport::PDFFileStructures::Page FCFSupport::PDFFileStructures::PageLabelDictionary FCFSupport::PDFFileStructures::PageTree FCFSupport::PDFFileStructures::Type1FontDictionary FCFSupport::PDFFileStructures::PostScriptStandardType1FontDictionary

Public Member Functions

 TypedDictionary (string t, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
 Constructor. More...
 
 ~TypedDictionary ()
 Destructor. More...
 
- Public Member Functions inherited from FCFSupport::PDFFileStructures::Dictionary
 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...
 
- Public Member Functions inherited from FCFSupport::PDFFileStructures::IndirectObject
 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...
 

Detailed Description

Typed dictionary.

A dictionary with a /Type field.

Author
Robert Heller <heller@deepsoft.com>

Constructor & Destructor Documentation

◆ TypedDictionary()

FCFSupport::PDFFileStructures::TypedDictionary::TypedDictionary ( string  t,
unsigned long int  objNum = 0L,
unsigned short int  genNum = 0,
CrossReferenceTable tab = NULL 
)
inline

Constructor.

Set the type member.

Parameters
tThe type of this dictionary.
objNumThe next object number.
genNumThe generation number.
tabThe cross reference table we are in.

References type.

◆ ~TypedDictionary()

FCFSupport::PDFFileStructures::TypedDictionary::~TypedDictionary ( )
inline

Destructor.

Member Function Documentation

◆ WriteDictionaryElements()

virtual ostream & FCFSupport::PDFFileStructures::TypedDictionary::WriteDictionaryElements ( ostream &  stream) const
inlineprotectedvirtual

◆ WriteDictionaryType()

ostream & FCFSupport::PDFFileStructures::TypedDictionary::WriteDictionaryType ( ostream &  stream) const
inlineprotected

Write the dictionary's type.

Parameters
streamThe output stream to write to.

References lcc::stream, and type.

Referenced by WriteDictionaryElements(), and FCFSupport::PDFFileStructures::FontDictionary::WriteDictionaryElements().

Member Data Documentation

◆ type

string FCFSupport::PDFFileStructures::TypedDictionary::type
private

The dictionary's type name.

Referenced by TypedDictionary(), and WriteDictionaryType().