KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
KviKvsObjectClass Class Reference

#include <KviKvsObjectClass.h>

Public Member Functions

KviKvsObjectallocateInstance (KviKvsObject *pParent, const QString &szName, KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
 
void clearDirtyFlag ()
 
void getFunctionCode (QString &szCode, KviKvsObjectFunctionHandler &h)
 
KviPointerHashTable< QString,
KviKvsObjectFunctionHandler > * 
getHandlers ()
 
bool isBuiltin ()
 
bool isDirty ()
 
bool isScriptHandler (const QString &szFunctionName)
 
 KviKvsObjectClass (KviKvsObjectClass *pParent, const QString &szName, KviKvsObjectAllocateInstanceProc proc, bool bBuiltin=true)
 
KviKvsObjectFunctionHandlerlookupFunctionHandler (const QString &szFunc)
 
const QString & name ()
 
KviKvsObjectClassparentClass ()
 
void registerFunctionHandler (const QString &szFunctionName, KviKvsObjectFunctionHandlerProc pProc, unsigned int uFlags=0)
 
void registerFunctionHandler (const QString &szFunctionName, const QString &szBuffer, const QString &szReminder, unsigned int uFlags=0)
 
void registerStandardFalseReturnFunctionHandler (const QString &szFunc)
 
void registerStandardNothingReturnFunctionHandler (const QString &szFunc)
 
void registerStandardTrueReturnFunctionHandler (const QString &szFunc)
 
QString reminder (KviKvsObjectFunctionHandler *h)
 
bool save (const QString &szFileName)
 
void setReminder (const QString &szReminder, KviKvsObjectFunctionHandler *h)
 
 ~KviKvsObjectClass ()
 

Static Public Member Functions

static bool load (const QString &szFileName)
 

Protected Member Functions

KviPointerHashTable< QString,
KviKvsObjectFunctionHandler > * 
functionHandlers ()
 
void registerChildClass (KviKvsObjectClass *pClass)
 
void unregisterChildClass (KviKvsObjectClass *pClass)
 

Protected Attributes

KviKvsObjectAllocateInstanceProc m_allocProc
 
bool m_bBuiltin
 
bool m_bDirty
 
KviPointerList
< KviKvsObjectClass > * 
m_pChildClasses
 
KviPointerHashTable< QString,
KviKvsObjectFunctionHandler > * 
m_pFunctionHandlers
 
KviKvsObjectClassm_pParentClass
 
QString m_szName
 

Friends

class KviKvsObject
 
class KviKvsObjectController
 

Constructor & Destructor Documentation

KviKvsObjectClass::KviKvsObjectClass ( KviKvsObjectClass pParent,
const QString &  szName,
KviKvsObjectAllocateInstanceProc  proc,
bool  bBuiltin = true 
)
KviKvsObjectClass::~KviKvsObjectClass ( )

Member Function Documentation

KviKvsObject * KviKvsObjectClass::allocateInstance ( KviKvsObject pParent,
const QString &  szName,
KviKvsRunTimeContext pContext,
KviKvsVariantList pParams 
)
void KviKvsObjectClass::clearDirtyFlag ( )
inline
KviPointerHashTable<QString, KviKvsObjectFunctionHandler>* KviKvsObjectClass::functionHandlers ( )
inlineprotected

Referenced by KviKvsObjectClass().

void KviKvsObjectClass::getFunctionCode ( QString &  szCode,
KviKvsObjectFunctionHandler h 
)
KviPointerHashTable<QString, KviKvsObjectFunctionHandler>* KviKvsObjectClass::getHandlers ( )
inline
bool KviKvsObjectClass::isBuiltin ( )
inline
bool KviKvsObjectClass::isDirty ( )
inline
bool KviKvsObjectClass::isScriptHandler ( const QString &  szFunctionName)
inline
bool KviKvsObjectClass::load ( const QString &  szFileName)
static
KviKvsObjectFunctionHandler* KviKvsObjectClass::lookupFunctionHandler ( const QString &  szFunc)
inline
const QString& KviKvsObjectClass::name ( )
inline
KviKvsObjectClass* KviKvsObjectClass::parentClass ( )
inline
void KviKvsObjectClass::registerChildClass ( KviKvsObjectClass pClass)
protected
void KviKvsObjectClass::registerFunctionHandler ( const QString &  szFunctionName,
KviKvsObjectFunctionHandlerProc  pProc,
unsigned int  uFlags = 0 
)
void KviKvsObjectClass::registerFunctionHandler ( const QString &  szFunctionName,
const QString &  szBuffer,
const QString &  szReminder,
unsigned int  uFlags = 0 
)
void KviKvsObjectClass::registerStandardFalseReturnFunctionHandler ( const QString &  szFunc)
void KviKvsObjectClass::registerStandardNothingReturnFunctionHandler ( const QString &  szFunc)
void KviKvsObjectClass::registerStandardTrueReturnFunctionHandler ( const QString &  szFunc)
QString KviKvsObjectClass::reminder ( KviKvsObjectFunctionHandler h)
bool KviKvsObjectClass::save ( const QString &  szFileName)
void KviKvsObjectClass::setReminder ( const QString &  szReminder,
KviKvsObjectFunctionHandler h 
)
void KviKvsObjectClass::unregisterChildClass ( KviKvsObjectClass pClass)
protected

Friends And Related Function Documentation

friend class KviKvsObject
friend
friend class KviKvsObjectController
friend

Member Data Documentation

KviKvsObjectAllocateInstanceProc KviKvsObjectClass::m_allocProc
protected
bool KviKvsObjectClass::m_bBuiltin
protected

Referenced by KviKvsObjectClass().

bool KviKvsObjectClass::m_bDirty
protected

Referenced by KviKvsObjectClass().

KviPointerList<KviKvsObjectClass>* KviKvsObjectClass::m_pChildClasses
protected
KviPointerHashTable<QString, KviKvsObjectFunctionHandler>* KviKvsObjectClass::m_pFunctionHandlers
protected
KviKvsObjectClass* KviKvsObjectClass::m_pParentClass
protected
QString KviKvsObjectClass::m_szName
protected

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