OSB_LIB::RawCdr Class Reference

Collaboration diagram for OSB_LIB::RawCdr:

Collaboration graph
[legend]
List of all members.

Detailed Description

Information about errors in raw CDR records.

The class is a container that allows to store raw CDR record together with error information.

Definition at line 62 of file rawcdr.h.

Public Types

Public Member Functions

Public Attributes

Private Attributes

Friends


Member Typedef Documentation

typedef std::deque<unsigned char> OSB_LIB::RawCdr::Data

STL container used to store the raw CDR data.

It must match the type Asn1Data defined in asn1.h, however we want to avoid the inclusion of this header here.

Definition at line 74 of file rawcdr.h.

typedef Id<RecordStreamInfo> OSB_LIB::RawCdr::RecordStreamId

Shorthand for an object id of a record stream.

Definition at line 67 of file rawcdr.h.


Constructor & Destructor Documentation

OSB_LIB::RawCdr::RawCdr ( const RecordStreamId origin,
size_t  tagValue 
) [explicit]

Constructor with origin and value of ASN.1 tag.


Member Function Documentation

const RecordStreamId& OSB_LIB::RawCdr::originStreamId (  )  const

Get the id of original stream.

See originStreamId_ for more details.

size_t OSB_LIB::RawCdr::tagValue (  )  const

Get value of ASN.1 tag.

The following tags are currently used:


Friends And Related Function Documentation

friend class Asn1ToRawCdr [friend]

Allow the ASN.1 decoder to set the data members directly.

Definition at line 64 of file rawcdr.h.


Member Data Documentation

OsbErrors OSB_LIB::RawCdr::errors_

List of errors in record_.

Definition at line 101 of file rawcdr.h.

RecordStreamId OSB_LIB::RawCdr::originStreamId_ [private]

The id of the original record stream.

It is not neccessary to provide a Cdr::OrigCountList because an error raw CDR never contains more than 1 CDR of an original records stream: the nominator and denominator will always be 1.

Definition at line 114 of file rawcdr.h.

Data OSB_LIB::RawCdr::record_

Data of the erroneous raw CDR.

Definition at line 103 of file rawcdr.h.

size_t OSB_LIB::RawCdr::tagValue_ [private]

The value of the ASN.1 tag.

The type class of the tag should be private.
If the raw record is in ASN.1 format the type should be constructed, else primitive.

Definition at line 123 of file rawcdr.h.


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