sk::util::Object Class Reference

The common base class. More...

#include <Object.h>

Inheritance diagram for sk::util::Object:

sk::util::Collection< T > sk::cppunit::SourcePath sk::io::DataInput sk::io::DataOutput sk::io::File sk::io::FileDescriptor sk::io::InputStream sk::io::OutputStream sk::io::Pipe sk::io::Tty sk::net::ip4::Address sk::rt::config::Locator sk::rt::config::NamedStreamOpener sk::rt::config::StreamProcessor sk::rt::Lock sk::rt::logger::Destination sk::rt::logger::IConfig sk::rt::logger::IScope sk::rt::logger::Level sk::rt::logger::Spot sk::rt::logger::Stream sk::rt::Runnable sk::rt::scope::Aggregator sk::rt::scope::Controller sk::rt::thread::abstract::Factory sk::rt::thread::abstract::Implementation sk::rt::thread::abstract::Mutex sk::rt::thread::abstract::Thread sk::rt::thread::Generic sk::rt::thread::State sk::rt::thread::UncaughtExceptionHandler sk::sys::Executable sk::sys::Group sk::sys::Pipeline sk::sys::ProcessListener sk::sys::User sk::util::Boolean sk::util::Class sk::util::Collection< T > sk::util::Container sk::util::Exception sk::util::Integer sk::util::Method sk::util::Pathname sk::util::Processor< T > sk::util::Selector< T > sk::util::Slot< T > sk::util::String sk::util::StringArray sk::util::StringHash sk::util::Slot< sk::io::File > sk::util::Slot< sk::uitl::Collection< T > > sk::util::Slot< T >

List of all members.

Public Member Functions

virtual ~Object ()
virtual Objectself ()
 Returns a reference to itself.
virtual const Objectself () const
Objectclone () 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.

Protected Member Functions

 Object ()


Detailed Description

The common base class.

It provides querying abilities all objects must provide. A particular object may override the methods to provide specifics about itself.


Constructor & Destructor Documentation

virtual sk::util::Object::~Object (  )  [virtual]

sk::util::Object::Object (  )  [protected]


Member Function Documentation

Object* sk::util::Object::clone (  )  const

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]

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]

Returns a unique object id.

Reimplemented in sk::rt::Thread.

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

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

Reimplemented in sk::util::String.

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

Returns a reference to itself.

Reimplemented in sk::util::String.

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

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.


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

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