![]() |
VR-Link API Documentation for HLA 1.3
|
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. More... | |
| virtual | ~DtFedReader13 () |
| Destructor. More... | |
| 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. More... | |
Public Member Functions inherited from DtFedReader | |
| DtFedReader () | |
| Constructor. More... | |
| virtual | ~DtFedReader () |
| Destructor. More... | |
| 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. More... | |
| 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 More... | |
| virtual unsigned int | setStrictChecking (unsigned int checkMask) |
| Set status of strict checking. More... | |
| virtual bool | strictChecking (unsigned int checkMask) const |
| Returns bool: strictChecking enabled for types of checks provided. More... | |
| virtual void | setExpectedFomType (DtFomType fomType) |
| Set/Get expected FOM type. More... | |
| virtual DtFomType | expectedFomType () const |
| virtual DtFomType | lastFomType () const |
| Returns the FOM type of the last FOM read. More... | |
| virtual const DtString & | lastError () const |
| Get the last error. More... | |
| char * | takeCurrFddData () |
Protected Member Functions | |
| virtual DtFedReadStatus | processFed (DtlObjPtr fedObj) |
| process the FED directive More... | |
| virtual DtFedReadStatus | processFederation (DtlObjPtr fedObj) |
| process the federation directive More... | |
| virtual DtFedReadStatus | processVersion (DtlObjPtr fedObj) |
| process the FEDVersion directive More... | |
| virtual DtFedReadStatus | processSpaces (DtlObjPtr fedObj) |
| process the spaces directive More... | |
| virtual DtFedReadStatus | processSpace (DtlObjPtr fedObj) |
| process the space directive More... | |
| virtual DtFedReadStatus | processDimension (DtlObjPtr fedObj, const char *space) |
| process the dimension directive More... | |
| virtual DtFedReadStatus | processObjects (DtlObjPtr fedObj) |
| process the objects directive More... | |
| virtual DtFedReadStatus | processObjClass (DtlObjPtr fedObj, const char *parent) |
| process the object's class directive More... | |
| virtual DtFedReadStatus | processAttribute (DtlObjPtr fedObj, const char *obj) |
| process the object's attribute directive More... | |
| virtual DtFedReadStatus | processInteractions (DtlObjPtr fedObj) |
| process the interactions directive More... | |
| virtual DtFedReadStatus | processIntClass (DtlObjPtr fedObj, const char *parent) |
| process the interaction's class directive More... | |
| virtual DtFedReadStatus | processParameter (DtlObjPtr fedObj, const char *inter) |
| process the interaction's parameter directive More... | |
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. More... | |
| bool | myReplacedInteractionRoot |
| Indicates when federation's FOM is 1516(e) and root name has been replaced to match. More... | |
Protected Attributes inherited from DtFedReader | |
| DtFedTarget * | myFedTarget |
| DtFedReader * | myChildReader |
| unsigned int | myStrictChecking |
| bool | myDontParseSwitchTable |
| DtFomType | myExpectedFomType |
| When set, the FOM must conform to this type. More... | |
| DtFomType | myLastFomType |
| The type of FOM format that was last read. More... | |
| DtString | myLastError |
| Description of last encountered error. More... | |
Private Member Functions | |
| DtFedReader13 (const DtFedReader13 &) | |
| Copy constructor and Assignment operator - Unimplemented. More... | |
| DtFedReader13 & | operator= (const DtFedReader13 &) |
Additional Inherited Members | |
Static Public Member Functions inherited from DtFedReader | |
| static const DtString & | standardMimFileName (DtFomType fomType) |
| Return the standard MIM filename given the FOM type. More... | |
| static bool | isStandardMimFileName (DtString const &fileName, DtFomType fomType) |
| Return true if file is the standard MIM file of the given type. More... | |
| static FILE * | openFedFile (const char *fileName, bool isBinary=false) |
| Open file from name and return FILE*. More... | |
| static bool | readFileIntoBuffer (FILE *fileHandle, char **fileBuffer, unsigned int *fileSize) |
| Read the file from the FILE* into the buffer. More... | |
| static DtFomType | checkFomType (const char *fedFileName, void *fedFilePtr) |
| Get the FOM Type. More... | |
| static DtFomType | checkFomType (const char *fedFileName) |
| Get the FOM Type. More... | |
Public Attributes inherited from DtFedReader | |
| char * | myCurrFddBuffer |
| Buffer containing the most recently read FDD file. More... | |
| unsigned int | myCurrFddBufferSize |
| Size of the buffer for the most recently read FDD file. More... | |
Static Public Attributes inherited from DtFedReader | |
| static const DtString | theHlaEvolvedStandardMimFileName |
| static const DtString | theHla4StandardMimFileName |
| static const DtString | theInvalidStandardMimFileName |
Instances of DtFedReader13 are used to read a FED file, and fill in a DtFedTarget with the information read.
| DtFedReader13::DtFedReader13 | ( | ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy constructor and Assignment operator - Unimplemented.
|
private |
|
protectedvirtual |
process the object's attribute directive
|
protectedvirtual |
process the dimension directive
|
protectedvirtual |
process the FED directive
|
protectedvirtual |
process the federation directive
|
protectedvirtual |
process the interaction's class directive
|
protectedvirtual |
process the interactions directive
|
protectedvirtual |
process the object's class directive
|
protectedvirtual |
process the objects directive
|
protectedvirtual |
process the interaction's parameter directive
|
protectedvirtual |
process the space directive
|
protectedvirtual |
process the spaces directive
|
protectedvirtual |
process the FEDVersion directive
|
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.
|
protected |
Indicates when federation's FOM is 1516(e) and root name has been replaced to match.
|
protected |
Indicates when federation's FOM is 1516(e) and root name has been replaced to match.