|
|
 |
 |
|
#include <ASN1XERInputStream.h>
Inheritance diagram for ASN1XERInputStream:
List of all members.
Detailed Description
This class is a base class for other ASN.1 XER input stream's classes. It is derived from the ASN1Stream base class. It contains variables and methods specific to streaming decoding of XER messages. It is used to manage the input stream containing the ASN.1 message to be decoded.
Constructor & Destructor Documentation
| ASN1XERInputStream::ASN1XERInputStream |
( |
OSCInputStream & |
inputStream |
) |
[inline] |
|
|
|
A constructor. Initializes input stream by using OSCInputStream instance. Use getStatus() method to determine has error occured during the initialization or not.
- Parameters:
-
| inputStream | Input stream object. |
|
| ASN1XERInputStream::ASN1XERInputStream |
( |
const ASN1OCTET * |
msgbuf, |
|
|
size_t |
numocts |
|
) |
[inline] |
|
|
|
A constructor. Initializes input stream by using memory buffer. Use getStatus() method to determine has error occured during the initialization or not.
- Parameters:
-
| msgbuf | A pointer to a buffer containing an encoded ASN.1 message. |
| numocts | Size of the message buffer. |
|
Member Function Documentation
| int ASN1XERInputStream::decodeObj |
( |
ASN1CType & |
val |
) |
|
|
|
|
This method decodes an ASN.1 constructed object from the stream.
- Parameters:
-
| val | A reference to an object to be decoded. |
- Returns:
- Completion status of operation:
- 0 (ASN_OK) = success,
- negative return value is error.
|
|
|
Decodes an ASN.1 constructed object from the stream. Use getStatus() method to determine has error occured during the operation or not.
- Parameters:
-
| val | A reference to an object to be decoded. |
- Returns:
- reference to this class to perform sequential decoding.
|
The documentation for this class was generated from the following file:
|
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.
|
This file was last modified on
8 Sep 2005. ASN1C XER Runtime, ASN1C v5.8x |
|