#include <Component.hpp>
Public Member Functions | |
Component (void) | |
Default Constructor. | |
Component (ComponentCref) | |
Copy Constructor. | |
virtual | ~Component (void) |
Virtual Destructor. | |
ComponentRef | operator= (ComponentCref) |
Assignment operator overload. | |
bool | operator== (ComponentCref) const |
Equality operator overload. | |
bool | operator!= (ComponentCref) const |
Non-equality operator overload. | |
virtual void | accept (VisitorPtr) throw ( NullPointerException ) |
Accept is a double dispatch method which allows components to have new operations defined without changing the structure of the components themselves. |
This is a safe component by which the composite implementation fully declares leaf management methods.
corelinux::Component::Component | ( | ComponentCref | ) |
ComponentRef corelinux::Component::operator= | ( | ComponentCref | ) |
bool corelinux::Component::operator== | ( | ComponentCref | aRef | ) | const |
Equality operator overload.
Component | const reference |
Referenced by operator!=().
bool corelinux::Component::operator!= | ( | ComponentCref | aRef | ) | const |
Non-equality operator overload.
Component | const reference |
References operator==().
void corelinux::Component::accept | ( | VisitorPtr | aVisitor | ) | throw ( NullPointerException ) [virtual] |
Accept is a double dispatch method which allows components to have new operations defined without changing the structure of the components themselves.
Visitor | pointer to visitor |
NullPointerException | if pointer is null |