23 #ifndef KJB_READABLE_H
24 #define KJB_READABLE_H
48 virtual void read(std::istream& in) = 0;
52 virtual void read(
const char* fname);
62 const char* field_name,
77 const char* field_name,
Abstract class to read this object from an input stream.
Definition: l_readable.h:39
virtual ~Readable()
Deletes this Readable.
Definition: l_readable.h:44
static const char * read_field_value(std::istream &in, const char *field_name, char *field_buf, size_t buf_len, char separator=':')
Reads a line off in into a buffer and returns a pointer to the field value in the buffer...
Definition: l_readable.cpp:90
virtual void read(std::istream &in)=0
Reads this Readable from an input stream.
Support for error handling exception classes in libKJB.