sk::io::AbstractPipe Class Reference

#include <AbstractPipe.h>

Inheritance diagram for sk::io::AbstractPipe:

sk::io::Pipe sk::util::Object sk::io::AnonymousPipe

List of all members.

Public Member Functions

const sk::util::Class getClass () const
 Returns the object's class.
void close ()
void closeInput ()
void closeOutput ()
FileDescriptorInputStreaminputStream () const
FileDescriptorOutputStreamoutputStream () 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.
virtual const String inspect () const
 Returns a string containing human-readable representation of the object.

Protected Member Functions

 AbstractPipe ()
virtual ~AbstractPipe ()
void setInputFileDescriptor (int fd)
void setOutputFileDescriptor (int fd)
void setInputFileDescriptor (const sk::io::FileDescriptor &descriptor)
void setOutputFileDescriptor (const sk::io::FileDescriptor &descriptor)


Constructor & Destructor Documentation

sk::io::AbstractPipe::AbstractPipe (  )  [protected]

virtual sk::io::AbstractPipe::~AbstractPipe (  )  [protected, 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::AbstractPipe::close (  )  [virtual]

Implements sk::io::Pipe.

void sk::io::AbstractPipe::closeInput (  )  [virtual]

Implements sk::io::Pipe.

void sk::io::AbstractPipe::closeOutput (  )  [virtual]

Implements sk::io::Pipe.

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

Returns the object's class.

Reimplemented from sk::util::Object.

Reimplemented in sk::io::AnonymousPipe.

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

Returns a unique object id.

Reimplemented in sk::rt::Thread.

FileDescriptorInputStream& sk::io::AbstractPipe::inputStream (  )  const [virtual]

Implements sk::io::Pipe.

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

FileDescriptorOutputStream& sk::io::AbstractPipe::outputStream (  )  const [virtual]

Implements sk::io::Pipe.

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::AbstractPipe::setInputFileDescriptor ( const sk::io::FileDescriptor descriptor  )  [protected]

void sk::io::AbstractPipe::setInputFileDescriptor ( int  fd  )  [protected]

void sk::io::AbstractPipe::setOutputFileDescriptor ( const sk::io::FileDescriptor descriptor  )  [protected]

void sk::io::AbstractPipe::setOutputFileDescriptor ( int  fd  )  [protected]

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.


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