MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MHIntegerAction Class Referenceabstract

#include <Variables.h>

Inheritance diagram for MHIntegerAction:
Inheritance graph
[legend]
Collaboration diagram for MHIntegerAction:
Collaboration graph
[legend]

Public Member Functions

 MHIntegerAction (const char *name)
 
void Initialise (MHParseNode *p, MHEngine *engine) override
 
void Perform (MHEngine *engine) override
 
- Public Member Functions inherited from MHElemAction
 MHElemAction (const char *name)
 
virtual ~MHElemAction ()=default
 
virtual void PrintMe (FILE *fd, int nTabs) const
 

Protected Member Functions

void PrintArgs (FILE *fd, int) const override
 
virtual int DoOp (int arg1, int arg2)=0
 
- Protected Member Functions inherited from MHElemAction
MHRootTarget (MHEngine *engine)
 

Protected Attributes

MHGenericInteger m_Operand
 
- Protected Attributes inherited from MHElemAction
const char * m_ActionName {nullptr}
 
MHGenericObjectRef m_Target
 

Detailed Description

Definition at line 179 of file Variables.h.

Constructor & Destructor Documentation

◆ MHIntegerAction()

MHIntegerAction::MHIntegerAction ( const char *  name)
inlineexplicit

Definition at line 182 of file Variables.h.

Member Function Documentation

◆ Initialise()

void MHIntegerAction::Initialise ( MHParseNode p,
MHEngine engine 
)
overridevirtual

Reimplemented from MHElemAction.

Definition at line 557 of file Variables.cpp.

◆ Perform()

void MHIntegerAction::Perform ( MHEngine engine)
overridevirtual

Implements MHElemAction.

Definition at line 564 of file Variables.cpp.

◆ PrintArgs()

void MHIntegerAction::PrintArgs ( FILE *  fd,
int   
) const
inlineoverrideprotectedvirtual

Reimplemented from MHElemAction.

Definition at line 186 of file Variables.h.

◆ DoOp()

virtual int MHIntegerAction::DoOp ( int  arg1,
int  arg2 
)
protectedpure virtual

Implemented in MHModulo, MHDivide, MHMultiply, MHSubtract, and MHAdd.

Referenced by Perform().

Member Data Documentation

◆ m_Operand

MHGenericInteger MHIntegerAction::m_Operand
protected

Definition at line 189 of file Variables.h.

Referenced by Initialise(), Perform(), and PrintArgs().


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