|
JAPAn
Just Another Parity Analyzer
|
Mix-in template for concrete cloneable types. More...
#include <QwFactory.h>
Inheritance diagram for MQwCloneable< base_t, type_t >:
Collaboration diagram for MQwCloneable< base_t, type_t >:Public Member Functions | |
| ~MQwCloneable () override | |
| Virtual destructor. | |
| base_t * | Clone () const override |
| Concrete clone method. | |
| const VQwFactory< base_t > * | Factory () const override |
| Factory getter. | |
Public Member Functions inherited from VQwCloneable< base_t > | |
| virtual | ~VQwCloneable () |
| Virtual destructor. | |
| std::string | GetClassName () const |
| Get demangled name of this class. | |
Static Public Member Functions | |
| static base_t * | Create (const std::string &name) |
| Object creation. | |
| static type_t * | Cast (type_t *type) |
| Object dynamic cast. | |
Static Private Attributes | |
| static const VQwFactory< base_t > * | fFactory |
| Pointer to the factory of this type. | |
Mix-in template for concrete cloneable types.
Implements the curiously recurring template pattern to provide concrete clone functionality for specific derived types. Enables factory-based object creation and copying.
Definition at line 212 of file QwFactory.h.
|
inlineoverride |
|
inlinestatic |
Object dynamic cast.
Definition at line 234 of file QwFactory.h.
References fFactory.
|
inlineoverridevirtual |
Concrete clone method.
Reimplemented from VQwCloneable< base_t >.
Definition at line 220 of file QwFactory.h.
|
inlinestatic |
|
inlineoverridevirtual |
Factory getter.
Reimplemented from VQwCloneable< base_t >.
Definition at line 225 of file QwFactory.h.
References fFactory.
|
staticprivate |
Pointer to the factory of this type.
Definition at line 242 of file QwFactory.h.