C++ SNMP Stack  0.10
Public 멤버 함수 | Public 속성 | 모든 멤버 목록
CAsnOid 클래스 참조

ASN OID 타입 클래스 더 자세히 ...

CAsnOid에 대한 상속 다이어그램 :
CAsnType

Public 멤버 함수

 CAsnOid ()
 CAsnOid (const char *pszValue)
virtual ~CAsnOid ()
virtual int ParsePacket (const char *pszPacket, int iPacketLen)
 패킷을 파싱하여서 내부 변수에 패킷 데이터를 저장한다.
virtual int MakePacket (char *pszPacket, int iPacketSize)
 내부 변수를 패킷에 저장한다.
virtual CAsnTypeCopy ()
 복사한 객체를 리턴한다.
virtual bool GetString (std::string &strValue)
 OID 문자열을 가져온다.
- CAsnType(으)로부터 상속된 Public 멤버 함수
virtual ~CAsnType ()
virtual bool GetInt (uint32_t &iValue)
 ASN 변수에 정수가 저장되어 있으면 정수값을 가져온다.
virtual bool GetLong (uint64_t &iValue)
 ASN 변수에 정수가 저장되어 있으면 정수값을 가져온다.
int ParseHeader (const char *pszPacket, int iPacketLen)
 패킷을 파싱하여서 ASN.1 타입 및 body 길이를 저장한다.
int SetHeaderLength (char *pszPacket, int iPacketSize, int iLength)
 패킷에 body 길이를 저장한다.

Public 속성

std::string m_strValue
 OID.
- CAsnType(으)로부터 상속된 Public 속성
uint8_t m_cType
 타입
uint32_t m_iLen
 길이

추가로 상속된 멤버들

- CAsnType(으)로부터 상속된 정적 Public 멤버 함수
static int ParseInt (const char *pszPacket, int iPacketLen, uint8_t cLength, uint32_t &iValue)
 패킷에서 정수를 파싱한다.
static int SetInt (uint8_t *pszPacket, int iPacketLen, uint32_t iValue)
 ASN.1 header 의 body 길이를 저장한다.

상세한 설명

ASN OID 타입 클래스

생성자 & 소멸자 문서화

CAsnOid::CAsnOid ( )
CAsnOid::CAsnOid ( const char *  pszValue)
CAsnOid::~CAsnOid ( )
virtual

멤버 데이타 문서화

std::string CAsnOid::m_strValue

OID.