22 #ifndef OTAWA_SCRIPT_NAMEDOBJECT_H_
23 #define OTAWA_SCRIPT_NAMEDOBJECT_H_
25 #include <elm/genstruct/AVLMap.h>
26 #include <elm/serial2/macros.h>
28 namespace otawa {
namespace script {
44 {
return T::__class.baseOf(this->__getSerialClass()); }
Named are used by script to locate a data structure passed as argument to a code processor.
Definition: NamedObject.h:32
NamedObject(void)
Anonymous named object constructor.
Definition: NamedObject.h:39
string name
Definition: NamedObject.h:48
static genstruct::AVLMap< string, NamedObject * > objects
Known named objects.
Definition: NamedObject.h:47
cstring name
Definition: odisasm.cpp:107
bool implements(void) const
Definition: NamedObject.h:43
string getName(void) const
Get the name of the object.
Definition: NamedObject.h:42