Instances of DtMtlFedReader are used to read a FED file, and fill in a DtFedTarget with the information read.
More...
Public Member Functions |
| | DtMtlFedReader () |
| | Constructor.
|
| virtual | ~DtMtlFedReader () |
| | 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.
|
| | 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 DtString & | lastError () const |
| | Get the last error.
|
| char * | takeCurrFddData () |
Additional Inherited Members |
| 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.
|
| 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 DtMtlFedReader are used to read a FED file, and fill in a DtFedTarget with the information read.
Constructor & Destructor Documentation
| DtMtlFedReader::DtMtlFedReader |
( |
| ) |
|
| virtual DtMtlFedReader::~DtMtlFedReader |
( |
| ) |
|
|
virtual |
Copy constructor and Assignment operator - Unimplemented.
Member Function Documentation
process the object's attribute directive
process the dimension directive
process the FED directive
process the federation directive
process the interaction's class directive
process the interactions directive
process the object's class directive
process the objects directive
process the interaction's parameter directive
process the space directive
process the spaces directive
process the FEDVersion directive
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
The documentation for this class was generated from the following file: