MythTV  master
Public Types | Public Member Functions | Static 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
 
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 *)
 

Static Public Member Functions

static void Failure (const char *p)
 

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)
static

◆ GetTagNo()

int MHParseNode::GetTagNo ( )

◆ GetArgCount()

int MHParseNode::GetArgCount ( )

◆ GetArgN()

MHParseNode * MHParseNode::GetArgN ( int  n)

◆ 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: