#include <BENode.h>
Public Types | |
| enum | { beNull, beString, beInt, beList, beDict } |
Public Member Functions | |
| CBENode () | |
| ~CBENode () | |
| void | Clear () |
| CBENode * | Add (const LPBYTE pKey, size_t nKey) |
| CBENode * | GetNode (LPCSTR pszKey) const |
| CBENode * | GetNode (const LPBYTE pKey, int nKey) const |
| void | GetBth (Hashes::BtHash &oBTH) const |
| CString | GetStringFromSubNode (LPCSTR pszKey, UINT nEncoding, BOOL *pEncodingError) |
| CString | GetStringFromSubNode (int nItem, UINT nEncoding, BOOL *pEncodingError) |
| void | Encode (CBuffer *pBuffer) const |
| bool | IsType (int nType) const |
| QWORD | GetInt () const |
| void | SetInt (QWORD nValue) |
| CString | GetString () const |
| CString | DecodeString (UINT nCodePage) const |
| BOOL | IsValid (LPCTSTR psz) const |
| void | SetString (LPCSTR psz) |
| void | SetString (LPCWSTR psz) |
| void | SetString (LPCVOID pString, size_t nLength, BOOL bNull=FALSE) |
| CBENode * | Add (LPCSTR pszKey=NULL) |
| int | GetCount () const |
| CBENode * | GetNode (int nItem) const |
Static Public Member Functions | |
| static CBENode * | Decode (CBuffer *pBuffer) |
Public Attributes | |
| int | m_nType |
| LPVOID | m_pValue |
| QWORD | m_nValue |
Private Member Functions | |
| void | Decode (LPBYTE &pInput, DWORD &nInput) |
Static Private Member Functions | |
| static int | DecodeLen (LPBYTE &pInput, DWORD &nInput) |
| CBENode::CBENode | ( | ) |
| CBENode::~CBENode | ( | ) |
| void CBENode::Clear | ( | ) |
| CBENode * CBENode::GetNode | ( | LPCSTR | pszKey | ) | const |
| CBENode * CBENode::GetNode | ( | const LPBYTE | pKey, | |
| int | nKey | |||
| ) | const |
| void CBENode::GetBth | ( | Hashes::BtHash & | oBTH | ) | const |
| CString CBENode::GetStringFromSubNode | ( | LPCSTR | pszKey, | |
| UINT | nEncoding, | |||
| BOOL * | pEncodingError | |||
| ) |
| CString CBENode::GetStringFromSubNode | ( | int | nItem, | |
| UINT | nEncoding, | |||
| BOOL * | pEncodingError | |||
| ) |
| void CBENode::Encode | ( | CBuffer * | pBuffer | ) | const |
| void CBENode::Decode | ( | LPBYTE & | pInput, | |
| DWORD & | nInput | |||
| ) | [private] |
| int CBENode::DecodeLen | ( | LPBYTE & | pInput, | |
| DWORD & | nInput | |||
| ) | [static, private] |
| bool CBENode::IsType | ( | int | nType | ) | const [inline] |
| QWORD CBENode::GetInt | ( | ) | const [inline] |
| void CBENode::SetInt | ( | QWORD | nValue | ) | [inline] |
| CString CBENode::GetString | ( | ) | const [inline] |
| CString CBENode::DecodeString | ( | UINT | nCodePage | ) | const [inline] |
| BOOL CBENode::IsValid | ( | LPCTSTR | psz | ) | const [inline] |
| void CBENode::SetString | ( | LPCSTR | psz | ) | [inline] |
| void CBENode::SetString | ( | LPCWSTR | psz | ) | [inline] |
| void CBENode::SetString | ( | LPCVOID | pString, | |
| size_t | nLength, | |||
| BOOL | bNull = FALSE | |||
| ) | [inline] |
| int CBENode::GetCount | ( | ) | const [inline] |
| CBENode* CBENode::GetNode | ( | int | nItem | ) | const [inline] |
| int CBENode::m_nType |
| LPVOID CBENode::m_pValue |
1.5.2