NamedObject Class Reference

#include <NamedObject.h>

Inherits Object.

Inherited by File, RegistryBase, and ServiceBase.

Inheritance diagram for NamedObject:

Inheritance graph
[legend]
Collaboration diagram for NamedObject:

Collaboration graph
[legend]
List of all members.

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 &regExp, const bool ignoreCase=true)

Protected Member Functions

int setName (const String &name)

Private Attributes

String _name
String _manual

Detailed Description

Definition at line 18 of file NamedObject.h.


Constructor & Destructor Documentation

NamedObject::NamedObject ( const String name,
const String manual = "" 
)

Definition at line 17 of file NamedObject.cpp.

NamedObject::~NamedObject (  )  [virtual]

Definition at line 24 of file NamedObject.cpp.


Member Function Documentation

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]

Definition at line 58 of file NamedObject.h.

References _manual.

Referenced by apropos(), and manual().

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().

StringSet NamedObject::apropos ( const String regExp,
const bool  ignoreCase = true 
) [static]

Definition at line 103 of file NamedObject.cpp.

References Object::_objects, Core::_services, manual(), and name().

int NamedObject::setName ( const String name  )  [protected]

Definition at line 141 of file NamedObject.cpp.

References _name, name(), and OK.


Member Data Documentation

String NamedObject::_name [private]

Definition at line 47 of file NamedObject.h.

Referenced by name(), and setName().

String NamedObject::_manual [private]

Definition at line 48 of file NamedObject.h.

Referenced by manual().


The documentation for this class was generated from the following files:
Generated on Thu Sep 6 20:13:44 2007 for Pylon Application Platform by  doxygen 1.5.1