latest version v1.9 - last update 10 Apr 2010 |
LTI-Format file header. More...
#include <ltiLTIFunctor.h>
Public Member Functions | |
header () | |
bool | read (std::ifstream &in) |
bool | write (std::ofstream &out) |
int | length () const |
Public Attributes | |
const uint16 | type |
union { | |
}; | |
uint32 | size |
const uint32 | reserved1 |
const uint32 | reserved2 |
uint32 | rows |
uint32 | columns |
ubyte | contents |
ubyte | compression |
LTI-Format file header.
This class is defined within the class lti::ioLTI. The header is always stored uncompressed.
lti::ioLTI::header::header | ( | ) |
default constructor
int lti::ioLTI::header::length | ( | ) | const [inline] |
size of the header (in bytes)
bool lti::ioLTI::header::read | ( | std::ifstream & | in | ) |
bool lti::ioLTI::header::write | ( | std::ofstream & | out | ) |
writes header to the stream "out".
union { ... } |
number of columns
Compression type:
ubyte lti::ioLTI::header::contents |
Must be 0 This can be used in the future to define some compressed formats.
Must be 0 This can be used in the future to define some compressed formats.
number of rows
file size in byte (excluding the header, so only the data section is counted).
file type.
For LTI-Types this must be 'LT'