OSB_LIB::Id2ToAsn1 Class Reference

Inheritance diagram for OSB_LIB::Id2ToAsn1:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::Id2ToAsn1:

Collaboration graph
[legend]
List of all members.

Detailed Description

Convert an Id2<T> to ASN.1.

Definition at line 141 of file cdrasn1.h.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

template<typename T>
OSB_LIB::Id2ToAsn1::Id2ToAsn1 ( CdrAsn1Tag  tag,
const Id2< T > &  src,
CdrAsn1Tag  id1Tag,
CdrAsn1Tag  id2Tag 
) [inline]

The only constructor.

Parameters:
tag Tag value of the constructed ASN.1 type.
src Id2<T> to encode.
id1Tag Tag value for src.id1_.
id2Tag Tag value for src.id2_.

Definition at line 152 of file cdrasn1.h.


Member Function Documentation

void OSB_LIB::Id2ToAsn1::operator() ( Asn1Buffer dest  )  const [virtual]

Encode constructed ASN.1 data.

Parameters:
dest Buffer to store encoded subtypes.

Implements OSB_LIB::Asn1Encoder.

size_t OSB_LIB::Id2ToAsn1::tagValue (  )  const [inline, virtual]

Value of tag for encoded data.

Implements OSB_LIB::Asn1Encoder.

Definition at line 167 of file cdrasn1.h.

References tag_.


Member Data Documentation

Long2Asn1 OSB_LIB::Id2ToAsn1::id1Encoder_ [private]

Encoder for id1_.

Definition at line 171 of file cdrasn1.h.

Long2Asn1 OSB_LIB::Id2ToAsn1::id2Encoder_ [private]

Encoder for id2_.

Definition at line 172 of file cdrasn1.h.

size_t OSB_LIB::Id2ToAsn1::tag_ [private]

Constructed tag.

Definition at line 170 of file cdrasn1.h.

Referenced by tagValue().


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