Ginga  0.13.6.1771-df200
The iTV middleware.
NclComposition Class Reference

#include <NclComposition.h>

Inheritance diagram for NclComposition:
Collaboration diagram for NclComposition:

Public Member Functions

 NclComposition (NclDocument *, const string &)
 
 ~NclComposition ()
 
void addNode (NclNode *)
 
const list< NclNode * > * getNodes ()
 
NclNodegetNode (const string &)
 
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
 

Constructor & Destructor Documentation

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

References _nodes, and _ports.

Member Function Documentation

void NclComposition::addNode ( NclNode node)
void NclComposition::addPort ( NclPort port)
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)

References _nodes, cast, and instanceof.

NclNode * NclComposition::getNode ( const string &  id)
const list< NclNode * > * NclComposition::getNodes ( )

References _nodes.

Referenced by ParserXercesC::solveNodeReferences().

NclComposition * NclNode::getParent ( )
inherited
NclPort * NclComposition::getPort ( const string &  id)

References _ports.

const list< NclPort * > * NclComposition::getPorts ( )
string NclNode::getProperty ( const string &  name)
inherited
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

References NclNode::_parent, and g_assert_nonnull().

Referenced by addNode().

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

Member Data Documentation

list<NclNode *> NclComposition::_nodes
protected
list<NclPort *> NclComposition::_ports
protected

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