Yate
Public Types | Public Member Functions | Public Attributes | Static Public Attributes
VarBind Class Reference
Inheritance diagram for VarBind:
AsnObject GenObject

List of all members.

Public Types

enum  AsnChoiceTypeType {
  VALUE, UNSPECIFIED, NOSUCHOBJECT, NOSUCHINSTANCE,
  ENDOFMIBVIEW
}

Public Member Functions

 VarBind (void *data, int len)
int decode (DataBlock &data)
int encode (DataBlock &data)
void getParams (NamedList *params)
void setParams (NamedList *params)

Public Attributes

ObjectNamem_name
int m_choiceType
ObjectSyntaxm_value
int m_unSpecified
int m_noSuchObject
int m_noSuchInstance
int m_endOfMibView

Static Public Attributes

static const int s_type = ASNLib::SEQUENCE
static const int tag_noSuchObject = 0x80
static const int tag_noSuchInstance = 0x81
static const int tag_endOfMibView = 0x82

Member Function Documentation

int decode ( DataBlock data) [virtual]

Function to decode the parameters of this object from given data

Parameters:
dataDataBlock from which the object is decoded

Implements AsnObject.

int encode ( DataBlock data) [virtual]

Function to encode this object into a datablock

Parameters:
dataThe DataBlock in which the object should be encoded

Implements AsnObject.

void getParams ( NamedList params) [virtual]

Function for obtaining this object's data

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

Implements AsnObject.

void setParams ( NamedList params) [virtual]

Function for setting this object's data

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

Implements AsnObject.


The documentation for this class was generated from the following file: