#include <IConfig.h>
Public Member Functions | |
virtual const sk::util::String | getProperty (const sk::util::String &name) const =0 |
virtual const sk::util::String | getProperty (const sk::util::String &name, const sk::util::String &fallback) const =0 |
virtual const sk::util::String | getProperty (const sk::util::String &name, const char *fallback) const =0 |
virtual bool | getProperty (const sk::util::String &name, const sk::util::Boolean &fallback) const =0 |
virtual int | getProperty (const sk::util::String &name, int fallback) const =0 |
virtual bool | hasProperty (const sk::util::String &name) const =0 |
virtual void | setProperty (const sk::util::String &name, const sk::util::String &value)=0 |
virtual bool | checkLogLevel (const Level &level) const =0 |
virtual logger::Destination & | getLogDestination () const =0 |
virtual const char * | getTimeFormat () const =0 |
virtual bool | isLogPid () const =0 |
virtual bool | isLogTime () const =0 |
virtual bool | isLogObject () const =0 |
virtual void | setLogDestination (const logger::Destination &destination)=0 |
virtual void | setLogLevel (const logger::Level &level)=0 |
virtual void | setTimeFormat (const sk::util::String &format)=0 |
virtual void | setLogPid (bool state)=0 |
virtual void | setLogTime (bool state)=0 |
virtual void | setLogObject (bool state)=0 |
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 const Class | getClass () const |
Returns the object's class. | |
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. |
virtual bool sk::rt::logger::IConfig::checkLogLevel | ( | const Level & | level | ) | const [pure virtual, inherited] |
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.
virtual const Class sk::util::Object::getClass | ( | ) | const [virtual, inherited] |
Returns the object's class.
Reimplemented in sk::cppunit::SourcePath, sk::io::AbstractInputStream, sk::io::AbstractOutputStream, sk::io::AbstractPipe, sk::io::AnonymousPipe, sk::io::BufferedInputStream, sk::io::BufferedOutputStream, sk::io::ByteArrayInputStream, sk::io::ByteArrayOutputStream, sk::io::ClosedChannelException, sk::io::DataInputStream, sk::io::DataOutputStream, sk::io::DelegatingInputStream, sk::io::DelegatingOutputStream, sk::io::DelegatingTty, sk::io::EOFException, sk::io::File, sk::io::FileDescriptor, sk::io::FileDescriptorInputStream, sk::io::FileDescriptorOutputStream, sk::io::FileInputStream, sk::io::FileOutputStream, sk::io::IOException, sk::io::Pty, sk::io::TtyDevice, sk::io::TtyFileDescriptor, sk::net::ip4::Address, sk::rt::config::CwdUprootLocator, sk::rt::config::HomeLocator, sk::rt::config::InlineLocator, sk::rt::config::SpotLocator, sk::rt::config::UprootLocator, sk::rt::logger::Level, sk::rt::logger::Spot, sk::rt::logger::Stream, sk::rt::Mutex, sk::rt::ReentrantLock, sk::rt::scope::Aggregator, sk::rt::scope::Controller, sk::rt::Scope, sk::rt::thread::abstract::Factory, sk::rt::thread::AbstractLock, sk::rt::thread::Exit, sk::rt::thread::State, sk::rt::Thread, sk::sys::AbstractProcessListener, sk::sys::DelegatingExecutable, sk::sys::Group, sk::sys::Pipeline, sk::sys::PipeProcess, sk::sys::Process, sk::sys::PtyProcess, sk::sys::User, sk::util::AbstractCollection< T >, sk::util::AbstractList< T >, sk::util::ArrayList< T >, sk::util::Boolean, sk::util::Class, sk::util::Container, sk::util::Exception, sk::util::IllegalStateException, sk::util::IndexOutOfBoundsException, sk::util::InsufficientMemoryException, sk::util::Integer, sk::util::InterruptedException, sk::util::Method, sk::util::MissingResourceException, sk::util::NoSuchElementException, sk::util::NullPointerException, sk::util::NumberFormatException, sk::util::Pathname, sk::util::String, sk::util::StringArray, sk::util::StringHash, sk::util::SystemException, sk::util::UnsupportedOperationException, sk::util::AbstractCollection< T >, and sk::util::AbstractList< T >.
virtual uint64_t sk::util::Object::getId | ( | ) | const [virtual, inherited] |
virtual logger::Destination& sk::rt::logger::IConfig::getLogDestination | ( | ) | const [pure virtual, inherited] |
virtual int sk::rt::scope::IConfig::getProperty | ( | const sk::util::String & | name, | |
int | fallback | |||
) | const [pure virtual] |
virtual bool sk::rt::scope::IConfig::getProperty | ( | const sk::util::String & | name, | |
const sk::util::Boolean & | fallback | |||
) | const [pure virtual] |
virtual const sk::util::String sk::rt::scope::IConfig::getProperty | ( | const sk::util::String & | name, | |
const char * | fallback | |||
) | const [pure virtual] |
virtual const sk::util::String sk::rt::scope::IConfig::getProperty | ( | const sk::util::String & | name, | |
const sk::util::String & | fallback | |||
) | const [pure virtual] |
virtual const sk::util::String sk::rt::scope::IConfig::getProperty | ( | const sk::util::String & | name | ) | const [pure virtual] |
virtual const char* sk::rt::logger::IConfig::getTimeFormat | ( | ) | const [pure virtual, inherited] |
virtual bool sk::rt::scope::IConfig::hasProperty | ( | const sk::util::String & | name | ) | const [pure virtual] |
virtual const String sk::util::Object::inspect | ( | ) | const [virtual, inherited] |
Returns a string containing human-readable representation of the object.
Reimplemented in sk::rt::thread::AbstractLock, sk::rt::Thread, sk::util::Class, sk::util::Container, sk::util::slot::Pointer< T, Mixin >, sk::util::slot::Reference< T, Mixin >, sk::util::String, and sk::util::StringArray.
virtual bool sk::rt::logger::IConfig::isLogObject | ( | ) | const [pure virtual, inherited] |
virtual bool sk::rt::logger::IConfig::isLogPid | ( | ) | const [pure virtual, inherited] |
virtual bool sk::rt::logger::IConfig::isLogTime | ( | ) | const [pure virtual, inherited] |
virtual const Object& sk::util::Object::self | ( | ) | const [virtual, inherited] |
Reimplemented in sk::util::String.
virtual Object& sk::util::Object::self | ( | ) | [virtual, inherited] |
virtual void sk::rt::logger::IConfig::setLogDestination | ( | const logger::Destination & | destination | ) | [pure virtual, inherited] |
virtual void sk::rt::logger::IConfig::setLogLevel | ( | const logger::Level & | level | ) | [pure virtual, inherited] |
virtual void sk::rt::logger::IConfig::setLogObject | ( | bool | state | ) | [pure virtual, inherited] |
virtual void sk::rt::logger::IConfig::setLogPid | ( | bool | state | ) | [pure virtual, inherited] |
virtual void sk::rt::logger::IConfig::setLogTime | ( | bool | state | ) | [pure virtual, inherited] |
virtual void sk::rt::scope::IConfig::setProperty | ( | const sk::util::String & | name, | |
const sk::util::String & | value | |||
) | [pure virtual] |
virtual void sk::rt::logger::IConfig::setTimeFormat | ( | const sk::util::String & | format | ) | [pure virtual, inherited] |
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.