OSB_LIB::Asn1Writer Class Reference

Collaboration diagram for OSB_LIB::Asn1Writer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Encode an ASN.1 type and write to file.

Definition at line 252 of file asn1writer.h.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_LIB::Asn1Writer::Asn1Writer (  ) 

Default constructor: initializes result_.

OSB_LIB::Asn1Writer::Asn1Writer ( const Asn1Writer  )  [private]

Prevent copying until needed: not implemented.


Member Function Documentation

void OSB_LIB::Asn1Writer::clear (  ) 

Clear result_, but not cache_.

void OSB_LIB::Asn1Writer::encode ( const Asn1DataEncoder encoder  ) 

Encode a primitive ASN.1 type.

Parameters:
encoder The encoder of the ASN.1 type.
Note:
A call to this member is usually not meaningful.

void OSB_LIB::Asn1Writer::encode ( const Asn1Encoder encoder  ) 

Encode a constructed ASN.1 type.

Parameters:
encoder The encoder of the ASN.1 type.

Asn1Writer& OSB_LIB::Asn1Writer::operator= ( const Asn1Writer  )  [private]

Prevent assignment until needed: not implemented.

bool OSB_LIB::Asn1Writer::write ( FILE *  out  )  const

Write binary ASN.1 data to an output file.

Returns:
true if successful, else false.


Member Data Documentation

Asn1BufferCache OSB_LIB::Asn1Writer::cache_ [private]

Cache for ASN.1 buffers.

Definition at line 292 of file asn1writer.h.

Asn1Buffer OSB_LIB::Asn1Writer::result_ [private]

ASN.1 encoded data.

Definition at line 294 of file asn1writer.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:09:19 2006 for OSB Library by  doxygen 1.4.7