MythTV  master
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MHParseNode Class Reference

#include <ParseNode.h>

Inheritance diagram for MHParseNode:
Inheritance graph
[legend]

Public Types

enum  NodeType {
  PNTagged, PNBool, PNInt, PNEnum,
  PNString, PNNull, PNSeq
}
 

Public Member Functions

virtual ~MHParseNode ()=default
 
void Failure (const char *p)
 
int GetTagNo ()
 
int GetArgCount ()
 
MHParseNodeGetArgN (int n)
 
MHParseNodeGetNamedArg (int nTag)
 
int GetSeqCount ()
 
MHParseNodeGetSeqN (int n)
 
int GetIntValue ()
 
int GetEnumValue ()
 
bool GetBoolValue ()
 
void GetStringValue (MHOctetString &str)
 
void PrintMe (FILE *)
 

Public Attributes

enum NodeType m_nNodeType
 

Protected Member Functions

 MHParseNode (enum NodeType nt)
 

Detailed Description

Definition at line 38 of file ParseNode.h.

Member Enumeration Documentation

◆ NodeType

Enumerator
PNTagged 
PNBool 
PNInt 
PNEnum 
PNString 
PNNull 
PNSeq 

Definition at line 41 of file ParseNode.h.

Constructor & Destructor Documentation

◆ MHParseNode()

MHParseNode::MHParseNode ( enum NodeType  nt)
inlineprotected

Definition at line 43 of file ParseNode.h.

◆ ~MHParseNode()

virtual MHParseNode::~MHParseNode ( )
virtualdefault

Member Function Documentation

◆ Failure()

void MHParseNode::Failure ( const char *  p)

◆ GetTagNo()

int MHParseNode::GetTagNo ( )

◆ GetArgCount()

int MHParseNode::GetArgCount ( )

◆ GetArgN()

MHParseNode * MHParseNode::GetArgN ( int  n)

Definition at line 78 of file ParseNode.cpp.

Referenced by MHActionSequence::Initialise(), MHStream::Initialise(), MHElemAction::Initialise(), MHProgram::Initialise(), MHIngredient::Initialise(), MHVisible::Initialise(), MHLink::Initialise(), MHText::Initialise(), MHBitmap::Initialise(), MHBooleanVar::Initialise(), MHRoot::Initialise(), MHActionInt::Initialise(), MHTokenGroup::Initialise(), MHGroup::Initialise(), MHActionIntInt::Initialise(), MHIntegerVar::Initialise(), MHAudio::Initialise(), MHActionInt3::Initialise(), MHScene::Initialise(), MHOctetStrVar::Initialise(), MHVideo::Initialise(), MHCall::Initialise(), MHActionInt4::Initialise(), MHLineArt::Initialise(), MHListGroup::Initialise(), MHActionInt6::Initialise(), MHObjectRefVar::Initialise(), MHActionObjectRef::Initialise(), MHApplication::Initialise(), MHSetData::Initialise(), MHContentRefVar::Initialise(), MHActionObjectRef2::Initialise(), MHInteractible::Initialise(), MHDrawPoly::Initialise(), MHActionGenericObjectRef::Initialise(), MHSetFontAttributes::Initialise(), MHSetVariable::Initialise(), MHActionBool::Initialise(), MHTestVariable::Initialise(), MHSendEvent::Initialise(), MHSlider::Initialise(), MHIntegerAction::Initialise(), MHAddItem::Initialise(), MHSetTimer::Initialise(), MHSetSpeed::Initialise(), MHGenericBoolean::Initialise(), MHGetListActionData::Initialise(), MHPersistent::Initialise(), MHGenericInteger::Initialise(), MHGetAvailabilityStatus::Initialise(), MHGenericOctetString::Initialise(), MHTransitionTo::Initialise(), MHGenericObjectRef::Initialise(), MHAppend::Initialise(), MHGenericContentRef::Initialise(), MHGetEngineSupport::Initialise(), MHParameter::Initialise(), MHSetColour::Initialise(), and PrintMe().

◆ GetNamedArg()

MHParseNode * MHParseNode::GetNamedArg ( int  nTag)

◆ GetSeqCount()

int MHParseNode::GetSeqCount ( )

◆ GetSeqN()

MHParseNode * MHParseNode::GetSeqN ( int  n)

◆ GetIntValue()

int MHParseNode::GetIntValue ( )

◆ GetEnumValue()

int MHParseNode::GetEnumValue ( )

◆ GetBoolValue()

bool MHParseNode::GetBoolValue ( )

◆ GetStringValue()

void MHParseNode::GetStringValue ( MHOctetString str)

◆ PrintMe()

void MHParseNode::PrintMe ( FILE *  f)

Definition at line 213 of file ParseNode.cpp.

Referenced by PrintMe().

Member Data Documentation

◆ m_nNodeType

enum NodeType MHParseNode::m_nNodeType

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