
Definition at line 150 of file asn1reader.h.
| OSB_LIB::Asn1Reader::Asn1Reader | ( | ) |
Default constructor.
| OSB_LIB::Asn1Reader::~Asn1Reader | ( | ) |
Destructor: deletes buffer_.
| OSB_LIB::Asn1Reader::Asn1Reader | ( | const Asn1Reader & | ) | [private] |
Prevent copying: not implemented.
| void OSB_LIB::Asn1Reader::asn1Data | ( | Asn1Data & | dest | ) | const |
Provide data as binary ASN.1.
| dest | Buffer to store the binary data. |
| bool OSB_LIB::Asn1Reader::getBlock | ( | FILE * | input | ) | [private] |
Get ASN.1 data from file with block structure.
| input | Input file to use. |
| bool OSB_LIB::Asn1Reader::getFlat | ( | FILE * | input | ) | [private] |
Get ASN.1 data from file.
| input | Input file to use. |
| Asn1Info& OSB_LIB::Asn1Reader::info | ( | ) |
Get information about ASN.1 type that was read.
Meaningful only after a successful call to nextAsn1().
| const Asn1Info& OSB_LIB::Asn1Reader::info | ( | ) | const |
Get information about ASN.1 type that was read.
Meaningful only after calling a successful nextAsn1().
| void OSB_LIB::Asn1Reader::init | ( | size_t | blkSize, | |
| Asn1Byte | blkFiller | |||
| ) |
Initialize to process a file with block structure.
| blkSize | Block size of input. | |
| blkFiller | Filler byte for unused data in a block. |
| void OSB_LIB::Asn1Reader::init | ( | ) |
Initialize to process a file with contiguous ASN.1 records.
| bool OSB_LIB::Asn1Reader::nextAsn1 | ( | FILE * | input | ) |
Get the next ASN.1 record from the input.
| input | Input file to use. |
| Asn1Reader& OSB_LIB::Asn1Reader::operator= | ( | const Asn1Reader & | ) | [private] |
Prevent assignment: not implemented.
| void OSB_LIB::Asn1Reader::reserve | ( | size_t | size, | |
| bool | exact | |||
| ) | [private] |
Asn1Byte OSB_LIB::Asn1Reader::blkFiller_ [private] |
size_t OSB_LIB::Asn1Reader::blkSize_ [private] |
Block size of the input file.
It is 0 for contiguous files.
Definition at line 259 of file asn1reader.h.
Asn1Byte* OSB_LIB::Asn1Reader::buffer_ [private] |
long OSB_LIB::Asn1Reader::bufFilePos_ [private] |
size_t OSB_LIB::Asn1Reader::bufSize_ [private] |
long OSB_LIB::Asn1Reader::bytesRead_ [private] |
size_t OSB_LIB::Asn1Reader::curPos_ [private] |
size_t OSB_LIB::Asn1Reader::dataSize_ [private] |
Asn1Info OSB_LIB::Asn1Reader::info_ [private] |
1.4.7