![]() |
Templates -- Meow
2.0.-1
A C++ template contains kinds of interesting classes and functions
|
A class which contains input elements, output elements and an operation. More...
#include "factory.h"
Public Member Functions | |
Factory (Pointer< Operation const > const &arg_oper, Pointer< Pointer< Object const >> const &arg_inputs, Pointer< Pointer< Object >> const &arg_outputs, bool arg_check_before_update) | |
Constructor. More... | |
State | Update () const |
Updates the output elements. More... | |
bool | HasRedo () const |
Returns whether the output elements have been re-generated by running the operation again. More... | |
Pointer< Operation const > | operation () const |
Gets the operation. More... | |
Pointer< Pointer< Object > > | inputs () const |
Gets the array of the input elements. More... | |
Pointer< Pointer< Object const > > | outputs () const |
Gets the array of the output elements. More... | |
Object * | Copy () const |
Creates a copy of itself and return the pointer to it. More... | |
Object * | CopyFrom (Object const *another_factory) |
Copies data from another object. More... | |
bool | Equals (Object const *another_factory) |
![]() | |
virtual | ~Object () |
Virtual destructor. More... | |
virtual bool | Equals (Object const *ptr) const |
Returns whether it equals to another object or not. More... | |
Object & | operator= (Object const &b) |
Disable the copy operator. More... | |
Additional Inherited Members | |
![]() | |
Object () | |
A protected constructor to prevent developers create an instance of Object directly. More... | |
Object (Object const &b) | |
Disable the copy operation. More... | |
A class which contains input elements, output elements and an operation.
|
inlinevirtual |
Creates a copy of itself and return the pointer to it.
Reimplemented from meow::Object.
Copies data from another object.
[in] | ptr | Points to another object. |
Reimplemented from meow::Object.
|
inline |
|
inline |
|
inline |