|
void | CheckSizeForSingleValue (IEEELittleEndianBinaryFileStream *bifs) const |
|
| MotionAnalysisBinaryFileIO (StorageFormat s=StorageNotApplicable) |
|
void | ReadKey (IEEELittleEndianBinaryFileStream *bifs, int key) const |
|
size_t | ReadKeyValueFloat (float *val, IEEELittleEndianBinaryFileStream *bifs, int key) |
|
size_t | ReadKeyValueString (std::string &val, IEEELittleEndianBinaryFileStream *bifs, int key) |
|
size_t | ReadKeyValueU16 (uint16_t *val, IEEELittleEndianBinaryFileStream *bifs, int key) |
|
size_t | ReadKeyValueU16 (std::vector< uint16_t > &val, IEEELittleEndianBinaryFileStream *bifs, int key) |
|
size_t | ReadKeyValueU32 (uint32_t *val, IEEELittleEndianBinaryFileStream *bifs, int key) |
|
size_t | ReadKeyValueU8 (uint8_t *val, IEEELittleEndianBinaryFileStream *bifs, int key) |
|
size_t | ReadKeyValueU8 (std::vector< uint8_t > &val, IEEELittleEndianBinaryFileStream *bifs, int key) |
|
size_t | WriteKeyValue (IEEELittleEndianBinaryFileStream *bofs, uint16_t key, const std::vector< uint8_t > &val) |
|
size_t | WriteKeyValue (IEEELittleEndianBinaryFileStream *bofs, uint16_t key, const std::vector< uint16_t > &val) |
|
size_t | WriteKeyValue (IEEELittleEndianBinaryFileStream *bofs, uint16_t key, uint32_t val) |
|
size_t | WriteKeyValue (IEEELittleEndianBinaryFileStream *bofs, uint16_t key, float val) |
|
size_t | WriteKeyValue (IEEELittleEndianBinaryFileStream *bofs, uint16_t key, const std::string &val, bool spacing=false) |
|
| AcquisitionFileIO (FileType f=TypeNotApplicable, ByteOrder b=OrderNotApplicable, StorageFormat s=StorageNotApplicable, int internalsUpdate=UpdateNotApplicable) |
|
void | SetFileType (FileType f) |
|
virtual | ~AcquisitionFileIO () |
|
|
enum | ByteOrder { OrderNotApplicable = 0,
IEEE_LittleEndian,
VAX_LittleEndian,
IEEE_BigEndian
} |
|
typedef btkSharedPtr< const
AcquisitionFileIO > | ConstPointer |
|
enum | FileType { TypeNotApplicable,
ASCII,
Binary
} |
|
enum | InternalsUpdateOption {
UpdateNotApplicable = 0,
NoUpdate = UpdateNotApplicable,
DataBasedUpdate = 1,
MetaDataBasedUpdate = 2,
FileFormatOption = 512
} |
|
typedef btkSharedPtr
< AcquisitionFileIO > | Pointer |
|
enum | StorageFormat { StorageNotApplicable = 0,
Float = -1,
Integer = 1
} |
|
virtual bool | CanReadFile (const std::string &filename)=0 |
|
virtual bool | CanWriteFile (const std::string &filename)=0 |
|
ByteOrder | GetByteOrder () const |
|
std::string | GetByteOrderAsString () const |
|
FileType | GetFileType () const |
|
int | GetInternalsUpdateOptions () const |
|
StorageFormat | GetStorageFormat () const |
|
std::string | GetStorageFormatAsString () const |
|
virtual const Extensions & | GetSupportedExtensions () const =0 |
|
bool | HasInternalsUpdateOption (int option) const |
|
virtual void | Read (const std::string &filename, Acquisition::Pointer output)=0 |
|
void | SetByteOrder (ByteOrder b) |
|
void | SetInternalsUpdateOptions (int options) |
|
void | SetStorageFormat (StorageFormat s) |
|
virtual void | Write (const std::string &filename, Acquisition::Pointer input)=0 |
|
static bool | HasReadOperation () |
|
static bool | HasWriteOperation () |
|
ByteOrder | m_ByteOrder |
|
FileType | m_FileType |
|
int | m_InternalsUpdate |
|
StorageFormat | m_StorageFormat |
|
Acquisition IO abstract class used for the Motion Analysis ANB/TRB file format.