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

#include <cOID.h>

Inheritance diagram for GrayLib::cOIDDefT1< T >:
GrayLib::cOIDDefBase

Public Types

typedef cOIDDefBase SUPER_t
 
typedef cOIDDefT1< T > THIS_t
 

Public Member Functions

 cOIDDefT1 (cOIDDefBase b, T k1)
 
const THIS_tFindAsn1 (const BYTE *pOid, size_t nSizeOid) const
 
bool GetKey1 (const cMemBlock &oid, T *pKey1) const
 
const THIS_tFindKey1 (T 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

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 T>
struct GrayLib::cOIDDefT1< T >

Map an OID to 1 other thing of type T.

Member Typedef Documentation

◆ SUPER_t

template<class T >
typedef cOIDDefBase GrayLib::cOIDDefT1< T >::SUPER_t

◆ THIS_t

template<class T >
typedef cOIDDefT1<T> GrayLib::cOIDDefT1< T >::THIS_t

Constructor & Destructor Documentation

◆ cOIDDefT1()

template<class T >
GrayLib::cOIDDefT1< T >::cOIDDefT1 ( cOIDDefBase  b,
k1 
)
inline

Member Function Documentation

◆ FindAsn1()

template<class T >
const THIS_t* GrayLib::cOIDDefT1< T >::FindAsn1 ( const BYTE *  pOid,
size_t  nSizeOid 
) const
inline

◆ FindKey1()

template<class T >
const THIS_t* GrayLib::cOIDDefT1< T >::FindKey1 ( key1) const
inline

◆ GetKey1()

template<class T >
bool GrayLib::cOIDDefT1< T >::GetKey1 ( const cMemBlock oid,
T *  pKey1 
) const
inline

Member Data Documentation

◆ m_key1

template<class T >
T GrayLib::cOIDDefT1< T >::m_key1

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