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) | |
![]() | |
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 () | |
![]() | |
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 () | |
![]() | |
TreeNode * | decrement () const |
const string & | getName () const |
TreeNode * | increment () const |
bool | operator< (const TreeNode &o) |
TreeNode (const string &n) | |
virtual | ~TreeNode () |
![]() | |
virtual bool | getHidden () const |
Object () | |
virtual void | setHidden (bool b) |
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 () |
Static Public Member Functions | |
static int | initialize () |
![]() | |
static PyObject * | addPythonResource (PyObject *, PyObject *) |
static int | initialize () |
![]() | |
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) |
![]() | |
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 const MetaCategory * | metadata |
Additional Inherited Members | |
![]() | |
typedef Association< Resource, Skill, ResourceSkill >::ListB | resourcelist |
![]() | |
NonCopyable () | |
~NonCopyable () | |
![]() | |
static PythonType * | registerPythonType (int, const type_info *) |
![]() | |
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.