#include <NamedObject.h>
Inherits Object.
Inherited by File, RegistryBase, and ServiceBase.
Inheritance diagram for NamedObject:


Public Member Functions | |
| NamedObject (const String &name, const String &manual="") | |
| virtual | ~NamedObject () |
| virtual String | name () const |
| virtual String | manual () const |
Static Public Member Functions | |
| static int | get (const String &name, NamedObject **obj, const bool ignoreCase=false) |
| static int | manual (const String &name, String &manual, const bool ignoreCase=false) |
| static StringSet | names () |
| static StringSet | apropos (const String ®Exp, const bool ignoreCase=true) |
Protected Member Functions | |
| int | setName (const String &name) |
Private Attributes | |
| String | _name |
| String | _manual |
Definition at line 18 of file NamedObject.h.
Definition at line 17 of file NamedObject.cpp.
| NamedObject::~NamedObject | ( | ) | [virtual] |
Definition at line 24 of file NamedObject.cpp.
| String NamedObject::name | ( | ) | const [inline, virtual] |
Definition at line 52 of file NamedObject.h.
References _name.
Referenced by RegistryBase::ajustName(), apropos(), Object::bindRegistry(), RegistryBase::get(), Registry< T >::get(), get(), RegistryBase::getStr(), Core::killAll(), Object::listInstances(), Object::listMyRegistry(), Object::listRegistry(), manual(), names(), Core::notifyAll(), Registry< T >::Registry(), Core::resumeAll(), Registry< T >::set(), Registry< T >::setGetter(), setName(), Registry< T >::setSetter(), RegistryBase::setStr(), and Core::suspendAll().
| String NamedObject::manual | ( | ) | const [inline, virtual] |
| int NamedObject::get | ( | const String & | name, | |
| NamedObject ** | obj, | |||
| const bool | ignoreCase = false | |||
| ) | [static] |
Definition at line 28 of file NamedObject.cpp.
References Object::_objects, CSTRING(), String::equals(), ERROR, MSG_NAMED_OBJECT_NOT_FOUND, MSG_NULL_POINTER, MSG_OBJECT_INVALID_NAME, name(), and OK.
Referenced by manual().
| int NamedObject::manual | ( | const String & | name, | |
| String & | manual, | |||
| const bool | ignoreCase = false | |||
| ) | [static] |
Definition at line 54 of file NamedObject.cpp.
References Core::_services, ERROR_BACKTRACE(), FAILED(), get(), manual(), name(), and OK.
| StringSet NamedObject::names | ( | ) | [static] |
Definition at line 74 of file NamedObject.cpp.
References Object::_objects, Core::_services, and name().
Referenced by Init::Init(), and FShGetLine::onTab().
Definition at line 103 of file NamedObject.cpp.
References Object::_objects, Core::_services, manual(), and name().
| int NamedObject::setName | ( | const String & | name | ) | [protected] |
String NamedObject::_name [private] |
String NamedObject::_manual [private] |
1.5.1