Definition at line 199 of file asn1tagdes.h.
typedef std::list<Asn1TagDes> OSB_LIB::Asn1InputInfo::Asn1DesList |
typedef std::list<Asn1Tag>::const_iterator OSB_LIB::Asn1InputInfo::TagIter |
OSB_LIB::Asn1InputInfo::Asn1InputInfo | ( | ) |
void OSB_LIB::Asn1InputInfo::add | ( | const Asn1TagDes & | asn1Des | ) |
Add the description of an ASN.1 type.
const Asn1DesList& OSB_LIB::Asn1InputInfo::asn1Des | ( | ) | const |
Get list of ASN.1 descritions.
void OSB_LIB::Asn1InputInfo::clearDes | ( | ) |
Clear list of ASN.1 descriptions.
static const Asn1TagDes* OSB_LIB::Asn1InputInfo::find | ( | const Asn1DesList & | src, | |
TagIter | begin, | |||
TagIter | end | |||
) | [static, private] |
Get the description for an ASN.1 type.
src | List of ASN.1 description to search. | |
begin | Iterator to begin of tag list, it points to the top-level tag. | |
end | Iterator to end of tag list. |
static const Asn1TagDes* OSB_LIB::Asn1InputInfo::find | ( | const Asn1DesList & | src, | |
const Asn1Tag & | tag | |||
) | [static, private] |
Find the description for an ASN.1 tag.
src | List of ASN.1 description to search. | |
tag | ASN.1 tag to find. |
static Asn1TagDes* OSB_LIB::Asn1InputInfo::find | ( | Asn1DesList & | src, | |
const Asn1Tag & | tag | |||
) | [static, private] |
Find the description for an ASN.1 tag.
src | List of ASN.1 description to search. | |
tag | ASN.1 tag to find. |
const Asn1TagDes* OSB_LIB::Asn1InputInfo::find | ( | TagIter | begin, | |
TagIter | end | |||
) | const |
Get the description for an ASN.1 type.
begin | Iterator to begin of tag list, it points to the top-level tag. | |
end | Iterator to end of tag list. |
void OSB_LIB::Asn1InputInfo::print | ( | std::ostream & | os, | |
int | flatten = -1 | |||
) | const |
Print the ASN.1 descriptions to a stream.
os | Stream to write to. | |
flatten | Level to which the indent of non-context specific types is reduced. |
bool OSB_LIB::Asn1InputInfo::read | ( | const std::string & | path, | |
OsbErrors & | errors | |||
) |
Read ASN.1 information from confiugration file.
path | Path to configuration file. | |
errors | Gets errors and warnings. |
bool OSB_LIB::Asn1InputInfo::setDecoders | ( | OsbErrors & | errors | ) |
Set the decoder function.
Sets the decoders for all tag descriptions, i.e., calls Asn1TagDes::setDecoders() and evaluates the result.
errors | Gets errors for unknown decoders. |
void OSB_LIB::Asn1InputInfo::write | ( | const std::string & | path, | |
int | flatten = -1 | |||
) | const |
Write ASN.1 information to confiugration file.
path | Path to configuration file, an existing file is replaced. | |
flatten | Level to which the indent of non-context specific types is reduced. |
OsbException | in case of any error. |
Asn1DesList OSB_LIB::Asn1InputInfo::asn1Des_ [private] |
Block size of the input file.
It is 0 for contiguous files.
Definition at line 350 of file asn1tagdes.h.