CoreLinux++
0.4.32
|
A Component declares the interface for the objects in a composition and implements default behavior. More...
#include <Component.hpp>
Public Member Functions | |
Component (void) | |
Default Constructor. | |
Component (ComponentCref) | |
Copy Constructor. More... | |
virtual | ~Component (void) |
Virtual Destructor. | |
ComponentRef | operator= (ComponentCref) |
Assignment operator overload. More... | |
bool | operator== (ComponentCref) const |
Equality operator overload. More... | |
bool | operator!= (ComponentCref) const |
Non-equality operator overload. More... | |
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. More... | |
![]() | |
CoreLinuxObject (void) | |
Default Constructor. | |
CoreLinuxObject (CoreLinuxObjectCref) | |
Copy Constructor. More... | |
virtual | ~CoreLinuxObject (void) |
Virtual Destructor. | |
CoreLinuxObjectRef | operator= (CoreLinuxObjectCref) |
Assignment operator overload. More... | |
bool | operator== (CoreLinuxObjectCref) const |
Equality operator overload. More... | |
bool | operator!= (CoreLinuxObjectCref) const |
Non-equality operator overload. More... | |
A Component declares the interface for the objects in a composition and implements default behavior.
This is a safe component by which the composite implementation fully declares leaf management methods.
corelinux::Component::Component | ( | ComponentCref | ) |
Copy Constructor.
Component | const reference |
|
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 |
bool corelinux::Component::operator!= | ( | ComponentCref | aRef | ) | const |
Non-equality operator overload.
Component | const reference |
References operator==().
ComponentRef corelinux::Component::operator= | ( | ComponentCref | ) |
bool corelinux::Component::operator== | ( | ComponentCref | aRef | ) | const |
Equality operator overload.
Component | const reference |
Referenced by operator!=().