|
| | DataFileResponse () |
| |
| int | getFeatures () |
| | Get bitmask of supported features. More...
|
| |
| BError | getMetaData (ChannelInfos &channelInfos) |
| | Return all known MetaData in the file. More...
|
| |
| BError | setInfo (DataInfo &dataInfo, ChannelInfos &channelInfos, WriteOptionsList options) |
| | Set information on data for write. More...
|
| |
| | DataFile () |
| |
| virtual | ~DataFile () |
| |
| virtual void | init () |
| | Initialise. More...
|
| |
| virtual BError | open (BString fileName, BString mode) |
| | Open the file for read or write. More...
|
| |
| virtual BError | close () |
| | Close the file. More...
|
| |
| virtual BError | setFormat (BString format) |
| | Set the sub-format. More...
|
| |
| virtual BString | getFileName () |
| | Return the file name. More...
|
| |
| virtual DataOrder | getDataOrder () |
| | Get the expected order of writing data, by sample or by channel. More...
|
| |
| virtual BError | start (BUInt channel, BUInt segment) |
| | Start next segment of data. More...
|
| |
| virtual BError | writeData (DataBlock &data) |
| | Write a block of data. More...
|
| |
| virtual BError | end () |
| | End segment. More...
|
| |
| virtual BError | fileNameProcess () |
| | Parse the file name for a date/time. More...
|
| |
| virtual BError | getFormat (BString &format) |
| | Get sub-format. More...
|
| |
| virtual BError | getInfo (DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors) |
| | Get info on data. More...
|
| |
| virtual BError | seekBlock (BUInt32 channel, BUInt segment, BTimeStamp time, BUInt32 &blockNumber, BUInt64 &sampleNumber, DataBlock &data) |
| | Find requested block on given channel given a time. More...
|
| |
| virtual BError | readData (BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &dataBlock) |
| | Read a block. More...
|
| |
| void | dataErrorFixup (DataInfo &dataInfo, BList< DataError > &errors) |
| | Fixup data errors, mainly start/end times to be within data. More...
|
| |
| BInt64 | timeCompare (BTimeStamp t1, BTimeStamp t2, BUInt diff) |
| | Compare timestamps with a margin. More...
|
| |
| int | duplicateCheck (DataBlock &data1, DataBlock &data2, BUInt channel=0) |
| | Check if blocks are duplicates. More...
|
| |
| BUInt64 | getFilePosition () |
| |
This class defines the interface for generic responese data file access.