Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cMemStatic< TYPE_SIZE > Class Template Reference

#include <cMem.h>

Inheritance diagram for Gray::cMemStatic< TYPE_SIZE >:
GrayLib::cHashCodeT< 64 > GrayLib::cHashCodeT< 20 > GrayLib::cHashCodeT< 32 > GrayLib::cHashCodeT< 48 > GrayLib::cHashCodeT< 16 > GrayLib::cHashCodeT< 28 > GrayLib::cHashCodeT< TYPE_SIZE > GrayLib::cHashSHA512 GrayLib::cHashSHA1 GrayLib::cHashSHA256 GrayLib::cHashSHA384 GrayLib::cHashMD5 GrayLib::cHashSHA224

Public Member Functions

size_t get_DataLength () const noexcept
 
const BYTE * get_DataBytes () const noexcept
 
 operator const BYTE * () const noexcept
 

Public Attributes

BYTE m_Data [TYPE_SIZE]
 All objects of this type are this size. More...
 

Static Public Attributes

static const size_t k_Size = TYPE_SIZE
 All hashes of this type are this size (bytes). More...
 
static const size_t k_SizeHexDigest = ((TYPE_SIZE * 2) + 1)
 hold a string with the hex digest of this. (chars). More...
 

Detailed Description

template<size_t TYPE_SIZE>
class Gray::cMemStatic< TYPE_SIZE >

Store an inline/static allocated blob of a specific known size/type. TYPE_SIZE in bytes.

Member Function Documentation

◆ get_DataBytes()

template<size_t TYPE_SIZE>
const BYTE* Gray::cMemStatic< TYPE_SIZE >::get_DataBytes ( ) const
inlinenoexcept

◆ get_DataLength()

template<size_t TYPE_SIZE>
size_t Gray::cMemStatic< TYPE_SIZE >::get_DataLength ( ) const
inlinenoexcept

size in bytes.

◆ operator const BYTE *()

template<size_t TYPE_SIZE>
Gray::cMemStatic< TYPE_SIZE >::operator const BYTE * ( ) const
inlinenoexcept

Member Data Documentation

◆ k_Size

template<size_t TYPE_SIZE>
const size_t Gray::cMemStatic< TYPE_SIZE >::k_Size = TYPE_SIZE
static

All hashes of this type are this size (bytes).

◆ k_SizeHexDigest

template<size_t TYPE_SIZE>
const size_t Gray::cMemStatic< TYPE_SIZE >::k_SizeHexDigest = ((TYPE_SIZE * 2) + 1)
static

hold a string with the hex digest of this. (chars).

◆ m_Data

template<size_t TYPE_SIZE>
BYTE Gray::cMemStatic< TYPE_SIZE >::m_Data[TYPE_SIZE]

All objects of this type are this size.


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