sk::util::Container Class Reference

#include <Container.h>

Inheritance diagram for sk::util::Container:

sk::util::Object

List of all members.

Public Member Functions

 Container ()
 Container (int size)
 Container (const char *buffer)
 Container (const char *buffer, int length)
 Container (const std::string &string)
 Container (const std::string &string, int number)
 Container (const std::vector< char > &vector)
 Container (const std::vector< char > &vector, int number)
virtual ~Container ()
bool isEmpty () const
int size () const
int length () const
Containeroperator+= (const char *buffer)
Containeroperator+= (const std::string &string)
Containeroperator+= (const std::vector< char > &other)
Containerappend (const std::vector< char > &other)
const sk::util::Class getClass () const
 Returns the object's class.
const sk::util::String inspect () const
 Returns a string containing human-readable representation of the object.
const sk::util::String toString () const
 Returns a string representation of the object. By default, it returns the object's class and the objects's id.
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 uint64_t getId () const
 Returns a unique object id.


Constructor & Destructor Documentation

sk::util::Container::Container (  ) 

sk::util::Container::Container ( int  size  ) 

sk::util::Container::Container ( const char *  buffer  ) 

sk::util::Container::Container ( const char *  buffer,
int  length 
)

sk::util::Container::Container ( const std::string &  string  ) 

sk::util::Container::Container ( const std::string &  string,
int  number 
)

sk::util::Container::Container ( const std::vector< char > &  vector  ) 

sk::util::Container::Container ( const std::vector< char > &  vector,
int  number 
)

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


Member Function Documentation

Container& sk::util::Container::append ( const std::vector< char > &  other  ) 

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.

const sk::util::Class sk::util::Container::getClass (  )  const [virtual]

Returns the object's class.

Reimplemented from sk::util::Object.

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

Returns a unique object id.

Reimplemented in sk::rt::Thread.

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

Returns a string containing human-readable representation of the object.

Reimplemented from sk::util::Object.

bool sk::util::Container::isEmpty (  )  const

int sk::util::Container::length (  )  const

Container& sk::util::Container::operator+= ( const std::vector< char > &  other  ) 

Container& sk::util::Container::operator+= ( const std::string &  string  ) 

Container& sk::util::Container::operator+= ( const char *  buffer  ) 

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.

int sk::util::Container::size (  )  const

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

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

Reimplemented from sk::util::Object.


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