IO Classes and Functions
[Base Classes and Functions]

Collaboration diagram for IO Classes and Functions:


Classes

class  TC::Codec
 Base class for all codec method fro encoding and decoding standard types and prepares methods for decoding and encoding. More...
class  TC::Stream
 Base class for all streams implements all operators and prepares methods for reading and writing. More...
class  TC::StreamAble
 Interface class define functions for streaming a object to a Stream. More...

Namespaces

namespace  TC::File
 Provides functions to get/create/set file information.

Files

file  TCCodec.h
 This file provides the definition of TC::Codec.
file  TCFile.h
 This file provides the definition of TC::File.
file  TCStream.h
 This header file provides the definition of the class TC::Stream.
file  TCStreamAble.h
 This file provides the definition of TC::StreamAble.

Typedefs

typedef SharedPtr< Codec > TC::CodecPtr
 Shared pointer of an codec object.
typedef SharedPtr< Stream > TC::StreamPtr
 Shared pointer of an stream object.

Functions

StreamPtr TC::operator>> (StreamPtr stream, std::string &val)
StreamPtr TC::operator>> (StreamPtr stream, uchar &val)
StreamPtr TC::operator>> (StreamPtr stream, char &val)
StreamPtr TC::operator>> (StreamPtr stream, char *val)
StreamPtr TC::operator>> (StreamPtr stream, sint16 &val)
StreamPtr TC::operator>> (StreamPtr stream, sint32 &val)
StreamPtr TC::operator>> (StreamPtr stream, sint64 &val)
StreamPtr TC::operator>> (StreamPtr stream, uint16 &val)
StreamPtr TC::operator>> (StreamPtr stream, uint32 &val)
StreamPtr TC::operator>> (StreamPtr stream, uint64 &val)
StreamPtr TC::operator>> (StreamPtr stream, float &val)
StreamPtr TC::operator>> (StreamPtr stream, double &val)
StreamPtr TC::operator<< (StreamPtr stream, StreamPtr(*_Pfn)(StreamPtr))
StreamPtr TC::operator<< (StreamPtr stream, const std::string &val)
StreamPtr TC::operator<< (StreamPtr stream, uchar val)
StreamPtr TC::operator<< (StreamPtr stream, char val)
StreamPtr TC::operator<< (StreamPtr stream, const char *val)
StreamPtr TC::operator<< (StreamPtr stream, sint16 val)
StreamPtr TC::operator<< (StreamPtr stream, sint32 val)
StreamPtr TC::operator<< (StreamPtr stream, sint64 val)
StreamPtr TC::operator<< (StreamPtr stream, uint16 val)
StreamPtr TC::operator<< (StreamPtr stream, uint32 val)
StreamPtr TC::operator<< (StreamPtr stream, uint64 val)
StreamPtr TC::operator<< (StreamPtr stream, float val)
StreamPtr TC::operator<< (StreamPtr stream, double val)
StreamPtr TC::flush (StreamPtr stream)
 Flush the stream.
StreamPtr TC::endl (StreamPtr stream)
 Write end of line to the stream.
StreamPtr TC::space (StreamPtr stream)
 Write a word or number separator to the stream.
StreamPtr TC::operator>> (StreamPtr stream, StreamAble &object)
 Read operator for reading a StreamAble object reference from a Stream.
StreamPtr TC::operator<< (StreamPtr stream, const StreamAble &object)
 Write operator for writing a StreamAble object reference to a Stream.

Typedef Documentation

typedef SharedPtr<Codec> TC::CodecPtr

Shared pointer of an codec object.

Definition at line 256 of file TCCodec.h.

typedef SharedPtr<Stream> TC::StreamPtr

Shared pointer of an stream object.

Definition at line 281 of file TCStream.h.


Function Documentation

StreamPtr TC::operator>> ( StreamPtr  stream,
std::string &  val 
) [inline]

Definition at line 286 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
uchar &  val 
) [inline]

Definition at line 288 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
char &  val 
) [inline]

Definition at line 289 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
char *  val 
) [inline]

Definition at line 290 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
sint16 &  val 
) [inline]

Definition at line 292 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
sint32 &  val 
) [inline]

Definition at line 293 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
sint64 &  val 
) [inline]

Definition at line 294 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
uint16 &  val 
) [inline]

Definition at line 295 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
uint32 &  val 
) [inline]

Definition at line 296 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
uint64 &  val 
) [inline]

Definition at line 297 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
float &  val 
) [inline]

Definition at line 299 of file TCStream.h.

StreamPtr TC::operator>> ( StreamPtr  stream,
double &  val 
) [inline]

Definition at line 300 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
StreamPtr(*)(StreamPtr)  _Pfn 
) [inline]

Definition at line 305 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
const std::string &  val 
) [inline]

Definition at line 307 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
uchar  val 
) [inline]

Definition at line 309 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
char  val 
) [inline]

Definition at line 310 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
const char *  val 
) [inline]

Definition at line 311 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
sint16  val 
) [inline]

Definition at line 313 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
sint32  val 
) [inline]

Definition at line 314 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
sint64  val 
) [inline]

Definition at line 315 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
uint16  val 
) [inline]

Definition at line 316 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
uint32  val 
) [inline]

Definition at line 317 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
uint64  val 
) [inline]

Definition at line 318 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
float  val 
) [inline]

Definition at line 320 of file TCStream.h.

StreamPtr TC::operator<< ( StreamPtr  stream,
double  val 
) [inline]

Definition at line 321 of file TCStream.h.

StreamPtr TC::flush ( StreamPtr  stream  )  [inline]

Flush the stream.

Parameters:
stream The stream which to flush
Returns:
The stream

Definition at line 328 of file TCStream.h.

StreamPtr TC::endl ( StreamPtr  stream  )  [inline]

Write end of line to the stream.

Parameters:
stream Where to write end of line
Returns:
The stream

Definition at line 334 of file TCStream.h.

StreamPtr TC::space ( StreamPtr  stream  )  [inline]

Write a word or number separator to the stream.

Parameters:
stream Where to write the seperator
Returns:
The stream

Definition at line 340 of file TCStream.h.

Referenced by TC::Math::operator<<().

Here is the caller graph for this function:

StreamPtr TC::operator>> ( StreamPtr  stream,
StreamAble &  object 
)

Read operator for reading a StreamAble object reference from a Stream.

Parameters:
stream Stream where to read the data from
object The object on which to read the data
Returns:
the stream

StreamPtr TC::operator<< ( StreamPtr  stream,
const StreamAble &  object 
)

Write operator for writing a StreamAble object reference to a Stream.

Parameters:
stream Stream where to write the data to
object The object of which to write the data
Returns:
the stream


Copyright (c) Thomas Goessler 2003 - 2008