VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions

Instances of DtFedReader13 are used to read a FED file, and fill in a DtFedTarget with the information read. More...

+ Inheritance diagram for DtFedReader13:
+ Collaboration diagram for DtFedReader13:

Public Member Functions

 DtFedReader13 ()
 Constructor.
virtual ~DtFedReader13 ()
 Destructor.
virtual DtFedReadStatus readFedFilePtr (FILE *filePointer, DtFedTarget *fedTarget, DtFilename fedFileName, unsigned int strictCheckingMask=DtFedReadStrictDisabled, bool useDTD=false, bool dontParseSwitches=false)
 Read the FED file fedFileName, setting values to fedTarget.
- Public Member Functions inherited from DtFedReader
 DtFedReader ()
 Constructor.
virtual ~DtFedReader ()
 Destructor.
virtual DtFedReadStatus readFed (const char *fedFileName, DtFedTarget *fedTarget, unsigned int strictCheckingMask=DtFedReadStrictDisabled, bool useDTD=false, bool dontParseSwitches=false)
 Read the FED file fedFileName, setting values to fedTarget.
virtual FILE * openFedFileWithErrCheck (const char *fileName, bool isBinary=false)
 get the a file handle to the FED File for reading in text or binary mode
virtual unsigned int setStrictChecking (unsigned int checkMask)
 Set status of strict checking.
virtual bool strictChecking (unsigned int checkMask) const
 Returns bool: strictChecking enabled for types of checks provided.
virtual void setExpectedFomType (DtFomType fomType)
 Set/Get expected FOM type.
virtual DtFomType expectedFomType () const
virtual DtFomType lastFomType () const
 Returns the FOM type of the last FOM read.
virtual const DtStringlastError () const
 Get the last error.
char * takeCurrFddData ()

Protected Member Functions

virtual DtFedReadStatus processFed (DtlObjPtr fedObj)
 process the FED directive
virtual DtFedReadStatus processFederation (DtlObjPtr fedObj)
 process the federation directive
virtual DtFedReadStatus processVersion (DtlObjPtr fedObj)
 process the FEDVersion directive
virtual DtFedReadStatus processSpaces (DtlObjPtr fedObj)
 process the spaces directive
virtual DtFedReadStatus processSpace (DtlObjPtr fedObj)
 process the space directive
virtual DtFedReadStatus processDimension (DtlObjPtr fedObj, const char *space)
 process the dimension directive
virtual DtFedReadStatus processObjects (DtlObjPtr fedObj)
 process the objects directive
virtual DtFedReadStatus processObjClass (DtlObjPtr fedObj, const char *parent)
 process the object's class directive
virtual DtFedReadStatus processAttribute (DtlObjPtr fedObj, const char *obj)
 process the object's attribute directive
virtual DtFedReadStatus processInteractions (DtlObjPtr fedObj)
 process the interactions directive
virtual DtFedReadStatus processIntClass (DtlObjPtr fedObj, const char *parent)
 process the interaction's class directive
virtual DtFedReadStatus processParameter (DtlObjPtr fedObj, const char *inter)
 process the interaction's parameter directive
- Protected Member Functions inherited from DtFedReader
void appendErrorLine (xmlNode *node, DtString &output) const

Protected Attributes

bool myReplacedObjectRoot
 Indicates when federation's FOM is 1516(e) and root name has been replaced to match.
bool myReplacedInteractionRoot
 Indicates when federation's FOM is 1516(e) and root name has been replaced to match.
- Protected Attributes inherited from DtFedReader
DtFedTargetmyFedTarget
DtFedReadermyChildReader
unsigned int myStrictChecking
bool myDontParseSwitchTable
DtFomType myExpectedFomType
 When set, the FOM must conform to this type.
DtFomType myLastFomType
 The type of FOM format that was last read.
DtString myLastError
 Description of last encountered error.

Private Member Functions

 DtFedReader13 (const DtFedReader13 &)
 Copy constructor and Assignment operator - Unimplemented.
DtFedReader13operator= (const DtFedReader13 &)

Additional Inherited Members

- Static Public Member Functions inherited from DtFedReader
static DtFomType checkFomType (const char *fedFileName, void *fedFilePtr)
 Get the FOM Type.
static FILE * openFedFile (const char *fileName, bool isBinary=false)
 Open file from name and return FILE*.
static bool readFileIntoBuffer (FILE *fileHandle, char **fileBuffer, unsigned int *fileSize)
 Read the file from the FILE* into the buffer.
- Public Attributes inherited from DtFedReader
char * myCurrFddBuffer
 Buffer containing the most recently read FDD file.
unsigned int myCurrFddBufferSize
 Size of the buffer for the most recently read FDD file.

Detailed Description

Instances of DtFedReader13 are used to read a FED file, and fill in a DtFedTarget with the information read.

Constructor & Destructor Documentation

DtFedReader13::DtFedReader13 ( )

Constructor.

virtual DtFedReader13::~DtFedReader13 ( )
virtual

Destructor.

DtFedReader13::DtFedReader13 ( const DtFedReader13 )
private

Copy constructor and Assignment operator - Unimplemented.

Member Function Documentation

DtFedReader13& DtFedReader13::operator= ( const DtFedReader13 )
private
virtual DtFedReadStatus DtFedReader13::processAttribute ( DtlObjPtr  fedObj,
const char *  obj 
)
protectedvirtual

process the object's attribute directive

virtual DtFedReadStatus DtFedReader13::processDimension ( DtlObjPtr  fedObj,
const char *  space 
)
protectedvirtual

process the dimension directive

virtual DtFedReadStatus DtFedReader13::processFed ( DtlObjPtr  fedObj)
protectedvirtual

process the FED directive

virtual DtFedReadStatus DtFedReader13::processFederation ( DtlObjPtr  fedObj)
protectedvirtual

process the federation directive

virtual DtFedReadStatus DtFedReader13::processIntClass ( DtlObjPtr  fedObj,
const char *  parent 
)
protectedvirtual

process the interaction's class directive

virtual DtFedReadStatus DtFedReader13::processInteractions ( DtlObjPtr  fedObj)
protectedvirtual

process the interactions directive

virtual DtFedReadStatus DtFedReader13::processObjClass ( DtlObjPtr  fedObj,
const char *  parent 
)
protectedvirtual

process the object's class directive

virtual DtFedReadStatus DtFedReader13::processObjects ( DtlObjPtr  fedObj)
protectedvirtual

process the objects directive

virtual DtFedReadStatus DtFedReader13::processParameter ( DtlObjPtr  fedObj,
const char *  inter 
)
protectedvirtual

process the interaction's parameter directive

virtual DtFedReadStatus DtFedReader13::processSpace ( DtlObjPtr  fedObj)
protectedvirtual

process the space directive

virtual DtFedReadStatus DtFedReader13::processSpaces ( DtlObjPtr  fedObj)
protectedvirtual

process the spaces directive

virtual DtFedReadStatus DtFedReader13::processVersion ( DtlObjPtr  fedObj)
protectedvirtual

process the FEDVersion directive

virtual DtFedReadStatus DtFedReader13::readFedFilePtr ( FILE *  filePointer,
DtFedTarget fedTarget,
DtFilename  fedFileName,
unsigned int  strictCheckingMask = DtFedReadStrictDisabled,
bool  useDTD = false,
bool  dontParseSwitches = false 
)
virtual

Read the FED file fedFileName, setting values to fedTarget.

Note if fedTarget is NULL the fedfile will be read and verified only. Strict checking requires strict adherence to format and content

Implements DtFedReader.

Member Data Documentation

bool DtFedReader13::myReplacedInteractionRoot
protected

Indicates when federation's FOM is 1516(e) and root name has been replaced to match.

bool DtFedReader13::myReplacedObjectRoot
protected

Indicates when federation's FOM is 1516(e) and root name has been replaced to match.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)