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

#include <cScriptableInterfaceDynamic.h>

Inheritance diagram for GrayLib::cScriptablePropDynamic:
GrayLib::cScriptableProp Gray::cRefBase IUnknown

Public Member Functions

 cScriptablePropDynamic (cScriptableInterfaceDynamic *pInterfaceDef)
 
virtual ~cScriptablePropDynamic ()
 
HRESULT SerializeInput (cStreamInput &stmIn)
 
HRESULT DisposeThis ()
 
 STDMETHOD_ (cString, get_Name)() const
 
- Public Member Functions inherited from GrayLib::cScriptableProp
void InitProp ()
 
const ATOMCHAR_tget_Name () const noexcept
 
ATOMCODE_t get_HashCode () const noexcept
 
StrLen_t get_NamePropLen () const
 
cAtomRef get_NamePropA () const
 
bool IsPropFlags (CSCRIPTPROP_MASK_t wFlags) const noexcept
 
bool isFunction () const noexcept
 
bool isMethod () const noexcept
 
bool isProp () const noexcept
 
bool isDeprecated () const noexcept
 
int get_NumArgs () const noexcept
 
bool HasNoArgs () const noexcept
 
bool HasKnownArgs () const noexcept
 
bool HasPrivLevelRead (PLEVEL_TYPE ePrivLevel) const noexcept
 
bool HasPrivLevelWrite (PLEVEL_TYPE ePrivLevel) const noexcept
 
bool isValidProp () const noexcept
 
SCRIPTINTERFACEID_t get_InterfaceID () const
 id the interface this belongs to More...
 
SCRIPTPROPID_t get_PropIndex () const
 the index of the prop in the interface. More...
 
SCRIPTPROPID_t get_MethodIndex () const
 
HRESULT SerializeOutput (cStreamOutput &file, PLEVEL_TYPE ePrivLevel)
 
bool GetElementVal (const void *pBaseInst, OUT cVariant &vValRet) const
 
bool SetElementVal (void *pBaseInst, const cVariant &vVal) const
 
HRESULT SetElementCheck (void *pBaseInst, const cVariant &vVal) const
 
VARTYPE_TYPE get_ElementType () const
 
HRESULT ScriptWrite (IScriptableSetter *pScript, const void *pBaseInst) const
 
HRESULT ScriptRead (IScriptableGetter *pScript, void *pBaseInst) const
 
- Public Member Functions inherited from Gray::cRefBase
 cRefBase (int iRefCount=0) noexcept
 
virtual ~cRefBase ()
 
int get_RefCount () const noexcept
 
HASHCODE_t get_HashCode () const noexcept
 
 STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept
 
virtual void onFinalRelease ()
 
bool isValidObj () const noexcept
 
 STDMETHOD_ (ULONG, AddRef)(void) override
 
 STDMETHOD_ (ULONG, Release)(void) override
 
STDMETHOD() QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
void IncRefCount ()
 
void DecRefCount ()
 
bool isStaticConstruct () const noexcept
 
void StaticConstruct ()
 
void StaticDestruct ()
 
bool isDestructing () noexcept
 
void SetDestructing ()
 

Public Attributes

cScriptableInterfaceDynamicPtr m_pInterfaceDef
 hold a lock on my interface! More...
 
cAtomRef m_aKey
 m_pszKey such that it can be used in m_TagMap More...
 
cStringA m_sHelp
 
- Public Attributes inherited from GrayLib::cScriptableProp
cStructNamedElem m_a
 (key,type,offset,extra) More...
 
CSCRIPTPROP_MASK_t m_wFlags
 CSCRIPTPROP_RETNUL (apply slightly diff to cScriptableMethod, cScriptableMethod, cScriptableMethod. More...
 
BYTE m_PrivLevelWrite
 What PLEVEL_TYPE required to write this prop or exec/invoke this method. More...
 
BYTE m_PrivLevelRead
 What PLEVEL_TYPE required to read this prop. (does not apply to methods) More...
 
const ATOMCHAR_tm_pszHelp
 short piece of help text on this prop/method. CSCRIPT_PROP_HELP More...
 
UINT_PTR m_nMethodStub
 just identifies it as a method or not. although m_PrivLevelRead==PLEVEL_QTY does as well. More...
 
cScriptableInterfaceDefm_pInterfaceDef
 point back to my root class. (not used for context functions) More...
 
ATOMCODE_t m_nHashCode
 The cAtomRef hash = StrT::GetHashCode32(m_a.key) (can't init this at static time. do it later InitProp()) More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GrayLib::cScriptableProp
static BYTE GetARGS (CSCRIPTPROP_MASK_t flag) noexcept
 
static bool isNOARGS (CSCRIPTPROP_MASK_t flag) noexcept
 

Detailed Description

a dynamic definition of a cScriptableProp This can be read in from script etc.

Constructor & Destructor Documentation

◆ cScriptablePropDynamic()

GrayLib::cScriptablePropDynamic::cScriptablePropDynamic ( cScriptableInterfaceDynamic pInterfaceDef)

◆ ~cScriptablePropDynamic()

GrayLib::cScriptablePropDynamic::~cScriptablePropDynamic ( )
virtual

Member Function Documentation

◆ DisposeThis()

HRESULT GrayLib::cScriptablePropDynamic::DisposeThis ( void  )
inline

◆ SerializeInput()

HRESULT GrayLib::cScriptablePropDynamic::SerializeInput ( cStreamInput stmIn)

◆ STDMETHOD_()

GrayLib::cScriptablePropDynamic::STDMETHOD_ ( cString  ,
get_Name   
) const
inline

Member Data Documentation

◆ m_aKey

cAtomRef GrayLib::cScriptablePropDynamic::m_aKey

m_pszKey such that it can be used in m_TagMap

◆ m_pInterfaceDef

cScriptableInterfaceDynamicPtr GrayLib::cScriptablePropDynamic::m_pInterfaceDef

hold a lock on my interface!

◆ m_sHelp

cStringA GrayLib::cScriptablePropDynamic::m_sHelp

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