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

#include <libmythfreemheg/Variables.h>

Inheritance diagram for MHIntegerAction:
[legend]
Collaboration diagram for MHIntegerAction:
[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 562 of file Variables.cpp.

◆ Perform()

void MHIntegerAction::Perform ( MHEngine engine)
overridevirtual

Implements MHElemAction.

Definition at line 569 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: