Ginga  0.13.6.1771-df200
The iTV middleware.
NclSwitch Class Reference

#include <NclSwitch.h>

Inheritance diagram for NclSwitch:
Collaboration diagram for NclSwitch:

Public Member Functions

 NclSwitch (NclDocument *, const string &)
 
 ~NclSwitch ()
 
void addNode (NclNode *, Predicate *)
 
NclNodegetNode (const string &)
 
const list< pair< NclNode *, Predicate * > > * getRules ()
 
void addNode (NclNode *)
 
const list< NclNode * > * getNodes ()
 
NclNodegetNestedNode (const string &)
 
void addPort (NclPort *)
 
const list< NclPort * > * getPorts ()
 
NclPortgetPort (const string &)
 
NclAnchorgetMapInterface (NclPort *)
 
NclCompositiongetParent ()
 
void initParent (NclComposition *)
 
void addAnchor (NclAnchor *)
 
const list< NclAnchor * > * getAnchors ()
 
NclAnchorgetAnchor (const string &)
 
NclAnchorgetLambda ()
 
bool hasProperty (const string &)
 
void setProperty (const string &, const string &)
 
string getProperty (const string &)
 
NclNodederefer ()
 
string getId ()
 
NclDocumentgetDocument ()
 

Protected Attributes

list< NclNode * > _nodes
 
list< NclPort * > _ports
 

Private Attributes

list< pair< NclNode *, Predicate * > > _rules
 

Constructor & Destructor Documentation

GINGA_NAMESPACE_BEGIN NclSwitch::NclSwitch ( NclDocument ncl,
const string &  id 
)
NclSwitch::~NclSwitch ( )

References _rules.

Member Function Documentation

void NclComposition::addNode ( NclNode node)
inherited
void NclSwitch::addNode ( NclNode node,
Predicate pred 
)
void NclComposition::addPort ( NclPort port)
inherited
NclNode * NclNode::derefer ( )
inherited
NclAnchor * NclNode::getAnchor ( const string &  id)
inherited
const list< NclAnchor * > * NclNode::getAnchors ( )
inherited

References NclNode::_anchors.

Referenced by Formatter::start().

NclDocument * NclEntity::getDocument ( )
inherited
NclAnchor * NclNode::getLambda ( )
inherited
NclNode * NclComposition::getNestedNode ( const string &  id)
inherited
NclNode * NclSwitch::getNode ( const string &  id)

References _rules.

Referenced by ParserXercesC::posCompileSwitch().

const list< NclNode * > * NclComposition::getNodes ( )
inherited
NclComposition * NclNode::getParent ( )
inherited
NclPort * NclComposition::getPort ( const string &  id)
inherited
const list< NclPort * > * NclComposition::getPorts ( )
inherited
string NclNode::getProperty ( const string &  name)
inherited
const list< pair< NclNode *, Predicate * > > * NclSwitch::getRules ( )

References _rules, and GINGA_NAMESPACE_END.

bool NclNode::hasProperty ( const string &  name)
inherited

References NclNode::_anchors, cast, and NclEntity::getId().

Referenced by ncl_pop_ncl().

void NclNode::initParent ( NclComposition parent)
inherited
void NclNode::setProperty ( const string &  name,
const string &  value 
)
inherited

Member Data Documentation

list<NclPort *> NclComposition::_ports
protectedinherited
list<pair<NclNode *, Predicate *> > NclSwitch::_rules
private

Referenced by addNode(), getNode(), getRules(), and ~NclSwitch().


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