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

#include <KviKvsRunTimeContext.h>

Public Member Functions

KviKvsSwitchListaliasSwitchList ()
 
bool breakPending ()
 
void clearError ()
 
KviIrcConnectionconnection ()
 
KviConsoleWindowconsole ()
 
KviIrcContextcontext ()
 
bool continuePending ()
 
KviKvsTreeNodedefaultReportLocation ()
 
void disableReporting ()
 
void enableReporting ()
 
void enterBlockingSection ()
 
bool error () const
 
void error (KviKvsTreeNode *pNode, QString szMsgFmt,...)
 
void error (QString szMsgFmt,...)
 
bool errorNoIrcContext ()
 
KviKvsHashextendedScopeVariables ()
 
KviKvsHashglobalVariables ()
 
bool haltCalled ()
 
void handleBreak ()
 
void handleContinue ()
 
bool leaveBlockingSection ()
 
KviKvsHashlocalVariables ()
 
KviKvsVariantListparameterList ()
 
QString * popupId ()
 
bool reportingDisabled ()
 
KviKvsVariantreturnValue ()
 
KviKvsScriptscript ()
 
QString * scriptFilePath ()
 
void setBreakPending ()
 
void setContinuePending ()
 
void setDefaultReportLocation (KviKvsTreeNode *pNode)
 
void setHaltCalled ()
 
void setWindow (KviWindow *pWnd)
 
KviKvsVariantswapReturnValuePointer (KviKvsVariant *pNewPointer)
 
KviKvsObjectthisObject ()
 
void warning (KviKvsTreeNode *pNode, QString szMsgFmt,...)
 
void warning (QString szMsgFmt,...)
 
bool warningMissingParameter ()
 
bool warningNoIrcConnection ()
 
KviWindowwindow ()
 
 ~KviKvsRunTimeContext ()
 

Protected Types

enum  RunTimeFlags { BreakPending = 1, ContinuePending = 2, HaltCalled = 4, DisableReporting = 8 }
 

Protected Member Functions

 KviKvsRunTimeContext (KviKvsScript *pScript, KviWindow *pWnd, KviKvsVariantList *pParams, KviKvsVariant *pRetVal, KviKvsExtendedRunTimeData *pExtData=0)
 
void report (bool bError, KviKvsTreeNode *pNode, const QString &szMsgFmt, kvi_va_list va)
 

Protected Attributes

bool m_bError
 
KviKvsTreeNodem_pDefaultReportLocation
 
KviKvsExtendedRunTimeDatam_pExtendedData
 
KviKvsHashm_pLocalVariables
 
KviKvsVariantListm_pParameterList
 
KviKvsVariantm_pReturnValue
 
KviKvsScriptm_pScript
 
KviWindowm_pWindow
 
unsigned int m_uRunTimeFlags
 

Friends

class KviKvsEventManager
 
class KviKvsObject
 
class KviKvsRunTimeCall
 
class KviKvsScript
 

Member Enumeration Documentation

Enumerator
BreakPending 
ContinuePending 
HaltCalled 
DisableReporting 

Constructor & Destructor Documentation

KviKvsRunTimeContext::KviKvsRunTimeContext ( KviKvsScript pScript,
KviWindow pWnd,
KviKvsVariantList pParams,
KviKvsVariant pRetVal,
KviKvsExtendedRunTimeData pExtData = 0 
)
protected
KviKvsRunTimeContext::~KviKvsRunTimeContext ( )

References m_pLocalVariables.

Member Function Documentation

KviKvsSwitchList* KviKvsRunTimeContext::aliasSwitchList ( )
inline
bool KviKvsRunTimeContext::breakPending ( )
inline
void KviKvsRunTimeContext::clearError ( )
inline
KviIrcConnection* KviKvsRunTimeContext::connection ( )
inline
KviConsoleWindow* KviKvsRunTimeContext::console ( )
inline

References KviWindow::console().

KviIrcContext* KviKvsRunTimeContext::context ( )
inline
bool KviKvsRunTimeContext::continuePending ( )
inline
KviKvsTreeNode* KviKvsRunTimeContext::defaultReportLocation ( )
inline
void KviKvsRunTimeContext::disableReporting ( )
inline
void KviKvsRunTimeContext::enableReporting ( )
inline

Referenced by KviKvsScript::run().

void KviKvsRunTimeContext::enterBlockingSection ( )
bool KviKvsRunTimeContext::error ( ) const
inline

Referenced by KviKvsObject::callFunction(), errorNoIrcContext(), KviKvsTreeNodeArrayElement::evaluateIndex(), KviKvsTreeNodeExpressionUnaryOperator::evaluateOperand(), KviKvsTreeNodeExpressionBinaryOperator::evaluateOperands(), KviKvsTreeNodeExtendedScopeVariable::evaluateReadOnly(), KviKvsTreeNodeData::evaluateReadOnly(), KviKvsTreeNodeModuleFunctionCall::evaluateReadOnly(), KviKvsTreeNodeAliasFunctionCall::evaluateReadOnly(), KviKvsTreeNodeHashReferenceAssert::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeData::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayReferenceAssert::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeExtendedScopeVariable::evaluateReadWrite(), KviKvsTreeNodeData::evaluateReadWrite(), KviKvsTreeNodeData::evaluateReadWriteInObjectScope(), KviKvsTreeNodeModuleSimpleCommand::execute(), KviKvsTreeNodeSpecialCommandDo::execute(), KviKvsTreeNodeModuleCallbackCommand::execute(), KviKvsTreeNodeSpecialCommandWhile::execute(), KviKvsTreeNodeSpecialCommandFor::execute(), KviKvsTreeNodeSpecialCommandForeach::execute(), KviKvsTreeNodeSpecialCommandClass::execute(), KviKvsTreeNodeOperationDecrement::execute(), KviKvsTreeNodeAliasSimpleCommand::execute(), KviKvsTreeNodeOperationIncrement::execute(), KviKvsTreeNodeOperationSelfAnd::execute(), KviKvsTreeNodeOperationSelfDivision::execute(), KviKvsTreeNodeSpecialCommandSwitch::execute(), KviKvsTreeNodeOperationSelfModulus::execute(), KviKvsTreeNodeOperationSelfMultiplication::execute(), KviKvsTreeNodeOperationSelfOr::execute(), KviKvsTreeNodeOperationSelfShl::execute(), KviKvsTreeNodeOperationSelfShr::execute(), KviKvsTreeNodeOperationSelfSubtraction::execute(), KviKvsTreeNodeSpecialCommandDefpopup::execute(), KviKvsTreeNodeOperationSelfSum::execute(), KviKvsTreeNodeOperationSelfXor::execute(), KviKvsScript::executeInternal(), KviKvsParameterProcessor::handleParameterTypeError(), KviKvsTreeNodeScopeOperator::objectFromVariant(), and KviKvsParameterProcessor::process().

void KviKvsRunTimeContext::error ( KviKvsTreeNode pNode,
QString  szMsgFmt,
  ... 
)
void KviKvsRunTimeContext::error ( QString  szMsgFmt,
  ... 
)
bool KviKvsRunTimeContext::errorNoIrcContext ( )
KviKvsHash* KviKvsRunTimeContext::extendedScopeVariables ( )
inline
KviKvsHash * KviKvsRunTimeContext::globalVariables ( )
bool KviKvsRunTimeContext::haltCalled ( )
inline
void KviKvsRunTimeContext::handleBreak ( )
inline
void KviKvsRunTimeContext::handleContinue ( )
inline
bool KviKvsRunTimeContext::leaveBlockingSection ( )
KviKvsHash* KviKvsRunTimeContext::localVariables ( )
inline
KviKvsVariantList* KviKvsRunTimeContext::parameterList ( )
inline
QString* KviKvsRunTimeContext::popupId ( )
inline
void KviKvsRunTimeContext::report ( bool  bError,
KviKvsTreeNode pNode,
const QString &  szMsgFmt,
kvi_va_list  va 
)
protected
bool KviKvsRunTimeContext::reportingDisabled ( )
inline

Referenced by KviKvsScript::run().

KviKvsVariant* KviKvsRunTimeContext::returnValue ( )
inline
KviKvsScript* KviKvsRunTimeContext::script ( )
inline
QString* KviKvsRunTimeContext::scriptFilePath ( )
inline
void KviKvsRunTimeContext::setBreakPending ( )
inline
void KviKvsRunTimeContext::setContinuePending ( )
inline
void KviKvsRunTimeContext::setDefaultReportLocation ( KviKvsTreeNode pNode)
void KviKvsRunTimeContext::setHaltCalled ( )
inline
void KviKvsRunTimeContext::setWindow ( KviWindow pWnd)
inline
KviKvsVariant * KviKvsRunTimeContext::swapReturnValuePointer ( KviKvsVariant pNewPointer)
KviKvsObject* KviKvsRunTimeContext::thisObject ( )
inline
void KviKvsRunTimeContext::warning ( KviKvsTreeNode pNode,
QString  szMsgFmt,
  ... 
)
void KviKvsRunTimeContext::warning ( QString  szMsgFmt,
  ... 
)
bool KviKvsRunTimeContext::warningMissingParameter ( )
bool KviKvsRunTimeContext::warningNoIrcConnection ( )
KviWindow* KviKvsRunTimeContext::window ( )
inline

Friends And Related Function Documentation

friend class KviKvsEventManager
friend
friend class KviKvsObject
friend
friend class KviKvsRunTimeCall
friend
friend class KviKvsScript
friend

Member Data Documentation

bool KviKvsRunTimeContext::m_bError
protected

Referenced by error(), and KviKvsRunTimeContext().

KviKvsTreeNode* KviKvsRunTimeContext::m_pDefaultReportLocation
protected
KviKvsExtendedRunTimeData* KviKvsRunTimeContext::m_pExtendedData
protected

Referenced by KviKvsRunTimeContext().

KviKvsHash* KviKvsRunTimeContext::m_pLocalVariables
protected
KviKvsVariantList* KviKvsRunTimeContext::m_pParameterList
protected

Referenced by KviKvsRunTimeContext().

KviKvsVariant* KviKvsRunTimeContext::m_pReturnValue
protected
KviKvsScript* KviKvsRunTimeContext::m_pScript
protected

Referenced by KviKvsRunTimeContext(), and report().

KviWindow* KviKvsRunTimeContext::m_pWindow
protected
unsigned int KviKvsRunTimeContext::m_uRunTimeFlags
protected

Referenced by KviKvsRunTimeContext().


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