Definition at line 121 of file asn1writer.h.
typedef std::list<Asn1Buffer*> OSB_LIB::Asn1Buffer::Members [private] |
OSB_LIB::Asn1Buffer::Asn1Buffer | ( | Asn1BufferCache & | cache | ) |
Constructor with cache that owns the buffer.
OSB_LIB::Asn1Buffer::~Asn1Buffer | ( | ) | [private] |
Destructor: force creation on the heap.
OSB_LIB::Asn1Buffer::Asn1Buffer | ( | const Asn1Buffer & | ) | [private] |
Prevent copying until needed: not implemented.
void OSB_LIB::Asn1Buffer::add | ( | const Asn1DataEncoder & | encoder, | |
bool | force = false | |||
) |
Add a primitive ASN.1 type.
encoder | Encode to use to get the data. | |
force | Flag to add the ASN.1 type even if it has no data. |
void OSB_LIB::Asn1Buffer::add | ( | const Asn1Encoder & | encoder, | |
bool | force = false | |||
) |
Add a constructed ASN.1 type.
encoder | Encode to use to get the data. | |
force | Flag to add the ASN.1 type even if it has no data. |
void OSB_LIB::Asn1Buffer::clearData | ( | ) |
void OSB_LIB::Asn1Buffer::destroy | ( | ) |
Destroy the buffer.
bool OSB_LIB::Asn1Buffer::getData | ( | const Asn1DataEncoder & | encoder, | |
bool | force | |||
) | [private] |
Get the data of a primitive ASN.1 type.
encoder | Encode to use to get the data. | |
force | Flag to add the ASN.1 type even if it has no data. |
bool OSB_LIB::Asn1Buffer::getData | ( | const Asn1Encoder & | encoder, | |
bool | force | |||
) | [private] |
Get the data of a constructed ASN.1 type.
encoder | Encode to use to get the data. | |
force | Flag to add the ASN.1 type even if it has no data. |
size_t OSB_LIB::Asn1Buffer::memberSize | ( | ) | const [private] |
Number of bytes of the members_.
Asn1Buffer& OSB_LIB::Asn1Buffer::operator= | ( | const Asn1Buffer & | ) | [private] |
Prevent assignment until needed: not implemented.
bool OSB_LIB::Asn1Buffer::write | ( | FILE * | out | ) | const |
Write binary ASN.1 data to an output file.
friend class Asn1BufferCache [friend] |
friend class Asn1Writer [friend] |
Asn1BufferCache& OSB_LIB::Asn1Buffer::cache_ [private] |
Asn1Data OSB_LIB::Asn1Buffer::data_ [private] |
Asn1Len OSB_LIB::Asn1Buffer::dataLen_ [private] |
Members OSB_LIB::Asn1Buffer::members_ [private] |
Asn1Tag OSB_LIB::Asn1Buffer::tag_ [private] |
Asn1Data OSB_LIB::Asn1Buffer::tagBuf_ [private] |
size_t OSB_LIB::Asn1Buffer::totSize_ [private] |
Size of binary data, incl. tag and data length.
At the same time this used as indicator if the buffer must be cleared (actually read: contains data).
Definition at line 232 of file asn1writer.h.