|
CoreLinux++
0.4.32
|
Specify the kinds of objects to create using a prototypical instance, and create new objects by copying (cloning) this prototype. More...
#include <Prototype.hpp>
Public Member Functions | |
| Prototype (void) | |
| Default constructor. | |
| Prototype (const Prototype &aPrototype) | |
| Copy constructor. More... | |
| virtual | ~Prototype (void) |
| Virtual destructor. | |
| Prototype & | operator= (const Prototype &aPrototype) |
| Assignment operator. More... | |
| bool | operator== (const Prototype &aPrototype) const |
| Equality operator. More... | |
| virtual TypeImpl * | clone (void) const =0 |
| clone is used to create a copy of the current prototype instance. More... | |
Public Member Functions inherited from corelinux::CoreLinuxObject | |
| 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... | |
Specify the kinds of objects to create using a prototypical instance, and create new objects by copying (cloning) this prototype.
|
inline |
Copy constructor.
| Prototype | const reference |
|
pure virtual |
clone is used to create a copy of the current prototype instance.
|
inline |
Assignment operator.
| Prototype | const reference |
References corelinux::CoreLinuxObject::operator=().
|
inline |
Equality operator.
| Prototype | const reference |
References corelinux::CoreLinuxObject::operator==().