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

#include <cXObjMgr.h>

Public Member Functions

bool IsXObjFlags (BYTE nFlags) const noexcept
 
bool isXObjTypeDemandLoaded () const noexcept
 
XOBJTID_t get_HashCode () const noexcept
 

Public Attributes

XOBJTID_t m_nXObjTypeId
 The global FOURCC for the type. MAKEFOURCC() More...
 
const ATOMCHAR_tm_pszTableName
 Name of the table. (ATOM) More...
 
BYTE m_nXObjFlags
 Mask of XOBJTYPF_TYPE XOBJTYPF_DEMANDLOAD. More...
 
const char * m_pszTableSelect
 The whole table typically read in at once at start. SQL select statement. More...
 
const char * m_pszDescription
 Friendly description text for type. More...
 
IXObjModPluginm_pXObjModPlugin
 How to create/store/find one of these? cXObjModule parentage of the type. More...
 
cScriptableInterfaceDefm_pInterfaceDef
 What top interface is this type equated to? (might have same name) More...
 
XOBJTIDX_TYPE m_eXObjTypeIdx
 Enum in m_aXObjTypeDefs. used for UID type bits. assume static but filled in by RegisterXObjTypeDef at run time. More...
 
cUIDRangeMask m_UIDRange
 How to make a UID for this. (may need m_eXObjTypeIdx to set this). More...
 

Static Public Attributes

static const char * k_pszNULL = "NULL"
 k_XOBJTID_NULL name More...
 

Detailed Description

Info describing a type of resource object. (meta data) use cXObjMgr::RegisterXObjTypeDef(this) typically static init. n = {};

Note
May be associated with a top level cScriptableInterfaceDef (or not). So not all XOBJTID_t are really XObjects. XOBJTIDX_TYPE = my index in m_aXObjTypeDefs.

Member Function Documentation

◆ get_HashCode()

XOBJTID_t GrayLib::cXObjTypeDef::get_HashCode ( ) const
inlinenoexcept

◆ IsXObjFlags()

bool GrayLib::cXObjTypeDef::IsXObjFlags ( BYTE  nFlags) const
inlinenoexcept

XOBJTYPF_TYPE

◆ isXObjTypeDemandLoaded()

bool GrayLib::cXObjTypeDef::isXObjTypeDemandLoaded ( ) const
inlinenoexcept

XOBJTYPF_TYPE

Member Data Documentation

◆ k_pszNULL

const char * GrayLib::cXObjTypeDef::k_pszNULL = "NULL"
static

k_XOBJTID_NULL name

k_XOBJTID_NULL

◆ m_eXObjTypeIdx

XOBJTIDX_TYPE GrayLib::cXObjTypeDef::m_eXObjTypeIdx

Enum in m_aXObjTypeDefs. used for UID type bits. assume static but filled in by RegisterXObjTypeDef at run time.

◆ m_nXObjFlags

BYTE GrayLib::cXObjTypeDef::m_nXObjFlags

Mask of XOBJTYPF_TYPE XOBJTYPF_DEMANDLOAD.

◆ m_nXObjTypeId

XOBJTID_t GrayLib::cXObjTypeDef::m_nXObjTypeId

The global FOURCC for the type. MAKEFOURCC()

◆ m_pInterfaceDef

cScriptableInterfaceDef* GrayLib::cXObjTypeDef::m_pInterfaceDef

What top interface is this type equated to? (might have same name)

◆ m_pszDescription

const char* GrayLib::cXObjTypeDef::m_pszDescription

Friendly description text for type.

◆ m_pszTableName

const ATOMCHAR_t* GrayLib::cXObjTypeDef::m_pszTableName

Name of the table. (ATOM)

◆ m_pszTableSelect

const char* GrayLib::cXObjTypeDef::m_pszTableSelect

The whole table typically read in at once at start. SQL select statement.

◆ m_pXObjModPlugin

IXObjModPlugin* GrayLib::cXObjTypeDef::m_pXObjModPlugin

How to create/store/find one of these? cXObjModule parentage of the type.

◆ m_UIDRange

cUIDRangeMask GrayLib::cXObjTypeDef::m_UIDRange

How to make a UID for this. (may need m_eXObjTypeIdx to set this).


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