OSB_LIB::Asn1Int2Long Class Reference

Inheritance diagram for OSB_LIB::Asn1Int2Long:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Convert ASN.1 integer to long.

Definition at line 98 of file asn1decode.h.

Public Member Functions

Private Attributes


Member Function Documentation

int OSB_LIB::Asn1Int2Long::operator() ( const Asn1Byte data,
const size_t  size 
)

Decode ASN.1 integer to long.

Parameters:
data ASN.1 data to decode.
size Size of ASN.1 data.
Returns:
0 if decoding was successful, else 1.
The operator initializes the member value_ with the default constructor.

int OSB_LIB::Asn1Int2Long::operator() ( const Asn1Info src  )  [virtual]

Decode ASN.1 integer to long.

Parameters:
src ASN.1 data to decode.
Returns:
0 if decoding was successful, else 1.
The operator initializes the member value_ with the default constructor.

Implements OSB_LIB::Asn1DataDecoder.

long OSB_LIB::Asn1Int2Long::value (  )  const [inline]

Get the decoding result.

Returns:
The decoded long. It is not reliable if the decoding operation failed or wasn't called.

Definition at line 132 of file asn1decode.h.

References value_.

Referenced by OSB_LIB::Asn1ToId::value().


Member Data Documentation

long OSB_LIB::Asn1Int2Long::value_ [private]

Buffer to store the decoded result.

Remarks:
value_ is default initialized in the decoding operator.

Definition at line 139 of file asn1decode.h.

Referenced by value().


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