Library of Assembled Shared Sources
lass::io Namespace Reference

Detailed Description

streams, binary streams, vrmlstreams, ...

Author
BdG
Date
2003

Data Structures

class  ArgBadArgument
 Exception thrown in case of bad arguments. More...
 
struct  ArgFormat
 structure to store ArgFlag and ArgValue formats More...
 
class  ArgParser
 the parser itself 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  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  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  MessagePipe
 A bidirectional pipe to send message back and forth between two processes. More...
 
class  ProxyMan
 manages the four proxy streams. More...
 
class  ProxyOStream
 A proxy output stream can distribute output to multiple destination streams. More...
 
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...
 

Enumerations

enum  ArgMode {
  amNoValue = 1 , amRequired = 2 , amOptional = 4 , amMultiple = 8 ,
  amDefault = amRequired
}
 

Functions

bool fileDoesExist (const std::string &fileName)
 return true if file exists
 
std::string fileExtension (const std::string &fileName)
 return the part of the file name behind the last dot.
 
std::string fileWithoutExtension (const std::string &fileName)
 return the part of the file name before the last dot.
 
std::string filePath (const std::string &fileName)
 return the part of the file name before the last (back)slash.
 
std::string fileWithoutPath (const std::string &fileName)
 return the part of the file name behind the last (back)slash.
 
ProxyOStreamcout ()
 return reference to 'cout' proxy stream
 
ProxyOStreamcerr ()
 return reference to 'cerr' proxy stream
 
ProxyOStreamclog ()
 return reference to 'clog' proxy stream
 
ProxyIStream & cin ()
 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