15 #ifndef CA_MGM_EXTERNALDATASOURCE_H 16 #define CA_MGM_EXTERNALDATASOURCE_H 56 bool send (
const char *buffer,
size_t length);
62 bool send (std::string s);
70 size_t receive(
char *buffer,
size_t length);
108 #endif // CA_MGM_EXTERNALDATASOURCE_H FILE * outputFile() const
Definition: ExternalDataSource.hpp:103
std::string receiveLine()
bool send(const char *buffer, size_t length)
ExternalDataSource(FILE *inputfile=0, FILE *outputfile=0)
std::string receiveUpto(char c)
FILE * outputfile
Definition: ExternalDataSource.hpp:31
FILE * inputFile() const
Definition: ExternalDataSource.hpp:98
virtual ~ExternalDataSource()
FILE * inputfile
Definition: ExternalDataSource.hpp:30
char * linebuffer
Definition: ExternalDataSource.hpp:34
size_t receive(char *buffer, size_t length)
void setBlocking(bool mode)
size_t linebuffer_size
Definition: ExternalDataSource.hpp:35
Bidirectional stream to external data.
Definition: ExternalDataSource.hpp:27
Definition: ByteBuffer.hpp:37