this class is the default implementation of the abstract Skill class. More...
#include <model.h>

Public Member Functions | |
| virtual size_t | getSize () const |
| virtual const MetaClass & | getType () const |
| SkillDefault (const string &str) | |
Public Member Functions inherited from frepple::Skill | |
| void | beginElement (XMLInput &, const Attribute &) |
| void | endElement (XMLInput &, const Attribute &, const DataElement &) |
| size_t | extrasize () const |
| virtual PyObject * | getattro (const Attribute &) |
| const resourcelist & | getResources () const |
| virtual int | setattro (const Attribute &, const PythonObject &) |
| Skill (const string &n) | |
| virtual void | writeElement (XMLOutput *, const Keyword &, mode=DEFAULT) const |
| ~Skill () | |
Public Member Functions inherited from frepple::utils::HasName< Skill > | |
| int | compare (const PyObject *other) const |
| void | endElement (XMLInput &pIn, const Attribute &pAttr, const DataElement &pElement) |
| HasName (const string &n) | |
| HasName (const char *n) | |
| void | setName (const string &newname) |
| virtual PyObject * | str () const |
| ~HasName () | |
Public Member Functions inherited from frepple::utils::Tree::TreeNode | |
| TreeNode * | decrement () const |
| const string & | getName () const |
| TreeNode * | increment () const |
| bool | operator< (const TreeNode &o) |
| TreeNode (const string &n) | |
| virtual | ~TreeNode () |
Public Member Functions inherited from frepple::utils::Object | |
| virtual bool | getHidden () const |
| Object () | |
| virtual void | setHidden (bool b) |
| virtual | ~Object () |
Public Member Functions inherited from frepple::utils::PythonExtensionBase | |
| 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 () |
Static Public Member Functions | |
| static int | initialize () |
Static Public Member Functions inherited from frepple::Skill | |
| static PyObject * | addPythonResource (PyObject *, PyObject *) |
| static int | initialize () |
Static Public Member Functions inherited from frepple::utils::HasName< Skill > | |
| static Skill * | add (const string &k, const MetaClass &cls) |
| static Skill * | add (Skill *t) |
| static Skill * | add (Skill *t, Skill *hint) |
| static iterator | begin () |
| static void | clear () |
| static bool | empty () |
| static iterator | end () |
| static Skill * | find (const string &k) |
| static Skill * | findLowerBound (const string &k, bool *f=NULL) |
| static Object * | reader (const MetaClass *cat, const AttributeList &in) |
| static size_t | size () |
| static void | verify () |
| static void | writer (const MetaCategory *c, XMLOutput *o) |
Static Public Member Functions inherited from frepple::utils::Object | |
| template<class T > | |
| static PyObject * | create (PyTypeObject *pytype, PyObject *args, PyObject *kwds) |
| template<class T > | |
| static Object * | createDefault () |
| template<class T > | |
| static Object * | createString (const string &n) |
| static PyObject * | toXML (PyObject *, PyObject *) |
Static Public Attributes | |
| static const MetaClass * | metadata |
Static Public Attributes inherited from frepple::Skill | |
| static const MetaCategory * | metadata |
Additional Inherited Members | |
Public Types inherited from frepple::Skill | |
| typedef Association< Resource, Skill, ResourceSkill >::ListB | resourcelist |
Protected Member Functions inherited from frepple::utils::NonCopyable | |
| NonCopyable () | |
| ~NonCopyable () | |
Static Protected Member Functions inherited from frepple::utils::PythonExtensionBase | |
| static PythonType * | registerPythonType (int, const type_info *) |
Static Protected Attributes inherited from frepple::utils::PythonExtensionBase | |
| static vector< PythonType * > | table |
this class is the default implementation of the abstract Skill class.
|
inlineexplicit |
|
inlinevirtual |
Return the memory size of the object in bytes.
Reimplemented from frepple::Skill.
|
inlinevirtual |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Skill.