#include <User.h>
Public Member Functions | |
virtual | ~User () |
const sk::util::String | getName () const |
const sk::util::String | getComment () const |
const sk::util::String | getHome () const |
const sk::util::String | getShell () const |
int | getUid () const |
int | getGid () const |
bool | authenticate (const sk::util::String &password) 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 const User | find (const sk::util::String &name) |
static bool | find (const sk::util::String &name, sk::util::Holder< sk::sys::User > &holder) |
static void | forEach (const sk::util::Processor< const sk::sys::User > &processor) |
virtual sk::sys::User::~User | ( | ) | [virtual] |
bool sk::sys::User::authenticate | ( | const sk::util::String & | password | ) | const |
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 bool sk::sys::User::find | ( | const sk::util::String & | name, | |
sk::util::Holder< sk::sys::User > & | holder | |||
) | [static] |
static const User sk::sys::User::find | ( | const sk::util::String & | name | ) | [static] |
static void sk::sys::User::forEach | ( | const sk::util::Processor< const sk::sys::User > & | processor | ) | [static] |
const sk::util::Class sk::sys::User::getClass | ( | ) | const [virtual] |
const sk::util::String sk::sys::User::getComment | ( | ) | const |
int sk::sys::User::getGid | ( | ) | const |
const sk::util::String sk::sys::User::getHome | ( | ) | const |
virtual uint64_t sk::util::Object::getId | ( | ) | const [virtual, inherited] |
const sk::util::String sk::sys::User::getName | ( | ) | const |
const sk::util::String sk::sys::User::getShell | ( | ) | const |
int sk::sys::User::getUid | ( | ) | const |
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 const Object& sk::util::Object::self | ( | ) | const [virtual, inherited] |
Reimplemented in sk::util::String.
virtual Object& sk::util::Object::self | ( | ) | [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.