6#ifndef BdsDataFileSeed_H
7#define BdsDataFileSeed_H
10#include <BdsSeedTypes.h>
50 NameDesc(
BString name =
"",
BString desc =
"") : name(name), desc(desc){}
57 BError processData(DataBlock& data,
int addInfo);
61 BError writeVolumeHeader(
int rl);
63 BError writeBlockData(
char type,
const char* buf,
BUInt numBytes);
71 Response* getResponse(
BUInt stage);
76 ChannelInfos ochannelInfos;
78 ChannelInfo ochannelInfo;
86 BUInt oblockNumberRead;
87 BUInt oblockNumberWrite;
88 BUInt oblocketteNumber;
96 BdsSeedType10 otype10;
97 BdsSeedType11 otype11;
98 BdsSeedType30 otype30;
99 BdsSeedType52 otype52;
113 BUInt odataTimeSpanBlock;
122 BUInt oabbrevUnitsCode;
struct MSRecord_s MSRecord
Definition BdsDataFileSeed.h:13
This stores a data error. It includes and error number and a string as well as information on what se...
Definition BdsLib.h:35
This defines a list of BDS data converter options.
Definition BdsDataFile.h:30
Data file convertor for SEED file formats.
Definition BdsDataFileSeed.h:18
BError close()
Close the file.
Definition BdsDataFileSeed.cpp:170
static BError omsrErr
MSR processing error.
Definition BdsDataFileSeed.h:44
BError writeData(const DataBlock &data)
Write a block of data.
Definition BdsDataFileSeed.cpp:1312
void msrFileWrite(void *data, int len)
Definition BdsDataFileSeed.cpp:1210
BError end()
End write segment.
Definition BdsDataFileSeed.cpp:1285
BError getInfo(DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors)
Get info on data.
Definition BdsDataFileSeed.cpp:281
BError setFormat(BString format)
Set the sub-format.
Definition BdsDataFileSeed.cpp:209
BError setInfo(const DataInfo &dataInfo, const ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData)
Set information on data for write.
Definition BdsDataFileSeed.cpp:578
BError start(BUInt channel, BUInt segment)
Start writing next segment of data.
Definition BdsDataFileSeed.cpp:1226
BError readData(BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &data)
Read a block.
Definition BdsDataFileSeed.cpp:460
BError getMetaData(ChannelInfos &channelInfos, BUInt32 options, BList< DataError > &errors)
Return all known MetaData in the file.
Definition BdsDataFileSeed.cpp:550
DataFileSeed()
Definition BdsDataFileSeed.cpp:134
static DataFormats getFormats()
Definition BdsDataFileSeed.cpp:43
BString getFixesInfo()
Get readable list of fixes that can be applied to faulty data files.
Definition BdsDataFileSeed.cpp:197
~DataFileSeed()
Definition BdsDataFileSeed.cpp:158
int getFeatures()
Get bitmask of supported features.
Definition BdsDataFileSeed.cpp:189
static int onoLock
Disable libmseed locking.
Definition BdsDataFileSeed.h:45
DataOrder getDataOrder()
Get the expected order of writing data, by sample or by channel.
Definition BdsDataFileSeed.cpp:193
This class defines the interface for generic data file access that all of the BDS data converters sha...
Definition BdsDataFile.h:41
DataOrder
Definition BdsDataFile.h:43
WriteOptionsList
Definition BdsDataFile.h:45
@ WriteOptionSensorData
Definition BdsDataFile.h:45