1 #if !defined(__PROTOTYPE_HPP) 2 #define __PROTOTYPE_HPP 24 #if !defined(__COMMON_HPP) 35 template<
class TypeImpl >
109 virtual TypeImpl *
clone(
void )
const = 0 ;
115 #endif // if !defined(__PROTOTYPE_HPP) Prototype & operator=(const Prototype &aPrototype)
Assignment operator.
Definition: Prototype.hpp:82
virtual ~Prototype(void)
Virtual destructor.
Definition: Prototype.hpp:67
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
Specify the kinds of objects to create using a prototypical instance, and create new objects by copyi...
Definition: Prototype.hpp:36
bool operator==(const Prototype &aPrototype) const
Equality operator.
Definition: Prototype.hpp:94
virtual TypeImpl * clone(void) const =0
clone is used to create a copy of the current prototype instance.
Prototype(const Prototype &aPrototype)
Copy constructor.
Definition: Prototype.hpp:58
An CoreLinuxObject is a base class for the library.
Definition: CoreLinuxObject.hpp:39
CoreLinuxObjectRef operator=(CoreLinuxObjectCref)
Assignment operator overload.
Definition: CoreLinuxObject.cpp:58
bool operator==(CoreLinuxObjectCref) const
Equality operator overload.
Definition: CoreLinuxObject.cpp:67
Prototype(void)
Default constructor.
Definition: Prototype.hpp:46