sk::io::TtyFileDescriptor Class Reference

#include <TtyFileDescriptor.h>

Inheritance diagram for sk::io::TtyFileDescriptor:

sk::io::FileDescriptor sk::io::Tty sk::util::Object sk::util::Object

List of all members.

Public Member Functions

 TtyFileDescriptor (int fd)
 TtyFileDescriptor (const sk::io::FileDescriptor &descriptor)
virtual ~TtyFileDescriptor ()
void setLines (int lines)
void setColumns (int columns)
const sk::util::Class getClass () const
 Returns the object's class.
int getFileNumber () const
void close ()
int read (char *buffer, int offset, int length)
int write (const char *buffer, int offset, int length)
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.


Constructor & Destructor Documentation

sk::io::TtyFileDescriptor::TtyFileDescriptor ( int  fd  ) 

sk::io::TtyFileDescriptor::TtyFileDescriptor ( const sk::io::FileDescriptor descriptor  ) 

virtual sk::io::TtyFileDescriptor::~TtyFileDescriptor (  )  [virtual]


Member Function Documentation

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::io::FileDescriptor::close (  )  [inherited]

const sk::util::Class sk::io::TtyFileDescriptor::getClass (  )  const [virtual]

Returns the object's class.

Reimplemented from sk::io::FileDescriptor.

int sk::io::FileDescriptor::getFileNumber (  )  const [inherited]

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

Returns a unique object id.

Reimplemented in sk::rt::Thread.

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

int sk::io::FileDescriptor::read ( char *  buffer,
int  offset,
int  length 
) [inherited]

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.

void sk::io::TtyFileDescriptor::setColumns ( int  columns  )  [virtual]

Implements sk::io::Tty.

void sk::io::TtyFileDescriptor::setLines ( int  lines  )  [virtual]

Implements sk::io::Tty.

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.

int sk::io::FileDescriptor::write ( const char *  buffer,
int  offset,
int  length 
) [inherited]


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

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