This class is the default implementation of the abstract Resource class. More...
#include <model.h>
Public Member Functions | |
virtual size_t | getSize () const |
virtual const MetaClass & | getType () const |
ResourceDefault (const string &str) | |
![]() | |
void | beginElement (XMLInput &, const Attribute &) |
void | deleteOperationPlans (bool=false) |
void | endElement (XMLInput &, const Attribute &, const DataElement &) |
size_t | extrasize () const |
Load * | findLoad (const Operation *o, Date d) const |
virtual PyObject * | getattro (const Attribute &) |
double | getCost () const |
bool | getHidden () const |
const loadplanlist & | getLoadPlans () const |
loadplanlist & | getLoadPlans () |
const loadlist & | getLoads () const |
Location * | getLocation () const |
TimePeriod | getMaxEarly () const |
double | getMaximum () const |
CalendarDouble * | getMaximumCalendar () const |
const string & | getSetup () const |
SetupMatrix * | getSetupMatrix () const |
const skilllist & | getSkills () const |
Resource (const string &str) | |
virtual int | setattro (const Attribute &, const PythonObject &) |
void | setCost (const double c) |
void | setHidden (bool b) |
void | setLocation (Location *i) |
void | setMaxEarly (TimePeriod c) |
void | setMaximum (double) |
void | setMaximumCalendar (CalendarDouble *) |
void | setSetup (const string s) |
void | setSetupMatrix (SetupMatrix *s) |
virtual void | solve (Solver &s, void *v=NULL) const |
virtual void | updateProblems () |
virtual void | updateSetups (const LoadPlan *=NULL) |
virtual void | writeElement (XMLOutput *, const Keyword &, mode=DEFAULT) const |
virtual | ~Resource () |
![]() | |
memberIterator | beginMember () const |
unsigned short | getHierarchyLevel () const |
Resource * | getOwner () const |
HasHierarchy (const string &n) | |
bool | hasOwner () const |
bool | isGroup () const |
void | setOwner (Resource *f) |
~HasHierarchy () | |
![]() | |
int | compare (const PyObject *other) const |
HasName (const string &n) | |
HasName (const char *n) | |
void | setName (const string &newname) |
virtual PyObject * | str () const |
~HasName () | |
![]() | |
TreeNode * | decrement () const |
const string & | getName () const |
TreeNode * | increment () const |
bool | operator< (const TreeNode &o) |
TreeNode (const string &n) | |
virtual | ~TreeNode () |
![]() | |
Object () | |
virtual | ~Object () |
![]() | |
virtual PyObject * | call (const PythonObject &args, const PythonObject &kwds) |
Py_ssize_t | getReferenceCount () const |
void | initType (const MetaClass *t) |
void | initType (PyTypeObject *t) |
virtual PyObject * | iternext () |
PythonExtensionBase () | |
void | resetReferenceCount () |
virtual | ~PythonExtensionBase () |
![]() | |
unsigned short | getCluster () const |
short | getLevel () const |
![]() | |
bool | getChanged () const |
bool | getDetectProblems () const |
Plannable * | getEntity () const |
Plannable () | |
void | setChanged (bool b=true) |
void | setDetectProblems (bool b) |
![]() | |
HasProblems () | |
virtual | ~HasProblems () |
![]() | |
virtual | ~Solvable () |
![]() | |
string | getCategory () const |
string | getDescription () const |
string | getSubCategory () const |
void | setCategory (const string &f) |
void | setDescription (const string &f) |
void | setSubCategory (const string &f) |
Static Public Member Functions | |
static int | initialize () |
Static Public Attributes | |
static const MetaClass * | metadata |
![]() | |
static const long | defaultMaxEarly = 100*86400L |
Additional Inherited Members | |
![]() | |
typedef Association< Operation, Resource, Load >::ListB | loadlist |
typedef TimeLine< LoadPlan > | loadplanlist |
typedef Association< Resource, Skill, ResourceSkill >::ListA | skilllist |
This class is the default implementation of the abstract Resource class.
|
inlineexplicit |
|
inlinevirtual |
Return the memory size of the object in bytes.
Implements frepple::utils::Object.
|
inlinevirtual |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Resource.
|
static |
Initialize the class.
Reimplemented from frepple::Resource.
Definition at line 45 of file resource.cpp.
|
static |
Reimplemented from frepple::Resource.