PUMA Library Reference Manual
Puma::CMatch Class Reference

#include <CMatch.h>

Public Member Functions

 CMatch (bool root=false)
 
 ~CMatch ()
 
void combine (CMatch *, bool=false)
 
Array< CTree * > & get (const char *) const
 
void add (CTree *, const char *)
 
Array< CSubMatch * > & matches ()
 
unsigned SubMatches () const
 
CSubMatchSubMatch (unsigned i) const
 
CSubMatchSubMatch (const char *) const
 
void clear ()
 

Constructor & Destructor Documentation

◆ CMatch()

Puma::CMatch::CMatch ( bool  root = false)
inline

◆ ~CMatch()

Puma::CMatch::~CMatch ( )

Member Function Documentation

◆ add()

void Puma::CMatch::add ( CTree ,
const char *   
)

◆ clear()

void Puma::CMatch::clear ( )

◆ combine()

void Puma::CMatch::combine ( CMatch ,
bool  = false 
)

◆ get()

Array<CTree *>& Puma::CMatch::get ( const char *  ) const

◆ matches()

Array<CSubMatch *>& Puma::CMatch::matches ( )
inline

◆ SubMatch() [1/2]

CSubMatch* Puma::CMatch::SubMatch ( const char *  ) const

◆ SubMatch() [2/2]

CSubMatch* Puma::CMatch::SubMatch ( unsigned  i) const
inline

◆ SubMatches()

unsigned Puma::CMatch::SubMatches ( ) const
inline