KVIrc 5.2.4
Developer APIs
Public Member Functions | Protected Attributes | List of all members
KvsObject_memoryBuffer Class Reference

#include <KvsObject_memoryBuffer.h>

+ Inheritance diagram for KvsObject_memoryBuffer:

Public Member Functions

bool clear (KviKvsObjectFunctionCall *c)
 
QByteArray dataBuffer ()
 
bool loadFromFile (KviKvsObjectFunctionCall *c)
 
QByteArray * pBuffer ()
 
bool readByteAt (KviKvsObjectFunctionCall *c)
 
bool saveToFile (KviKvsObjectFunctionCall *c)
 
bool size (KviKvsObjectFunctionCall *c)
 
- Public Member Functions inherited from KviKvsObject
bool callFunction (KviKvsObject *pCaller, const QString &fncName, const QString &classOverride, KviKvsRunTimeContext *pContext, KviKvsVariant *pRetVal, KviKvsVariantList *pParams)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariant *pRetVal, KviKvsVariantList *pParams=nullptr)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariantList *pParams=nullptr)
 
bool connectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
KviKvsHashdataContainer ()
 
bool die ()
 
bool dieNow ()
 
bool disconnectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
bool disconnectSignal (const QString &sigName, KviKvsObjectConnection *con)
 
int emitSignal (const QString &sigName, KviKvsObjectFunctionCall *pOuterCall, KviKvsVariantList *pParams=nullptr)
 
KviKvsObjectfindChild (const QString &szClass, const QString &szName)
 
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * functionHandlers ()
 
KviKvsObjectClassgetClass (const QString &classOverride=QString())
 
KviKvsObjectClassgetExactClass ()
 
const QString & getName () const
 
kvs_hobject_t handle ()
 
bool inheritsClass (const QString &szClass)
 
bool inheritsClass (KviKvsObjectClass *pClass)
 
void killAllChildrenWithClass (KviKvsObjectClass *cl)
 
 KviKvsObject (KviKvsObjectClass *pClass, KviKvsObject *pParent, const QString &szName)
 
KviKvsObjectFunctionHandlerlookupFunctionHandler (const QString &funcName, const QString &classOverride=QString())
 
QObject * object () const
 
KviKvsObjectparentObject ()
 
QWidget * parentScriptWidget ()
 
void registerPrivateImplementation (const QString &szFunctionName, const QString &szCode)
 
void setObject (QObject *o, bool bIsOwned=true)
 
void setSignalName (const QString &szSigName)
 
void setSignalSender (kvs_hobject_t hObject)
 
kvs_hobject_t signalSender ()
 
 ~KviKvsObject ()
 

Protected Attributes

QByteArray * m_pBuffer
 
int mIdx
 
- Protected Attributes inherited from KviKvsObject
bool m_bAboutToDie = false
 
bool m_bDestructorCalled = false
 
bool m_bInDelayedDeath = false
 
bool m_bObjectOwner = true
 
kvs_hobject_t m_hObject
 
kvs_hobject_t m_hSignalSender
 
KviPointerList< KviKvsObject > * m_pChildList = nullptr
 
KviKvsObjectClassm_pClass = nullptr
 
KviKvsObjectConnectionListm_pConnectionList = nullptr
 
KviKvsHashm_pDataContainer = nullptr
 
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * m_pFunctionHandlers = nullptr
 
QObject * m_pObject = nullptr
 
KviPointerHashTable< QString, KviKvsObjectConnectionList > * m_pSignalDict = nullptr
 
QString m_szName
 
QString m_szSignalName
 

Additional Inherited Members

- Protected Slots inherited from KviKvsObject
void delayedDie ()
 
void objectDestroyed ()
 
- Protected Member Functions inherited from KviKvsObject
bool eventFilter (QObject *o, QEvent *e) override
 
bool function_childCount (KviKvsObjectFunctionCall *c)
 
bool function_children (KviKvsObjectFunctionCall *c)
 
bool function_className (KviKvsObjectFunctionCall *c)
 
bool function_destructor (KviKvsObjectFunctionCall *c)
 
bool function_emit (KviKvsObjectFunctionCall *c)
 
bool function_findChild (KviKvsObjectFunctionCall *c)
 
bool function_killTimer (KviKvsObjectFunctionCall *c)
 
bool function_listProperties (KviKvsObjectFunctionCall *c)
 
bool function_name (KviKvsObjectFunctionCall *c)
 
bool function_parent (KviKvsObjectFunctionCall *c)
 
bool function_property (KviKvsObjectFunctionCall *c)
 
bool function_setProperty (KviKvsObjectFunctionCall *c)
 
bool function_signalName (KviKvsObjectFunctionCall *c)
 
bool function_signalSender (KviKvsObjectFunctionCall *c)
 
bool function_startTimer (KviKvsObjectFunctionCall *c)
 
virtual bool init (KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
 
void registerChild (KviKvsObject *c)
 
void registerConnection (KviKvsObjectConnection *con)
 
void timerEvent (QTimerEvent *e) override
 
void unregisterChild (KviKvsObject *c)
 
bool unregisterConnection (KviKvsObjectConnection *con)
 

Member Function Documentation

◆ clear()

bool KvsObject_memoryBuffer::clear ( KviKvsObjectFunctionCall c)

◆ dataBuffer()

QByteArray KvsObject_memoryBuffer::dataBuffer ( )
inline

References m_pBuffer.

◆ loadFromFile()

bool KvsObject_memoryBuffer::loadFromFile ( KviKvsObjectFunctionCall c)

◆ pBuffer()

QByteArray * KvsObject_memoryBuffer::pBuffer ( )
inline

References m_pBuffer.

◆ readByteAt()

bool KvsObject_memoryBuffer::readByteAt ( KviKvsObjectFunctionCall c)

◆ saveToFile()

bool KvsObject_memoryBuffer::saveToFile ( KviKvsObjectFunctionCall c)

◆ size()

bool KvsObject_memoryBuffer::size ( KviKvsObjectFunctionCall c)

Member Data Documentation

◆ m_pBuffer

QByteArray* KvsObject_memoryBuffer::m_pBuffer
protected

Referenced by dataBuffer(), and pBuffer().

◆ mIdx

int KvsObject_memoryBuffer::mIdx
protected

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