KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | List of all members
KviKvsTreeNodeExpressionUnaryOperatorNegate Class Reference

#include <KviKvsTreeNodeExpression.h>

+ Inheritance diagram for KviKvsTreeNodeExpressionUnaryOperatorNegate:

Public Member Functions

virtual void contextDescription (QString &szBuffer)
 Sets the buffer. More...
 
virtual void dump (const char *prefix)
 Dumps the tree. More...
 
virtual bool evaluateReadOnly (KviKvsRunTimeContext *c, KviKvsVariant *pResult)
 
 KviKvsTreeNodeExpressionUnaryOperatorNegate (const QChar *pLocation, KviKvsTreeNodeExpression *pData)
 
virtual int precedence ()
 
 ~KviKvsTreeNodeExpressionUnaryOperatorNegate ()
 
- Public Member Functions inherited from KviKvsTreeNodeExpressionUnaryOperator
bool evaluateOperand (KviKvsRunTimeContext *c)
 
 KviKvsTreeNodeExpressionUnaryOperator (const QChar *pLocation, KviKvsTreeNodeExpression *pData)
 
 ~KviKvsTreeNodeExpressionUnaryOperator ()
 
- Public Member Functions inherited from KviKvsTreeNodeExpressionOperator
 KviKvsTreeNodeExpressionOperator (const QChar *pLocation)
 
 ~KviKvsTreeNodeExpressionOperator ()
 
- Public Member Functions inherited from KviKvsTreeNodeExpression
virtual int firstBinaryOperator ()
 
 KviKvsTreeNodeExpression (const QChar *pLocation)
 
virtual KviKvsTreeNodeExpressionleft ()
 
KviKvsTreeNodeExpressionparentExpression ()
 
virtual KviKvsTreeNodeExpressionparentWithPrecedenceLowerThan (int iPrec)
 
virtual KviKvsTreeNodeExpressionright ()
 
virtual void setLeft (KviKvsTreeNodeExpression *pLeft)
 
void setParentExpression (KviKvsTreeNodeExpression *pParent)
 
virtual void setRight (KviKvsTreeNodeExpression *pRight)
 
 ~KviKvsTreeNodeExpression ()
 
- Public Member Functions inherited from KviKvsTreeNodeData
virtual bool canEvaluateInObjectScope ()
 
virtual bool canEvaluateToObjectReference ()
 
virtual bool convertStringConstantToNumeric ()
 
const QChar * endingLocation ()
 
virtual bool evaluateReadOnlyInObjectScope (KviKvsObject *o, KviKvsRunTimeContext *c, KviKvsVariant *pBuffer)
 
virtual KviKvsRWEvaluationResultevaluateReadWrite (KviKvsRunTimeContext *c)
 
virtual KviKvsRWEvaluationResultevaluateReadWriteInObjectScope (KviKvsObject *o, KviKvsRunTimeContext *c)
 
virtual bool isFunctionCall ()
 
virtual bool isReadOnly ()
 
 KviKvsTreeNodeData (const QChar *pLocation)
 
void setEndingLocation (const QChar *pEndingLocation)
 
 ~KviKvsTreeNodeData ()
 
- Public Member Functions inherited from KviKvsTreeNode
 KviKvsTreeNode (const QChar *pLocation)
 Constructs the treenode object. More...
 
const QChar * location ()
 Returns the location char. More...
 
KviKvsTreeNodeparent ()
 Returns the parent object. More...
 
void setParent (KviKvsTreeNode *p)
 Sets the parent object. More...
 
virtual ~KviKvsTreeNode ()
 Destroys the treenode object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from KviKvsTreeNode
void setLocation (const QChar *pLocation)
 Sets the location char. More...
 
- Protected Attributes inherited from KviKvsTreeNodeExpressionUnaryOperator
KviKvsNumber m_nData
 
KviKvsTreeNodeExpressionm_pData
 
- Protected Attributes inherited from KviKvsTreeNodeExpression
KviKvsTreeNodeExpressionm_pParentExpression
 
- Protected Attributes inherited from KviKvsTreeNodeData
const QChar * m_pEndingLocation
 
- Protected Attributes inherited from KviKvsTreeNode
const QChar * m_pLocation
 
KviKvsTreeNodem_pParent
 

Constructor & Destructor Documentation

KviKvsTreeNodeExpressionUnaryOperatorNegate::KviKvsTreeNodeExpressionUnaryOperatorNegate ( const QChar *  pLocation,
KviKvsTreeNodeExpression pData 
)
KviKvsTreeNodeExpressionUnaryOperatorNegate::~KviKvsTreeNodeExpressionUnaryOperatorNegate ( )
default

Member Function Documentation

void KviKvsTreeNodeExpressionUnaryOperatorNegate::contextDescription ( QString &  szBuffer)
virtual

Sets the buffer.

Parameters
szBufferThe buffer :)
Returns
void

Reimplemented from KviKvsTreeNodeExpressionUnaryOperator.

void KviKvsTreeNodeExpressionUnaryOperatorNegate::dump ( const char *  prefix)
virtual

Dumps the tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Reimplemented from KviKvsTreeNodeExpressionUnaryOperator.

References KviKvsTreeNodeExpression::dump(), and KviKvsTreeNodeExpressionUnaryOperator::m_pData.

bool KviKvsTreeNodeExpressionUnaryOperatorNegate::evaluateReadOnly ( KviKvsRunTimeContext c,
KviKvsVariant pResult 
)
virtual
int KviKvsTreeNodeExpressionUnaryOperatorNegate::precedence ( )
virtual

Reimplemented from KviKvsTreeNodeExpression.

References PREC_OP_NEGATE.


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