1 #if !defined (__COMPONENT_HPP)
2 #define __COMPONENT_HPP
24 #if !defined(__COMMON_HPP)
32 DECLARE_CLASS( Visitor );
33 DECLARE_CLASS( Component );
105 #endif // if !defined(__COMPONENT_HPP)
Represent an operation to be performed on the components of an object structure.
Definition: Visitor.hpp:41
bool operator!=(ComponentCref) const
Non-equality operator overload.
Definition: Component.cpp:98
ComponentRef operator=(ComponentCref)
Assignment operator overload.
Definition: Component.cpp:70
A Component declares the interface for the objects in a composition and implements default behavior...
Definition: Component.hpp:42
virtual ~Component(void)
Virtual Destructor.
Definition: Component.cpp:61
NullPointerException is the base exception type for NullPointer.
Definition: NullPointerException.hpp:40
bool operator==(ComponentCref) const
Equality operator overload.
Definition: Component.cpp:79
virtual void accept(VisitorPtr)
Accept is a double dispatch method which allows components to have new operations defined without cha...
Definition: Component.cpp:107
Component(void)
Default Constructor.
Definition: Component.cpp:39
An CoreLinuxObject is a base class for the library.
Definition: CoreLinuxObject.hpp:39