sk::rt::Scope Class Reference

#include <Scope.h>

Inheritance diagram for sk::rt::Scope:

sk::rt::logger::IScope sk::util::Object

List of all members.

Public Member Functions

 Scope (const sk::util::Object &object)
 Scope (const sk::util::String &name)
 Scope (const Scope &other)
virtual ~Scope ()
Scopeoperator= (const Scope &other)
const Scope scope (const sk::util::String &name) const
const logger::Stream error (const sk::util::String &label=sk::util::String::EMPTY, const sk::rt::logger::Spot &spot=sk::rt::logger::Spot::NOTSET) const
const logger::Stream warning (const sk::util::String &label=sk::util::String::EMPTY, const sk::rt::logger::Spot &spot=sk::rt::logger::Spot::NOTSET) const
const logger::Stream stat (const sk::util::String &label=sk::util::String::EMPTY, const sk::rt::logger::Spot &spot=sk::rt::logger::Spot::NOTSET) const
const logger::Stream info (const sk::util::String &label=sk::util::String::EMPTY, const sk::rt::logger::Spot &spot=sk::rt::logger::Spot::NOTSET) const
const logger::Stream notice (const sk::util::String &label=sk::util::String::EMPTY, const sk::rt::logger::Spot &spot=sk::rt::logger::Spot::NOTSET) const
const logger::Stream debug (const sk::util::String &label=sk::util::String::EMPTY, const sk::rt::logger::Spot &spot=sk::rt::logger::Spot::NOTSET) const
const logger::Stream detail (const sk::util::String &label=sk::util::String::EMPTY, const sk::rt::logger::Spot &spot=sk::rt::logger::Spot::NOTSET) const
const sk::util::String getProperty (const sk::util::String &name) const
bool hasProperty (const sk::util::String &name) const
const sk::util::String getProperty (const sk::util::String &name, const sk::util::String &fallback) const
const sk::util::String getProperty (const sk::util::String &name, const char *fallback) const
int getProperty (const sk::util::String &name, int fallback) const
bool getProperty (const sk::util::String &name, const sk::util::Boolean &fallback) const
const sk::util::Class getClass () const
 Returns the object's class.
virtual Object & self ()
 Returns a reference to itself.
virtual const Object & self () const
Object * clone () const
 Instantiates another object of the same class as a copy of itself.
virtual uint64_t getId () const
 Returns a unique object id.
virtual const String toString () const
 Returns a string representation of the object. By default, it returns the object's class and the objects's id.
virtual const String inspect () const
 Returns a string containing human-readable representation of the object.

Static Public Member Functions

static scope::Controllercontroller ()

Protected Member Functions

void agregateScopeName (std::ostream &stream) const
const sk::util::ObjectgetObject () const
const scope::IConfiggetConfig () const


Constructor & Destructor Documentation

sk::rt::Scope::Scope ( const sk::util::Object object  ) 

sk::rt::Scope::Scope ( const sk::util::String name  ) 

sk::rt::Scope::Scope ( const Scope other  ) 

virtual sk::rt::Scope::~Scope (  )  [virtual]


Member Function Documentation

void sk::rt::Scope::agregateScopeName ( std::ostream &  stream  )  const [protected, virtual]

Object* sk::util::Object::clone (  )  const [inherited]

Instantiates another object of the same class as a copy of itself.

Reimplemented in sk::rt::logger::Destination, and sk::util::String.

static scope::Controller& sk::rt::Scope::controller (  )  [static]

const logger::Stream sk::rt::Scope::debug ( const sk::util::String label = sk::util::String::EMPTY,
const sk::rt::logger::Spot spot = sk::rt::logger::Spot::NOTSET 
) const

const logger::Stream sk::rt::Scope::detail ( const sk::util::String label = sk::util::String::EMPTY,
const sk::rt::logger::Spot spot = sk::rt::logger::Spot::NOTSET 
) const

const logger::Stream sk::rt::Scope::error ( const sk::util::String label = sk::util::String::EMPTY,
const sk::rt::logger::Spot spot = sk::rt::logger::Spot::NOTSET 
) const

const sk::util::Class sk::rt::Scope::getClass (  )  const [virtual]

Returns the object's class.

Reimplemented from sk::util::Object.

const scope::IConfig& sk::rt::Scope::getConfig (  )  const [protected, virtual]

virtual uint64_t sk::util::Object::getId (  )  const [virtual, inherited]

Returns a unique object id.

Reimplemented in sk::rt::Thread.

const sk::util::Object& sk::rt::Scope::getObject (  )  const [protected, virtual]

bool sk::rt::Scope::getProperty ( const sk::util::String name,
const sk::util::Boolean fallback 
) const

int sk::rt::Scope::getProperty ( const sk::util::String name,
int  fallback 
) const

const sk::util::String sk::rt::Scope::getProperty ( const sk::util::String name,
const char *  fallback 
) const

const sk::util::String sk::rt::Scope::getProperty ( const sk::util::String name,
const sk::util::String fallback 
) const

const sk::util::String sk::rt::Scope::getProperty ( const sk::util::String name  )  const

bool sk::rt::Scope::hasProperty ( const sk::util::String name  )  const

const logger::Stream sk::rt::Scope::info ( const sk::util::String label = sk::util::String::EMPTY,
const sk::rt::logger::Spot spot = sk::rt::logger::Spot::NOTSET 
) const

virtual const String sk::util::Object::inspect (  )  const [virtual, inherited]

const logger::Stream sk::rt::Scope::notice ( const sk::util::String label = sk::util::String::EMPTY,
const sk::rt::logger::Spot spot = sk::rt::logger::Spot::NOTSET 
) const

Scope& sk::rt::Scope::operator= ( const Scope other  ) 

const Scope sk::rt::Scope::scope ( const sk::util::String name  )  const

virtual const Object& sk::util::Object::self (  )  const [virtual, inherited]

Reimplemented in sk::util::String.

virtual Object& sk::util::Object::self (  )  [virtual, inherited]

Returns a reference to itself.

Reimplemented in sk::util::String.

const logger::Stream sk::rt::Scope::stat ( const sk::util::String label = sk::util::String::EMPTY,
const sk::rt::logger::Spot spot = sk::rt::logger::Spot::NOTSET 
) const

virtual const String sk::util::Object::toString (  )  const [virtual, inherited]

Returns a string representation of the object. By default, it returns the object's class and the objects's id.

Reimplemented in sk::rt::logger::Level, sk::rt::thread::State, sk::util::Boolean, sk::util::Class, sk::util::Container, sk::util::Pathname, and sk::util::String.

const logger::Stream sk::rt::Scope::warning ( const sk::util::String label = sk::util::String::EMPTY,
const sk::rt::logger::Spot spot = sk::rt::logger::Spot::NOTSET 
) const


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

Generated on Tue Mar 3 12:36:09 2009 for stemkit-cpp by  doxygen 1.5.8