Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cOIDDefT2< T1, T2 > Struct Template Reference

#include <cOID.h>

Inheritance diagram for GrayLib::cOIDDefT2< T1, T2 >:
GrayLib::cOIDDefT1< T1 > GrayLib::cOIDDefBase

Public Types

typedef cOIDDefT1< T1 > SUPER_t
 
typedef cOIDDefT2< T1, T2 > THIS_t
 
- Public Types inherited from GrayLib::cOIDDefT1< T1 >
typedef cOIDDefBase SUPER_t
 
typedef cOIDDefT1< T1 > THIS_t
 

Public Member Functions

 cOIDDefT2 (cOIDDefBase b, T1 k1, T2 k2)
 
const THIS_tFindAsn1 (const BYTE *pOid, size_t nSizeOid) const
 
bool GetKey2 (const cMemBlock &oid, T1 *pKey1, T2 *pKey2) const
 
const THIS_tFindKey2 (T1 key1, T2 key2) const
 
- Public Member Functions inherited from GrayLib::cOIDDefT1< T1 >
 cOIDDefT1 (cOIDDefBase b, T1 k1)
 
const THIS_tFindAsn1 (const BYTE *pOid, size_t nSizeOid) const
 
bool GetKey1 (const cMemBlock &oid, T1 *pKey1) const
 
const THIS_tFindKey1 (T1 key1) const
 
- Public Member Functions inherited from GrayLib::cOIDDefBase
bool isLast () const
 
const cOIDDefBaseFindAsn1 (const BYTE *pOid, size_t nSizeOid, size_t nSizeElement=sizeof(cOIDDefBase)) const
 
const char * GetDesc (const cMemBlock &oid, size_t nSizeElement) const
 

Public Attributes

T2 m_key2
 
- Public Attributes inherited from GrayLib::cOIDDefT1< T1 >
T1 m_key1
 
- Public Attributes inherited from GrayLib::cOIDDefBase
const char * m_oid
 ASN.1 OID representation (as string sort of) More...
 
size_t m_oid_len
 length of m_oid above More...
 
const char * m_name
 official name (e.g. from RFC) More...
 
const char * m_description
 human friendly description. default for m_key1 More...
 

Detailed Description

template<class T1, class T2>
struct GrayLib::cOIDDefT2< T1, T2 >

Map an OID to 2 things of types T1 and T2.

Member Typedef Documentation

◆ SUPER_t

template<class T1 , class T2 >
typedef cOIDDefT1<T1> GrayLib::cOIDDefT2< T1, T2 >::SUPER_t

◆ THIS_t

template<class T1 , class T2 >
typedef cOIDDefT2<T1, T2> GrayLib::cOIDDefT2< T1, T2 >::THIS_t

Constructor & Destructor Documentation

◆ cOIDDefT2()

template<class T1 , class T2 >
GrayLib::cOIDDefT2< T1, T2 >::cOIDDefT2 ( cOIDDefBase  b,
T1  k1,
T2  k2 
)
inline

Member Function Documentation

◆ FindAsn1()

template<class T1 , class T2 >
const THIS_t* GrayLib::cOIDDefT2< T1, T2 >::FindAsn1 ( const BYTE *  pOid,
size_t  nSizeOid 
) const
inline

◆ FindKey2()

template<class T1 , class T2 >
const THIS_t* GrayLib::cOIDDefT2< T1, T2 >::FindKey2 ( T1  key1,
T2  key2 
) const
inline

◆ GetKey2()

template<class T1 , class T2 >
bool GrayLib::cOIDDefT2< T1, T2 >::GetKey2 ( const cMemBlock oid,
T1 *  pKey1,
T2 *  pKey2 
) const
inline

Member Data Documentation

◆ m_key2

template<class T1 , class T2 >
T2 GrayLib::cOIDDefT2< T1, T2 >::m_key2

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