BdsApi
2.2.6
This is the Blacknest BDS API.
|
This stores a data error. It includes and error number and a string as well as information on what seismic channel it is for. More...
#include <BdsLib.h>
Public Member Functions | |
DataError () | |
DataError (int errorNumber, BString title, BString filename, BTimeStamp startTime, BTimeStamp endTime, DataInfo &dataInfo, BUInt channel, BString description, BString user="") | |
DataError & | set (int errorNumber, BString title, BString importFilename, BTimeStamp startTime, BTimeStamp endTime, DataInfo &dataInfo, BUInt channel, BString description, BString user="") |
void | mergeDataInfo (const DataInfo &dataInfo, BUInt channel) |
int | getErrorNumber () const |
Get The error number. More... | |
BString | getTitle () const |
Get the title. More... | |
BError | setString (BString str) |
Set from string. More... | |
BError | setStringUser (BString str, BString user) |
Set from string given by user on command line. More... | |
BString | getString () const |
Get error message. More... | |
int | num () const |
Get The error number. More... | |
const char * | str () const |
Return a char* string. More... | |
operator int () const | |
Return error number. More... | |
Public Attributes | |
BInt32 | oerrorNumber |
Error number. More... | |
BString | otitle |
The title. More... | |
BString | odescription |
The description. More... | |
BString | ofilename |
The import filename;. More... | |
BTimeStamp | ostartTime |
The start Time. More... | |
BTimeStamp | oendTime |
The end Time. More... | |
BString | onetwork |
The network Name. More... | |
BString | ostation |
The station/array name. More... | |
BString | ochannel |
The channel name. More... | |
BString | osource |
The data Source. More... | |
BString | ouser |
The user. More... | |
This stores a data error. It includes and error number and a string as well as information on what seismic channel it is for.
Bds::DataError::DataError | ( | ) |
Bds::DataError::DataError | ( | int | errorNumber, |
BString | title, | ||
BString | filename, | ||
BTimeStamp | startTime, | ||
BTimeStamp | endTime, | ||
DataInfo & | dataInfo, | ||
BUInt | channel, | ||
BString | description, | ||
BString | user = "" |
||
) |
int Bds::DataError::getErrorNumber | ( | ) | const |
Get The error number.
BString Bds::DataError::getString | ( | ) | const |
Get error message.
BString Bds::DataError::getTitle | ( | ) | const |
Get the title.
int Bds::DataError::num | ( | ) | const |
Get The error number.
Bds::DataError::operator int | ( | ) | const |
Return error number.
DataError & Bds::DataError::set | ( | int | errorNumber, |
BString | title, | ||
BString | importFilename, | ||
BTimeStamp | startTime, | ||
BTimeStamp | endTime, | ||
DataInfo & | dataInfo, | ||
BUInt | channel, | ||
BString | description, | ||
BString | user = "" |
||
) |
Set from string given by user on command line.
const char * Bds::DataError::str | ( | ) | const |
Return a char* string.
BString Bds::DataError::ochannel |
The channel name.
BString Bds::DataError::odescription |
The description.
BTimeStamp Bds::DataError::oendTime |
The end Time.
BInt32 Bds::DataError::oerrorNumber |
Error number.
BString Bds::DataError::ofilename |
The import filename;.
BString Bds::DataError::onetwork |
The network Name.
BTimeStamp Bds::DataError::ostartTime |
The start Time.
BString Bds::DataError::ostation |
The station/array name.
BString Bds::DataError::otitle |
The title.
BString Bds::DataError::ouser |
The user.