The parsing strategy is based on token speparated by ,;{ or }:
the parser reads the next token and checks if its separator is acceptable.
Definition at line 365 of file asn1tagdes.h.
OSB_LIB::Asn1DesParser::Asn1DesParser | ( | std::istream & | is, | |
size_t | lineNo = 1 | |||
) | [explicit] |
Constructor with input file.
is | Input stream to parse, it must be open. | |
lineNo | Line number in input. |
OSB_LIB::Asn1DesParser::Asn1DesParser | ( | const Asn1DesParser & | rhs | ) | [private] |
Prevent copying: not implemented.
size_t OSB_LIB::Asn1DesParser::colNo | ( | ) | const |
Current column.
Error OSB_LIB::Asn1DesParser::error | ( | OsbBaseError::ErrorNo | errNo | ) | [private] |
Create an error.
bool OSB_LIB::Asn1DesParser::getChar | ( | char & | c | ) | [private] |
Get next character from input file.
void OSB_LIB::Asn1DesParser::getComposed | ( | Asn1TagDes & | parent | ) | [private] |
Get settings for a composed tag.
bool OSB_LIB::Asn1DesParser::getDes | ( | Asn1TagDes & | dest, | |
bool | readTag | |||
) | [private] |
Get the next tag description.
dest | ASN.1 description to populate. | |
readTag | Flag to read the tag |
Error | in case of an error. |
bool OSB_LIB::Asn1DesParser::getDes | ( | Asn1TagDes & | dest | ) |
Get the next tag description.
dest | ASN.1 description to populate. |
Error | in case of an error. |
void OSB_LIB::Asn1DesParser::getPrimitive | ( | Asn1TagDes & | dest | ) | [private] |
Get settings for a primitive tag.
size_t OSB_LIB::Asn1DesParser::lineNo | ( | ) | const |
Current line number.
bool OSB_LIB::Asn1DesParser::nextToken | ( | ) | [private] |
Get next token from input file.
Asn1DesParser OSB_LIB::Asn1DesParser::operator= | ( | const Asn1DesParser & | rhs | ) | [private] |
Prevent assignment: not implemented.
size_t OSB_LIB::Asn1DesParser::colNo_ [private] |
std::string OSB_LIB::Asn1DesParser::curToken_ [private] |
std::istream& OSB_LIB::Asn1DesParser::is_ [private] |
size_t OSB_LIB::Asn1DesParser::lineNo_ [private] |
char OSB_LIB::Asn1DesParser::separator_ [private] |