Public Member Functions | Public Attributes | Private Attributes
Component Class Reference

#include <Component.h>

List of all members.

Public Member Functions

void add (Component *childComponent)
 Component (void)
ComponentgetComponent (string name)
string getName ()
ComponentgetParentComponent ()
virtual void initialize ()=0
virtual ~Component (void)

Public Attributes

return parent

Private Attributes

string name
Componentparent
vector< Component * > subComponents

Detailed Description

Definition at line 8 of file Component.h.


Constructor & Destructor Documentation

Component::Component ( void  ) [inline]

Definition at line 16 of file Component.h.

virtual Component::~Component ( void  ) [inline, virtual]

Definition at line 20 of file Component.h.


Member Function Documentation

void Component::add ( Component childComponent) [inline]

Definition at line 28 of file Component.h.

Component* Component::getComponent ( string  name) [inline]

Definition at line 38 of file Component.h.

string Component::getName ( ) [inline]

Definition at line 33 of file Component.h.

virtual void Component::initialize ( ) [pure virtual]

Member Data Documentation

string Component::name [private]

Definition at line 13 of file Component.h.

Definition at line 12 of file Component.h.

Definition at line 26 of file Component.h.

vector<Component *> Component::subComponents [private]

Definition at line 11 of file Component.h.


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


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30