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
Collaboration diagram for MHIntegerAction:
Collaboration graph

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)

Definition at line 182 of file Variables.h.

Member Function Documentation

◆ Initialise()

void MHIntegerAction::Initialise ( MHParseNode p,
MHEngine engine 

Reimplemented from MHElemAction.

Definition at line 561 of file Variables.cpp.

◆ Perform()

void MHIntegerAction::Perform ( MHEngine engine)

Implements MHElemAction.

Definition at line 568 of file Variables.cpp.

◆ PrintArgs()

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

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

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: