class AsnObject

Base Class for ASN.1 objects. More...

Contains pure virtuals
Full nameTelEngine::AsnObject
Definition#include <libs/yasn/yateasn.h>
InheritsTelEngine::GenObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Abstract class implemented by all ASN.1 type objects

inline  AsnObject ()

AsnObject

Constructor

 AsnObject (void* data, int len)

AsnObject

Constructor

Parameters:
dataData from which the object is built
lenLength of the given data

inline  ~AsnObject ()

~AsnObject

[virtual]

Destructor

int  decode (DataBlock& data)

decode

[pure virtual]

Function to decode the parameters of this object from given data

Parameters:
dataDataBlock from which the object is decoded

int  encode (DataBlock& data)

encode

[pure virtual]

Function to encode this object into a datablock

Parameters:
dataThe DataBlock in which the object should be encoded

void  getParams (NamedList* params)

getParams

[pure virtual]

Function for obtaining this object's data

Parameters:
paramsNamedList in which this object's data should be put

void  setParams (NamedList* params)

setParams

[pure virtual]

Function for setting this object's data

Parameters:
paramsNamedList containing the values to which this object's data should be set


Generated by: paulc on bussard on Sun Oct 20 21:06:06 2013, using kdoc 2.0a54.