#include <StringArray.h>
Public Member Functions | |
StringArray () | |
StringArray (const sk::util::String &item) | |
StringArray (const char *item) | |
virtual | ~StringArray () |
const sk::util::String & | get (int index) const |
int | size () const |
sk::util::StringArray | operator+ (const sk::util::String &item) const |
void | forEach (const sk::util::Processor< const sk::util::String > &processor) const |
sk::util::StringArray & | operator<< (const sk::util::String &item) |
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 | join (const sk::util::String &separator) const |
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. |
sk::util::StringArray::StringArray | ( | ) |
sk::util::StringArray::StringArray | ( | const sk::util::String & | item | ) |
sk::util::StringArray::StringArray | ( | const char * | item | ) |
virtual sk::util::StringArray::~StringArray | ( | ) | [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.
void sk::util::StringArray::forEach | ( | const sk::util::Processor< const sk::util::String > & | processor | ) | const |
const sk::util::String& sk::util::StringArray::get | ( | int | index | ) | const |
const sk::util::Class sk::util::StringArray::getClass | ( | ) | const [virtual] |
virtual uint64_t sk::util::Object::getId | ( | ) | const [virtual, inherited] |
const sk::util::String sk::util::StringArray::inspect | ( | ) | const [virtual] |
Returns a string containing human-readable representation of the object.
Reimplemented from sk::util::Object.
const sk::util::String sk::util::StringArray::join | ( | const sk::util::String & | separator | ) | const |
sk::util::StringArray sk::util::StringArray::operator+ | ( | const sk::util::String & | item | ) | const |
sk::util::StringArray& sk::util::StringArray::operator<< | ( | const sk::util::String & | item | ) |
virtual const Object& sk::util::Object::self | ( | ) | const [virtual, inherited] |
Reimplemented in sk::util::String.
virtual Object& sk::util::Object::self | ( | ) | [virtual, inherited] |
int sk::util::StringArray::size | ( | ) | 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.