|
| | DtXmlFedReader () |
| | Constructor. More...
|
| |
| virtual | ~DtXmlFedReader () |
| | Destructor. More...
|
| |
| virtual DtFedReadStatus | readFedFilePtr (FILE *filePointer, DtFedTarget *fedTarget, DtFilename fileName, unsigned int strictCheckingMask=DtFedReadStrictDisabled, bool useDTD=false, bool dontParseSwitches=false) |
| | Read the FED file fedFileName, setting values to fedTarget. More...
|
| |
| | 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 () |
| |
|
| virtual bool | dtdValidate (xmlDoc *pDoc, const char *dtdFile) |
| | Validate the file against the given DTD. More...
|
| |
| virtual DtFedReadStatus | openFile (const char *fedFileName, xmlDoc **newXmlDocTree) |
| | open FED file and create a new XML Document Tree object More...
|
| |
| virtual xmlNode * | getNodeByName (xmlNode *currentNode, const xmlChar *nodeName) |
| | get the specified node More...
|
| |
| virtual DtFedReadStatus | processFed (xmlNode *fedObj) |
| | process the FED directive More...
|
| |
| virtual DtFedReadStatus | parseTransportationsList (xmlNode *currentNode) |
| | process the transportations directive More...
|
| |
| virtual DtFedReadStatus | processObjects (xmlNode *currentNode) |
| | process the Objects directive More...
|
| |
| virtual DtFedReadStatus | processInteractions (xmlNode *currentNode) |
| | process the Interactions directive More...
|
| |
| virtual DtFedReadStatus | parseObjectTree (xmlNode *currentNode, const DtString &parentName) |
| | process the list object of classes More...
|
| |
| virtual DtFedReadStatus | parseAttribute (xmlNode *currentNode, const DtString &parentName) |
| | process an attribute of an object class More...
|
| |
| virtual DtFedReadStatus | parseAttributeDimensions (xmlNode *currentNode, DtString const &objectClass, DtString const &attribute) |
| | process attribute dimension associations More...
|
| |
| virtual DtFedReadStatus | parseInteractionTree (xmlNode *currentNode, const DtString &parentName) |
| | process the list of interaction classes More...
|
| |
| virtual DtFedReadStatus | parseInteractionDimensions (xmlNode *currentNode, DtString const &interactionClass) |
| | process attribute dimension associations More...
|
| |
| virtual DtFedReadStatus | parseDimensionList (xmlNode *currentNode) |
| | process the list of dimensions More...
|
| |
| virtual DtFedReadStatus | parseDimension (xmlNode *currentNode) |
| | process a dimension More...
|
| |
| virtual DtFedReadStatus | parseSwitches (xmlNode *currentNode) |
| | process switches More...
|
| |
| virtual DtFedReadStatus | parseParameter (xmlNode *currentNode, const DtString &parentName) |
| | process a parameter of an interaction class More...
|
| |
| virtual DtFedReadStatus | parseTransportationTree (xmlNode *currentNode) |
| | process the list of transportation classes More...
|
| |
| virtual DtFedReadStatus | parseDataTypeTree (xmlNode *currentNode) |
| | process the list of datatype classes More...
|
| |
| virtual DtFedReadStatus | parseNotesTree (xmlNode *currentNode) |
| | process the list of notes classes More...
|
| |
| virtual DtFedReadStatus | parseTagsTree (xmlNode *currentNode) |
| | process the list of user defined tags. More...
|
| |
| virtual DtFedReadStatus | parseBasicDataTypesTree (xmlNode *currentNode) |
| | process the list of basic data representations More...
|
| |
| virtual DtFedReadStatus | parseSimpleDataTypesTree (xmlNode *currentNode) |
| | process the list of simple data types More...
|
| |
| virtual DtFedReadStatus | parseArrayDataTypesTree (xmlNode *currentNode) |
| | process the list of array data types More...
|
| |
| virtual DtFedReadStatus | parseEnumeratedDataTypesTree (xmlNode *currentNode) |
| | process the list of enumerated data types More...
|
| |
| virtual DtFedReadStatus | parseFixedRecordDataTypesTree (xmlNode *currentNode) |
| | process the list of fixed record data types More...
|
| |
| virtual DtFedReadStatus | parseVariantRecordDataTypesTree (xmlNode *currentNode) |
| | process the list of variant record data types More...
|
| |
| virtual void | appendNodeProperties (xmlNode *currentNode, DtString &output) const |
| | Appends the list of properties attached to an XML node to the given string. More...
|
| |
| virtual void | appendNodeContent (xmlNode *node, DtString &output) const |
| | Appends the name and content of the given node to the given string. More...
|
| |
| virtual bool | isBlankText (xmlNode *node) const |
| | Return true if the node is blank text (space, tab, newline) More...
|
| |
| virtual const xmlChar * | propertyByName (xmlNode *node, const xmlChar *name) |
| | Return the data for the specified property of the given node. More...
|
| |
| virtual bool | getPropertyByName (xmlNode *node, const xmlChar *name, DtString &propertyContent) |
| | Fill in a string with the data for the specified property of the given node (empty string if property not found) Return true if property is found. More...
|
| |
| virtual DtFedReadStatus | getTransportType (xmlNode *currentNode, DtTransportType &transportType) |
| | get the data for the Transportation attribute of the current node More...
|
| |
| virtual DtFedReadStatus | getOrderType (xmlNode *currentNode, DtOrderType &orderType) |
| | get the data for the Order attribute of the current node More...
|
| |
| bool | convertStringToULong (std::string numericString, unsigned long &value) |
| |
| template<typename operandType > |
| void | clipPrefix (std::string &valueSpec, operandType c) |
| |
| void | appendErrorLine (xmlNode *node, DtString &output) const |
| |
Instances of DtXmlFedReader are used to read a FED file, and fill in a DtFedTarget with the information read.
The FED file must be in the RTI 1516 XML file format