BdsApi  2.2.7
This is the Blacknest BDS API.
BdsDataFileResponse.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * BdsDataFileResponse.h Response Data File Access
3  * T.Barnaby, BEAM Ltd, 2012-04-02
4  *******************************************************************************
5  */
6 #ifndef BdsDataFileResponse_H
7 #define BdsDataFileResponse_H
8 
9 #include <BdsDataFile.h>
10 #include <BdsD.h>
11 
12 namespace Bds {
13 
15 class DataFileResponse : public DataFile {
16 public:
18 
19  int getFeatures();
20 
21  // Read routines
22  BError getMetaData(ChannelInfos& channelInfos, BUInt32 options, BList<DataError>& errors);
23 
24  // Write routines
25  BError setInfo(const DataInfo& dataInfo, const ChannelInfos& channelInfos, WriteOptionsList options);
26 
27  static DataFormat getFormats();
28 private:
29  BError readSacPoleZero();
30  BError readRawFap();
31  BError readIdcResponse();
32  BError writeIdcResponse(Response& r);
33 
34  DataInfo odataInfo;
35  ChannelInfo ochannelInfo;
36  ChannelInfos ochannelInfos;
37 };
38 
39 }
40 #endif
BError
Bds::DataFileResponse::setInfo
BError setInfo(const DataInfo &dataInfo, const ChannelInfos &channelInfos, WriteOptionsList options)
Set information on data for write.
Definition: BdsDataFileResponse.cpp:436
Bds::DataFile::WriteOptionsList
WriteOptionsList
Definition: BdsDataFile.h:45
BdsDataFile.h
Bds::DataFileResponse
This class defines the interface for generic response data file access.
Definition: BdsDataFileResponse.h:15
BUInt32
uint32_t BUInt32
Bds::Response
This class defines a seismic Response characteristic.
Definition: BdsD.h:269
Bds::DataFileResponse::DataFileResponse
DataFileResponse()
Definition: BdsDataFileResponse.cpp:43
Bds
Definition: BdsC.cc:8
Bds::DataInfo
This class defines information on a set of data.
Definition: BdsD.h:573
Bds::DataFormat
This holds information on a seismic data format.
Definition: BdsD.h:829
Bds::DataFile
This class defines the interface for generic data file access that all of the BDS data conterors shar...
Definition: BdsDataFile.h:41
Bds::DataFileResponse::getMetaData
BError getMetaData(ChannelInfos &channelInfos, BUInt32 options, BList< DataError > &errors)
Return all known MetaData in the file.
Definition: BdsDataFileResponse.cpp:50
BdsD.h
BOAP data class definitions for: Bds.
Bds::ChannelInfo
This class provides information on a channel.
Definition: BdsD.h:477
Bds::DataFileResponse::getFormats
static DataFormat getFormats()
Definition: BdsDataFileResponse.cpp:22
Bds::DataFileResponse::getFeatures
int getFeatures()
Get bitmask of supported features.
Definition: BdsDataFileResponse.cpp:46
BList
Bds::ChannelInfos
This class provides metadata information on a set of channels.
Definition: BdsD.h:499