OSB_LIB::NwAddress2Asn1 Class Reference

Inheritance diagram for OSB_LIB::NwAddress2Asn1:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Convert NwAddress into ASN.1.

This encoder generates ASN.1 data only if NwAddress.original is not empty.

Definition at line 256 of file cdrasn1.h.

Public Member Functions

Private Attributes

Static Private Attributes


Constructor & Destructor Documentation

OSB_LIB::NwAddress2Asn1::NwAddress2Asn1 ( const NwAddress src  )  [inline, explicit]

Constructor with network address to encode.

Parameters:
src Network address to encode.
This constructor uses defTagId as ASN.1 tag.

Definition at line 267 of file cdrasn1.h.

OSB_LIB::NwAddress2Asn1::NwAddress2Asn1 ( CdrAsn1Tag  tag,
const NwAddress src 
) [inline]

Constructor with tag and network address to encode.

Parameters:
tag Value of the ASN.1 tag to use.
src Network address to encode.

Definition at line 277 of file cdrasn1.h.


Member Function Documentation

void OSB_LIB::NwAddress2Asn1::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::NwAddress2Asn1::tagValue (  )  const [inline, virtual]

Value of tag for encoded data.

Implements OSB_LIB::Asn1Encoder.

Definition at line 287 of file cdrasn1.h.

References tag_.


Member Data Documentation

const CdrAsn1Tag OSB_LIB::NwAddress2Asn1::defTagId = tagNwAddress [static, private]

The default ASN.1 tag value.

Definition at line 258 of file cdrasn1.h.

const NwAddress& OSB_LIB::NwAddress2Asn1::src_ [private]

Network address to convert.

Definition at line 292 of file cdrasn1.h.

const size_t OSB_LIB::NwAddress2Asn1::tag_ [private]

ASN.1 tag to use for encoding.

Definition at line 290 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:06 2006 for OSB Library by  doxygen 1.4.7