this class is the default implementation of the abstract Skill class. More...

#include <model.h>

Inheritance diagram for frepple::SkillDefault:

Public Member Functions

virtual size_t getSize () const
 
virtual const MetaClassgetType () 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 resourcelistgetResources () 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
TreeNodedecrement () const
 
const string & getName () const
 
TreeNodeincrement () 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 Skilladd (const string &k, const MetaClass &cls)
 
static Skilladd (Skill *t)
 
static Skilladd (Skill *t, Skill *hint)
 
static iterator begin ()
 
static void clear ()
 
static bool empty ()
 
static iterator end ()
 
static Skillfind (const string &k)
 
static SkillfindLowerBound (const string &k, bool *f=NULL)
 
static Objectreader (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 ObjectcreateDefault ()
 
template<class T >
static ObjectcreateString (const string &n)
 
static PyObject * toXML (PyObject *, PyObject *)
 

Static Public Attributes

static const MetaClassmetadata
 
- Static Public Attributes inherited from frepple::Skill
static const MetaCategorymetadata
 

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 PythonTyperegisterPythonType (int, const type_info *)
 
- Static Protected Attributes inherited from frepple::utils::PythonExtensionBase
static vector< PythonType * > table
 

Detailed Description

this class is the default implementation of the abstract Skill class.

Definition at line 3838 of file model.h.

Constructor & Destructor Documentation

frepple::SkillDefault::SkillDefault ( const string &  str)
inlineexplicit

Definition at line 3841 of file model.h.

Member Function Documentation

virtual size_t frepple::SkillDefault::getSize ( ) const
inlinevirtual

Return the memory size of the object in bytes.

Reimplemented from frepple::Skill.

Definition at line 3844 of file model.h.

virtual const MetaClass& frepple::SkillDefault::getType ( ) const
inlinevirtual

This returns the type information on the object, a bit similar to the standard type_info information.

Reimplemented from frepple::Skill.

Definition at line 3842 of file model.h.

int frepple::SkillDefault::initialize ( )
static

Definition at line 42 of file skill.cpp.

Member Data Documentation

const MetaClass * frepple::SkillDefault::metadata
static

Definition at line 3843 of file model.h.


The documentation for this class was generated from the following files: