16 #include "generalmod.h" 37 virtual bool isBad()
const;
39 virtual bool forRead()
const;
40 virtual bool forWrite()
const;
52 void setFileName(
const char*,
bool forread);
53 const char* fileName()
const;
55 const char*
connType()
const {
return sType(); }
56 static const char* sType();
#define mExpClass(module)
Definition: commondefs.h:160
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
od_stream * strm_
Definition: streamconn.h:61
OD base class for stream read/write.
Definition: od_stream.h:53
OD class for stream read.
Definition: od_istream.h:24
const char * connType() const
Definition: streamconn.h:55
Data connection.
Definition: conn.h:30
BufferString creationmsg_
Definition: streamconn.h:64
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
virtual const char * creationMessage() const
Definition: streamconn.h:38
bool mine_
Definition: streamconn.h:62
Connection with an underlying iostream.
Definition: streamconn.h:26
virtual StreamConn * getStream()
Definition: streamconn.h:41