|
librcsb-core-wrapper 1.005
|
Public class that respresents a dictionary parser. More...
#include <DICParserBase.h>


Additional Inherited Members | |
| Public Attributes inherited from DICScanner | |
| int | NDBlineNo |
| int | isSave |
| Protected Member Functions inherited from DICScanner | |
| void | alt_yymore (void) |
| void | OpenLog (const std::string &logName, bool verboseLevel) |
| Protected Attributes inherited from DICScanner | |
| std::string * | _tBuf |
| int | _isText |
| int | _i |
| int | _j |
| int | _len |
| std::ofstream | log |
| bool | _verbose |
Public class that respresents a dictionary parser.
This class represents a dictionary parser. This class utilizes flex/bison for syntax/semantic processing and stores the parsed data (dictionary blocks and tables) in a DicFile object.
Constructs a dictionary parser.
| [in] | dicFileP | - pointer to the DicFile object that the dictionary parser is to use to store the parsed data |
| [in] | ddlFileP | - pointer to the CifFile object that holds the DDL for the dictionary |
| [in] | verbose | - optional parameter that indicates whether parsing logging should be turned on (if true) or off (if false). If verbose is not specified, logging is turned off. |
| EmptyValueException | - if dicFileP is NULL |
| EmptyValueException | - if ddlFileP is NULL |
|
virtual |
Destructs a dictionary parser by releasing all the used resources.
| Not applicable |
None
| void DICParser::Clear | ( | ) |
Method, not currently part of users public API, and will soon be re-examined.
| void DICParser::Error | ( | const char * | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::Parse | ( | const string & | fileName, |
| string & | diagnostics ) |
Parses a dictionary file.
| [in] | fileName | - relative or absolute name of the dictionary file that is to be parsed. |
| [out] | diagnostics | - parsing result. If empty, parsing completed with no warnings or errors. If non-empty, there were parsing warnings and/or parsing errors. |
None
| void DICParser::ProcessAssignments | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessDataBlockName | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessItemName | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessItemNameListLoop | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessItemNameListName | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessItemValue | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessLoop | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessLsItemValue | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessMissingValue | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessOneAssignment | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessSaveBegin | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessSaveEnd | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessUnknownValue | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::ProcessValueListItem | ( | void | ) |
Utility method, not part of users public API, and will soon be removed.
| void DICParser::Reset | ( | ) |
Method, not currently part of users public API, and will soon be re-examined.