![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cHashTypeDef.h>
Public Member Functions | |
cHashTypeDef (SSL_Hash_TYPE eHashType, const char *pszName, size_t nHashSize) noexcept | |
virtual | ~cHashTypeDef () |
SSL_Hash_TYPE | get_HashType () const noexcept |
SSL_Hash_TYPE | get_HashCode () const noexcept |
size_t | get_HashSize () const noexcept |
virtual cHashBase * | AllocHash (void) const =0 |
virtual CObject * | CreateObject (void) const override |
Create CObject of some derived cTypeInfo. More... | |
virtual size_t | ComputeHash (BYTE *pOutput, const BYTE *pInput, size_t nInputSize) const =0 |
UNITTEST_FRIEND (cHashTypeDef) | |
![]() | |
cObjectFactory (const char *pszName, const TYPEINFO_t &rTypeInfo) noexcept | |
the typeid() of some object we would create. More... | |
Public Attributes | |
const SSL_Hash_TYPE | m_eHashType |
Digest identifier from SSL_Hash_TYPE. More... | |
const size_t | m_nHashSize |
size_t // Output length of the digest function. (bytes) More... | |
![]() | |
const char *const | m_pszName |
const cTypeInfo & | m_TypeInfo |
The main name we can create by. Might have multiple alternate aliases for interfaces. e.g. "IObjectName". More... | |
Additional Inherited Members | |
![]() | |
static CObject *__stdcall | CreateObject (const char *pszName) |
static CObject *__stdcall | CreateObject (const TYPEINFO_t &type) |
Metadata about cHashBase and SSL_Hash_TYPE Hash/Message digest information. Allows message digest functions to be called in a generic way.
|
inlinenoexcept |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
|
overridevirtual |
Create CObject of some derived cTypeInfo.
Implements Gray::cObjectFactory.
|
inlinenoexcept |
For sorting.
|
inlinenoexcept |
|
inlinenoexcept |
GrayLib::cHashTypeDef::UNITTEST_FRIEND | ( | cHashTypeDef | ) |
const SSL_Hash_TYPE GrayLib::cHashTypeDef::m_eHashType |
Digest identifier from SSL_Hash_TYPE.
const size_t GrayLib::cHashTypeDef::m_nHashSize |
size_t // Output length of the digest function. (bytes)