Classes |
class | cmtk::TypedStream |
| Class for reading and writing og "typedstream" archives. More...
|
Namespaces |
namespace | cmtk |
Defines |
#define | NULL 0 |
TypedStream.h |
#define | TYPEDSTREAM_LIMIT_BUFFER 1024 |
| Internal: Length of the read buffer for one archive line.
|
#define | TYPEDSTREAM_FLUSH true |
| Constant for use with flush parameter of End() member function.
|
#define | TYPEDSTREAM_NOFLUSH false |
| Constant for use with flush parameter of End() member function.
|
enum | cmtk::TypedStreamMode { cmtk::TYPEDSTREAM_READ,
cmtk::TYPEDSTREAM_WRITE,
cmtk::TYPEDSTREAM_WRITE_ZLIB,
cmtk::TYPEDSTREAM_APPEND
} |
| Access modes for archives.
More...
|
enum | cmtk::TypedStreamCondition { cmtk::TYPEDSTREAM_ERROR,
cmtk::TYPEDSTREAM_OK
} |
| Condition upon function return.
More...
|
enum | cmtk::TypedStreamStatus {
cmtk::TYPEDSTREAM_ERROR_NONE,
cmtk::TYPEDSTREAM_ERROR_UNKNOWN,
cmtk::TYPEDSTREAM_ERROR_SYSTEM,
cmtk::TYPEDSTREAM_ERROR_FORMAT,
cmtk::TYPEDSTREAM_ERROR_ARG,
cmtk::TYPEDSTREAM_ERROR_MODE,
cmtk::TYPEDSTREAM_ERROR_TYPE,
cmtk::TYPEDSTREAM_ERROR_LIMIT,
cmtk::TYPEDSTREAM_ERROR_LEVEL,
cmtk::TYPEDSTREAM_ERROR_INVALID,
cmtk::TYPEDSTREAM_ERROR_MAX
} |
| Classes of error conditions.
More...
|
enum | cmtk::TypedStreamType {
cmtk::TYPEDSTREAM_TYPE_INT,
cmtk::TYPEDSTREAM_TYPE_BOOL,
cmtk::TYPEDSTREAM_TYPE_BINARYBOOL,
cmtk::TYPEDSTREAM_TYPE_FLOAT,
cmtk::TYPEDSTREAM_TYPE_DOUBLE,
cmtk::TYPEDSTREAM_TYPE_STRING
} |
| Identifiers for supported primitive data types.
More...
|
enum | cmtk::TypedStreamToken {
cmtk::TYPEDSTREAM_EOF,
cmtk::TYPEDSTREAM_BEGIN,
cmtk::TYPEDSTREAM_END,
cmtk::TYPEDSTREAM_KEY,
cmtk::TYPEDSTREAM_VALUE,
cmtk::TYPEDSTREAM_COMMENT
} |
| Identifiers for tokens in archives.
More...
|
enum | cmtk::TypedStreamDebugFlag { cmtk::TYPEDSTREAM_DEBUG_OFF,
cmtk::TYPEDSTREAM_DEBUG_ON
} |
| Debug flag values.
More...
|