|
InFact
Interpreter and factory for easily creating C++ objects at run-time
|
An interface to represent a date. More...
#include <example.h>
Public Member Functions | |
| Date () | |
| Constructs this date. More... | |
| virtual | ~Date () |
| Destroys this date. More... | |
| virtual int | year () const =0 |
| Returns the year. More... | |
| virtual int | month () const =0 |
| Returns the month. More... | |
| virtual int | day () const =0 |
| Returns the day. More... | |
Public Member Functions inherited from infact::FactoryConstructible | |
| virtual | ~FactoryConstructible () |
| Destroys this instance. More... | |
| virtual void | RegisterInitializers (Initializers &initializers) |
| Registers data members of this class for initialization when an instance is constructed via the Factory::CreateOrDie method. More... | |
| virtual void | PostInit (const Environment *env, const string &init_str) |
| Does any additional initialization after an instance of this class has been constructed, crucially giving access to the Environment that was in use and modified during construction by the Factory::CreateOrDie method. More... | |
|
inlinevirtual |
|
pure virtual |
Returns the day.
Implemented in infact::DateImpl.
|
pure virtual |
Returns the month.
Implemented in infact::DateImpl.
|
pure virtual |
Returns the year.
Implemented in infact::DateImpl.
1.8.6