library of assembled shared sources

http://lass.cocamware.com

lass::io Namespace Reference

streams, binary streams, vrmlstreams, . More...


Namespaces

namespace  impl

Data Structures

struct  ArgFormat
 structure to store ArgFlag and ArgValue formats More...
class  ArgParser
 the parser itself More...
class  ArgParameter
class  ArgFlag
class  ArgValue
class  ArgBadArgument
 Exception thrown in case of bad arguments. More...
class  BinaryIFile
 Input Stream for binary files. More...
class  BinaryIMemoryBlock
 Input Stream from a memory block. More...
class  BinaryIMemoryMap
 Input Stream for files using memory mapping. More...
class  BinaryISocket
class  BinaryIStream
 base class of binary input streams. More...
class  BinaryOFile
 BinaryOStream to file. More...
class  BinaryOSocket
 BinaryOStream to socket. More...
class  BinaryOStream
 base class of binary output streams. More...
class  BinaryStreamBase
 Base class for LASS binary streams with byte-order househoulding. More...
class  EndiannessSetter
class  Image
 image thing? More...
class  Logger
 Logs proxy streams to files. More...
class  MatlabOStream
 Output stream for writing a selection of geometric primitives to matlab M files. More...
class  ProxyIStream
class  ProxyMan
 manages the four proxy streams. More...
class  ProxyOStream
 A proxy output stream can distribute output to multiple destination streams. More...
class  SocketError
class  Socket
 TCP/IP socket. More...
class  StreamBase
 Base class for LASS streams with some state householding. More...
class  XmlOElement
 Starts a element in a XmlStream you can write to, and that will be closed automatically. More...
class  XmlOFile
 Output stream for writing a selection of geometric primitives to XML files. More...
class  XmlOStream
 Output stream for writing a selection of geometric primitives to XML files. More...
class  ProxyTextIStream
 A proxy text input stream can get its input from another input stream. More...

Enumerations

enum  ArgMode {
  amNoValue = 1, amRequired = 2, amOptional = 4, amMultiple = 8,
  amDefault = amRequired
}
enum  MatlabColor {
  mcYellow, mcMagenta, mcCyan, mcRed,
  mcGreen, mcBlue, mcWhite, mcBlack
}

Functions

bool fileDoesExist (const std::string &iFileName)
 return true if file exists
std::string fileExtension (const std::string &iFileName)
 return the part of the file name behind the last dot.
std::string fileWithoutExtension (const std::string &iFileName)
 return the part of the file name before the last dot.
std::string filePath (const std::string &iFileName)
 return the part of the file name before the last (back)slash.
std::string fileWithoutPath (const std::string &iFileName)
 return the part of the file name behind the last (back)slash.
std::string fileJoinExtension (const std::string &iFilename, const std::string &iExtension)
std::string fileJoinPath (const std::string &iPath, const std::string &iFilename)
ProxyOStreamcout ()
 return reference to 'cout' proxy stream
ProxyOStreamcerr ()
 return reference to 'cerr' proxy stream
ProxyOStreamclog ()
 return reference to 'clog' proxy stream
ProxyIStreamcin ()
 return reference to 'cin' proxy stream
bool keyboardIsHit ()
 return true if a key is pressed and which is waiting in the buffer .
int keyboardGetKey ()
 get a character from the console without echo
ProxyManproxyMan ()
 access the ProxyMan singleton

Variables

const char pathSeperator = '/'
const char pathAlternativeSeperator = '\0'
const char extensionSeperator = '.'


Detailed Description

streams, binary streams, vrmlstreams, .

..

Author:
BdG
Date:
2003


Enumeration Type Documentation

Enumerator:
mcYellow 
mcMagenta 
mcCyan 
mcRed 
mcGreen 
mcBlue 
mcWhite 
mcBlack 

Definition at line 92 of file matlab_o_stream.h.


Function Documentation

LASS_DLL ProxyOStream &LASS_CALL lass::io::cout (  ) 

LASS_DLL ProxyOStream &LASS_CALL lass::io::cerr (  ) 

LASS_DLL ProxyOStream &LASS_CALL lass::io::clog (  ) 

return reference to 'clog' proxy stream

Definition at line 74 of file io_fwd.cpp.

References lass::io::ProxyMan::clog(), and proxyMan().

LASS_DLL ProxyIStream &LASS_CALL lass::io::cin (  ) 

return reference to 'cin' proxy stream

Definition at line 83 of file io_fwd.cpp.

References lass::io::ProxyMan::cin(), and proxyMan().

LASS_DLL ProxyMan *LASS_CALL lass::io::proxyMan (  ) 

access the ProxyMan singleton

Definition at line 100 of file proxy_man.cpp.

Referenced by cerr(), cin(), clog(), and cout().


Variable Documentation

const char lass::io::pathSeperator = '/'

Definition at line 64 of file file_attribute.h.

Referenced by fileJoinPath(), filePath(), and fileWithoutPath().

Definition at line 65 of file file_attribute.h.

Referenced by fileJoinPath(), filePath(), and fileWithoutPath().

const char lass::io::extensionSeperator = '.'

Definition at line 66 of file file_attribute.h.

Referenced by fileExtension(), fileJoinExtension(), and fileWithoutExtension().


Generated on Mon Nov 10 14:22:09 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo