Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cVariantTypeDef Class Reference

#include <cVariantType.h>

Public Member Functions

const ATOMCHAR_tget_Name () const noexcept
 
size_t get_Size () const noexcept
 
bool isStaticSized () const noexcept
 
bool isNumeric () const noexcept
 
bool isNumSigned () const noexcept
 
bool isFloat () const noexcept
 
bool isString () const noexcept
 
bool isStringA () const noexcept
 
bool isStringW () const noexcept
 
bool isTime () const noexcept
 

Public Attributes

const ATOMCHAR_tm_pszName
 Our Type Name. NOT the same as 'C' type name. More...
 
size_t m_nSize
 base sizeof() for the native data type. (if applicable) More...
 
BYTE m_bFlags
 CTYPE_FLAG_TYPE describes attributes of the type. More...
 

Detailed Description

Variant VARTYPE_TYPE definition metadata.

Member Function Documentation

◆ get_Name()

const ATOMCHAR_t* GrayLib::cVariantTypeDef::get_Name ( ) const
inlinenoexcept

◆ get_Size()

size_t GrayLib::cVariantTypeDef::get_Size ( ) const
inlinenoexcept

Actual usage size of the data type.

◆ isFloat()

bool GrayLib::cVariantTypeDef::isFloat ( ) const
inlinenoexcept

32 bit or 64 bit float?

◆ isNumeric()

bool GrayLib::cVariantTypeDef::isNumeric ( ) const
inlinenoexcept

any number, float or int, signed or unsigned. NOT string or complex array.

◆ isNumSigned()

bool GrayLib::cVariantTypeDef::isNumSigned ( ) const
inlinenoexcept

A signed number. might be float or int

◆ isStaticSized()

bool GrayLib::cVariantTypeDef::isStaticSized ( ) const
inlinenoexcept

is the type NOT heap allocated? (no construct,destruct required) i can just copy the value. VARTYPE_NoType doesn't count.

◆ isString()

bool GrayLib::cVariantTypeDef::isString ( ) const
inlinenoexcept

◆ isStringA()

bool GrayLib::cVariantTypeDef::isStringA ( ) const
inlinenoexcept

◆ isStringW()

bool GrayLib::cVariantTypeDef::isStringW ( ) const
inlinenoexcept

UNICODE

◆ isTime()

bool GrayLib::cVariantTypeDef::isTime ( ) const
inlinenoexcept

Member Data Documentation

◆ m_bFlags

BYTE GrayLib::cVariantTypeDef::m_bFlags

CTYPE_FLAG_TYPE describes attributes of the type.

◆ m_nSize

size_t GrayLib::cVariantTypeDef::m_nSize

base sizeof() for the native data type. (if applicable)

◆ m_pszName

const ATOMCHAR_t* GrayLib::cVariantTypeDef::m_pszName

Our Type Name. NOT the same as 'C' type name.


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