ASN 타입 클래스의 root 클래스
더 자세히 ...
Public 멤버 함수 |
| virtual | ~CAsnType () |
| virtual int | ParsePacket (const char *pszPacket, int iPacketLen)=0 |
| virtual int | MakePacket (char *pszPacket, int iPacketSize)=0 |
| virtual CAsnType * | Copy ()=0 |
| virtual bool | GetInt (uint32_t &iValue) |
| | ASN 변수에 정수가 저장되어 있으면 정수값을 가져온다.
|
| virtual bool | GetLong (uint64_t &iValue) |
| | ASN 변수에 정수가 저장되어 있으면 정수값을 가져온다.
|
| virtual bool | GetString (std::string &strValue) |
| | ASN 변수에 문자열이 저장되어 있으면 문자열을 가져온다.
|
| int | ParseHeader (const char *pszPacket, int iPacketLen) |
| | 패킷을 파싱하여서 ASN.1 타입 및 body 길이를 저장한다.
|
| int | SetHeaderLength (char *pszPacket, int iPacketSize, int iLength) |
| | 패킷에 body 길이를 저장한다.
|
정적 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 길이를 저장한다.
|
상세한 설명
생성자 & 소멸자 문서화
| virtual CAsnType::~CAsnType |
( |
| ) |
|
|
inlinevirtual |
멤버 함수 문서화
| virtual int CAsnType::MakePacket |
( |
char * |
pszPacket, |
|
|
int |
iPacketSize |
|
) |
| |
|
pure virtual |
| virtual int CAsnType::ParsePacket |
( |
const char * |
pszPacket, |
|
|
int |
iPacketLen |
|
) |
| |
|
pure virtual |
멤버 데이타 문서화
| uint8_t CAsnType::m_cType |
| uint32_t CAsnType::m_iLen |