BOAP data class definitions for: Bds.
This holds information on data access groups.
Definition: BdsD.h:755
This is the AdminAccess Access API interface.
Definition: BdsC.h:183
BError metadataGetFormatted(Selection sel, BString format, BArray< BUInt8 > &data)
Return the channel MetaData in a particular format.
Definition: BdsC.cc:11283
BError userGetOptions(BDict< BString > &items)
Get user options.
Definition: BdsC.cc:8435
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition: BdsC.cc:8014
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition: BdsC.cc:10129
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition: BdsC.cc:8842
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition: BdsC.cc:8924
BError logGetList(LogSelect sel, BList< Log > &logs)
Get list of log entries.
Definition: BdsC.cc:13421
BError extraCall(BUInt32 function, BString args, BString &result)
A special function to add new functions to the API prior to a full API update.
Definition: BdsC.cc:13957
BError changeGetList(BUInt32 id, ListRange range, BList< Change > &changes)
Get a list of Changes.
Definition: BdsC.cc:13117
BError stationDelete(BUInt32 id)
Delete a Station entry.
Definition: BdsC.cc:9172
BError channelDelete(BUInt32 id)
Delete a Channel entry.
Definition: BdsC.cc:9497
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition: BdsC.cc:12467
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of supported data formats.
Definition: BdsC.cc:13648
BError changeGroupStart(ChangeGroup changeGroup)
Start a new ChangeGroup when making a set of changes to the BDS's database.
Definition: BdsC.cc:12948
BError accessGroupDelete(BUInt32 id)
Delete an AccessGroup entry.
Definition: BdsC.cc:8696
BError sourceDelete(BUInt32 id)
Delete a Source entry.
Definition: BdsC.cc:9603
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Channel Instruments.
Definition: BdsC.cc:9738
BError digitiserDelete(BUInt32 id)
Delete a Digitiser entry.
Definition: BdsC.cc:10027
AdminAccess(BString name="")
Definition: BdsC.cc:7981
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition: BdsC.cc:9346
BError changeGroupDelete(BTimeStamp beforeDate, BString type, BInt32 empty)
Delete a ChangeGroup.
Definition: BdsC.cc:13056
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
Read the raw data from the file.
Definition: BdsC.cc:12820
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition: BdsC.cc:8515
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station Locations.
Definition: BdsC.cc:9201
BError locationUpdate(BInt32 append, Location location, BUInt32 &id)
Add or update a Station Location entry.
Definition: BdsC.cc:9275
BError databaseBackup(BString &ref)
Backup the database.
Definition: BdsC.cc:13848
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition: BdsC.cc:13758
BError groupUpdate(BInt32 append, Group group, BUInt32 &id)
Update or append a group entry.
Definition: BdsC.cc:8555
BError channelInstrumentDelete(BUInt32 id)
Delete an Instrument entry.
Definition: BdsC.cc:9844
BError specialChannelDelete(BUInt32 id)
Delete a SpecialChannel entry.
Definition: BdsC.cc:10974
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition: BdsC.cc:11343
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition: BdsC.cc:13535
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition: BdsC.cc:12294
BError sourceUpdate(BInt32 append, Source source, BUInt32 &id)
Add or update a Source entry.
Definition: BdsC.cc:9568
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition: BdsC.cc:13608
BError userGet(User &user)
Get user info.
Definition: BdsC.cc:8308
BError noteGetList(Selection sel, BList< Note > ¬es)
Get a list of Notes.
Definition: BdsC.cc:13194
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition: BdsC.cc:13274
BError connect(BString user, BString password)
Provides user/password information.
Definition: BdsC.cc:7984
BError channelUpdate(BInt32 append, Channel channel, BUInt32 &id)
Add or update a Channel entry.
Definition: BdsC.cc:9457
BError logDelete(BUInt32 id)
Delete a Log item.
Definition: BdsC.cc:13506
BError networkDelete(BUInt32 id)
Delete a Network entry.
Definition: BdsC.cc:9014
BError networkUpdate(BInt32 append, Network network, BUInt32 &id)
Add or update a Network entry.
Definition: BdsC.cc:8974
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition: BdsC.cc:10668
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Add or Update a Log item.
Definition: BdsC.cc:13469
BError locationDelete(BUInt32 id)
Delete a Station Location entry.
Definition: BdsC.cc:9317
BError dataSetInfo(DataHandle dataHandle, DataInfo dataInfo)
Set the info when writing to a file.
Definition: BdsC.cc:12605
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition: BdsC.cc:9043
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responses.
Definition: BdsC.cc:10398
BError dataPutBlock(DataHandle dataHandle, DataBlock data)
Send a block of data.
Definition: BdsC.cc:12699
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition: BdsC.cc:12197
BError digitiserUpdate(BInt32 append, Digitiser digitiser, BUInt32 &id)
Add or update a Digitiser entry.
Definition: BdsC.cc:9986
BError sourcePriorityDelete(BUInt32 id)
Definition: BdsC.cc:9709
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition: BdsC.cc:12571
BError dataChannelDelete(BUInt32 id)
Delete a DataChannel entry.
Definition: BdsC.cc:11630
BError changeGetListNumber(BUInt32 id, BUInt32 &number)
Get the number of changes in a ChangeGroup.
Definition: BdsC.cc:13087
BError userGetList(BList< User > &users)
Get list of Users.
Definition: BdsC.cc:8132
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition: BdsC.cc:9526
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition: BdsC.cc:10866
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition: BdsC.cc:12507
BError dataAvailability(Selection selection, BUInt32 num, BArray< DataAvailChan > &dataAvailChans)
Return availability for data matching the given selection parameters. If num > 0 segment ito this num...
Definition: BdsC.cc:11659
BError sqlQuery(BString query, BList< BDict< BString > > &result)
A low level SQL access function.
Definition: BdsC.cc:13907
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition: BdsC.cc:10239
BError responseUpdate(BInt32 append, Response response, BUInt32 &id)
Add or update a Response entry.
Definition: BdsC.cc:10542
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition: BdsC.cc:8044
BError accessGroupUpdate(BInt32 append, AccessGroup group, BUInt32 &id)
Update or append an AccessGroup entry.
Definition: BdsC.cc:8660
BError transactionStart()
Starts a set of transactions.
Definition: BdsC.cc:13701
BError specialChannelUpdate(BInt32 append, SpecialChannel specialChannel, BUInt32 &id)
Add or update a SpecialChannel entry.
Definition: BdsC.cc:10936
BError changeDelete(BTimeStamp beforeDate, BString type)
Delete a Change.
Definition: BdsC.cc:13164
BError dataFileDelete(BUInt32 id)
Delete a DataFile entry.
Definition: BdsC.cc:11457
BError responseDelete(BUInt32 id)
Delete a Response entry.
Definition: BdsC.cc:10639
BError userSetOptions(BDict< BString > &items)
Set user options.
Definition: BdsC.cc:8475
BError dataRealtimeGet(BUInt32 numBlocks, BUInt32 &numBlocksAvailable, BList< DataBlockChannel > &dataBlocks)
Returns the number of data blocks available and up to numBlocks of these.
Definition: BdsC.cc:12905
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition: BdsC.cc:11486
BError noteDelete(BUInt32 id)
Delete a Note.
Definition: BdsC.cc:13322
BError userUpdate(BInt32 append, User user, BUInt32 &id)
Update or append a user entry.
Definition: BdsC.cc:8187
BError sourcePriorityUpdate(BInt32 append, SourcePriority sourcePriority, BUInt32 &id)
Definition: BdsC.cc:9674
BError stationUpdate(BInt32 append, Station station, BUInt32 &id)
Add or update a Station entry.
Definition: BdsC.cc:9125
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition: BdsC.cc:13351
BError calibrationDelete(BUInt32 id)
Delete a Calibration entry.
Definition: BdsC.cc:10369
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition: BdsC.cc:11878
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition: BdsC.cc:12751
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition: BdsC.cc:12410
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition: BdsC.cc:10056
BError accessGroupGetList(BList< AccessGroup > &accessGroups)
Get list of AccessGroups.
Definition: BdsC.cc:8617
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition: BdsC.cc:9946
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition: BdsC.cc:8261
BError channelGet(BUInt32 id, Channel &channel)
Get a channel.
Definition: BdsC.cc:9418
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Digitisers.
Definition: BdsC.cc:9873
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition: BdsC.cc:13568
BError changeGroupGetList(ListRange range, BList< ChangeGroup > &changeGroups)
Return a list of ChangeGroups.
Definition: BdsC.cc:13010
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition: BdsC.cc:12851
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition: BdsC.cc:11740
BError sensorUpdate(BInt32 append, Sensor sensor, BUInt32 &id)
Add or update a Sensor entry.
Definition: BdsC.cc:10169
BError dataChannelUpdate(BInt32 append, DataChannel dataChannel, BUInt32 &id)
Add or update a DataChannel entry.
Definition: BdsC.cc:11576
BError calibrationUpdate(BInt32 append, Calibration calibration, BUInt32 &id)
Add or update a Calibration entry.
Definition: BdsC.cc:10320
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition: BdsC.cc:13817
BError databaseRestore(BString ref, BString type)
Restore the database.
Definition: BdsC.cc:13877
BError metadataGetChannelInfo(Selection sel, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition: BdsC.cc:11003
BError channelInstrumentUpdate(BInt32 append, ChannelInstrument channelInstrument, BUInt32 &id)
Add or update a Instrument entry.
Definition: BdsC.cc:9807
BError userSet(User user)
Set user info.
Definition: BdsC.cc:8354
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition: BdsC.cc:13788
BError groupDelete(BUInt32 id)
Delete a group entry.
Definition: BdsC.cc:8588
BError setUserReal()
Sets user back to real user.
Definition: BdsC.cc:8074
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition: BdsC.cc:9632
BError transactionEnd(BInt32 abort)
Ends a set of transactions.
Definition: BdsC.cc:13729
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition: BdsC.cc:8102
BError changeGroupEnd()
End a ChangeGroup.
Definition: BdsC.cc:12982
BError eventDelete(BUInt32 id)
Delete a Event entry.
Definition: BdsC.cc:10837
BError sensorDelete(BUInt32 id)
Delete a Sensor entry.
Definition: BdsC.cc:10210
BError userDelete(BUInt32 id)
Delete a user entry.
Definition: BdsC.cc:8232
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition: BdsC.cc:8397
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition: BdsC.cc:13385
BError dataFileUpdate(BInt32 append, DataFileInfo dataFile, BUInt32 &id)
Add or update a DataFile entry.
Definition: BdsC.cc:11416
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition: BdsC.cc:8725
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the file.
Definition: BdsC.cc:12783
BError eventUpdate(BInt32 append, Event event, BUInt32 &id)
Add or update a Event entry.
Definition: BdsC.cc:10772
This class defines a calibration setting.
Definition: BdsD.h:340
This holds information on a set of Changes.
Definition: BdsD.h:797
This class provides metadata information on a set of channels.
Definition: BdsD.h:547
This class defines a Channel's instrument.
Definition: BdsD.h:422
This class defines a seismic data Channel.
Definition: BdsD.h:445
This defines the set of clean options used in the clean() function.
Definition: BdsD.h:880
This is the Data Access API interface.
Definition: BdsC.h:26
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition: BdsC.cc:3517
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition: BdsC.cc:2013
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition: BdsC.cc:815
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition: BdsC.cc:454
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition: BdsC.cc:3782
BError metadataGetChannelInfo(Selection sel, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition: BdsC.cc:1673
BError dataRealtimeGet(BUInt32 numBlocks, BUInt32 &numBlocksAvailable, BList< DataBlockChannel > &dataBlocks)
Returns the number of data blocks available and up to numBlocks of these.
Definition: BdsC.cc:3312
BError userSet(User user)
Set user info.
Definition: BdsC.cc:253
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
Read the raw data from the file.
Definition: BdsC.cc:3227
DataAccess(BString name="")
Definition: BdsC.cc:9
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responces.
Definition: BdsC.cc:1281
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition: BdsC.cc:1047
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition: BdsC.cc:504
BError setUserReal()
Sets user back to real user.
Definition: BdsC.cc:102
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition: BdsC.cc:2293
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition: BdsC.cc:2431
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition: BdsC.cc:3483
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the file.
Definition: BdsC.cc:3190
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition: BdsC.cc:1200
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of data formats.
Definition: BdsC.cc:3822
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Digitisers.
Definition: BdsC.cc:974
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition: BdsC.cc:72
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition: BdsC.cc:3060
BError noteGetList(Selection sel, BList< Note > ¬es)
Return a list of Notes.
Definition: BdsC.cc:3355
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition: BdsC.cc:3020
BError databaseBackup(BString &ref)
Backup the database.
Definition: BdsC.cc:3713
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition: BdsC.cc:2847
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition: BdsC.cc:1499
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition: BdsC.cc:1087
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition: BdsC.cc:42
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition: BdsC.cc:742
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Instruments.
Definition: BdsC.cc:905
BError userGet(User &user)
Get user info.
Definition: BdsC.cc:207
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition: BdsC.cc:2750
BError dataAvailability(Selection selection, BUInt32 num, BArray< DataAvailChan > &dataAvailChans)
Return availability for data matching the given selection parameters. If num > 0 segment ito this num...
Definition: BdsC.cc:2212
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition: BdsC.cc:3258
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition: BdsC.cc:3742
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition: BdsC.cc:586
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition: BdsC.cc:1160
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition: BdsC.cc:3435
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition: BdsC.cc:2130
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Add or update a Log item.
Definition: BdsC.cc:3553
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition: BdsC.cc:1603
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition: BdsC.cc:160
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition: BdsC.cc:3590
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition: BdsC.cc:3682
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station Locations.
Definition: BdsC.cc:1425
BError connect(BString user, BString password)
Provides user/password information for secure connection.
Definition: BdsC.cc:12
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition: BdsC.cc:3158
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition: BdsC.cc:658
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition: BdsC.cc:3653
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition: BdsC.cc:130
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition: BdsC.cc:414
BError metadataGetFormatted(Selection sel, BString format, BArray< BUInt8 > &data)
Return the channel MetaData in a particular format.
Definition: BdsC.cc:1953
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition: BdsC.cc:3623
BError userGetOptions(BDict< BString > &items)
Get user options.
Definition: BdsC.cc:334
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition: BdsC.cc:3094
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition: BdsC.cc:700
BError userSetOptions(BDict< BString > &items)
Set user options.
Definition: BdsC.cc:374
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition: BdsC.cc:296
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition: BdsC.cc:2963
This is the DataAdd Access API interface.
Definition: BdsC.h:103
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition: BdsC.cc:6253
BError dataPutBlock(DataHandle dataHandle, DataBlock data)
Send a block of data.
Definition: BdsC.cc:7212
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition: BdsC.cc:5365
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition: BdsC.cc:4566
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition: BdsC.cc:5563
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition: BdsC.cc:7264
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition: BdsC.cc:4452
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition: BdsC.cc:6391
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition: BdsC.cc:7888
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition: BdsC.cc:7054
BError userSetOptions(BDict< BString > &items)
Set user options.
Definition: BdsC.cc:4240
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition: BdsC.cc:7759
BError metadataGetChannelInfo(Selection sel, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition: BdsC.cc:5633
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition: BdsC.cc:7848
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition: BdsC.cc:3938
BError databaseBackup(BString &ref)
Backup the database.
Definition: BdsC.cc:7819
BError eventUpdate(BInt32 append, Event event, BUInt32 &id)
Add or update a Event entry.
Definition: BdsC.cc:5469
BError dataSetInfo(DataHandle dataHandle, DataInfo dataInfo)
Set the info when writing to a file.
Definition: BdsC.cc:7118
BError setUserReal()
Sets user back to real user.
Definition: BdsC.cc:3968
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition: BdsC.cc:4370
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition: BdsC.cc:6710
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition: BdsC.cc:4608
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responses.
Definition: BdsC.cc:5147
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition: BdsC.cc:4953
BError noteGetList(Selection sel, BList< Note > ¬es)
Return a list of Notes.
Definition: BdsC.cc:7461
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition: BdsC.cc:6807
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition: BdsC.cc:6090
BError dataAvailability(Selection selection, BUInt32 num, BArray< DataAvailChan > &dataAvailChans)
Return availability for data matching the given selection parameters. If num > 0 segment ito this num...
Definition: BdsC.cc:6172
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition: BdsC.cc:7589
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition: BdsC.cc:4162
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition: BdsC.cc:3996
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition: BdsC.cc:4524
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition: BdsC.cc:4681
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition: BdsC.cc:4280
BError connect(BString user, BString password)
Provides user/password information.
Definition: BdsC.cc:3878
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition: BdsC.cc:3908
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition: BdsC.cc:7541
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
The total length in bytes of the formated data.
Definition: BdsC.cc:7333
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition: BdsC.cc:6923
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Channels.
Definition: BdsC.cc:4840
BError userSet(User user)
Set user info.
Definition: BdsC.cc:4119
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition: BdsC.cc:7729
BError eventDelete(BUInt32 id)
Delete a Event entry.
Definition: BdsC.cc:5534
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition: BdsC.cc:4913
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Append a log item ///< Add or update a Log item.
Definition: BdsC.cc:7659
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition: BdsC.cc:7623
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition: BdsC.cc:7364
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition: BdsC.cc:6980
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition: BdsC.cc:5026
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition: BdsC.cc:4320
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition: BdsC.cc:7020
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition: BdsC.cc:5973
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Instruments.
Definition: BdsC.cc:4771
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition: BdsC.cc:5066
BError metadataGetFormatted(Selection sel, BString format, BArray< BUInt8 > &data)
Return the channel MetaData in a particular format.
Definition: BdsC.cc:5913
BError userGetOptions(BDict< BString > &items)
Get user options.
Definition: BdsC.cc:4200
DataAddAccess(BString name="")
Definition: BdsC.cc:3875
BError dataRealtimeGet(BUInt32 numBlocks, BUInt32 &numBlocksAvailable, BList< DataBlockChannel > &dataBlocks)
Returns the number of data blocks available and up to numBlocks of these.
Definition: BdsC.cc:7418
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of data formats.
Definition: BdsC.cc:7928
BError userGet(User &user)
Get user info.
Definition: BdsC.cc:4073
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition: BdsC.cc:7696
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station Locations.
Definition: BdsC.cc:5291
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the stream.
Definition: BdsC.cc:7296
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition: BdsC.cc:4026
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition: BdsC.cc:7788
This class provides the actual seismic data values contained within a single data block.
Definition: BdsD.h:690
This class defines information on a single channels set of data stored in a file.
Definition: BdsD.h:588
This class defines information on a sensor data file.
Definition: BdsD.h:559
This defines a handle to a sensor data stream/file when opened for read or write.
Definition: BdsD.h:670
This class defines information on a set of data.
Definition: BdsD.h:623
This class defines a seismic Digitiser.
Definition: BdsD.h:372
This class defines a seismic event.
Definition: BdsD.h:927
This holds information on a user security group.
Definition: BdsD.h:738
This class defines an integer based range.
Definition: BdsD.h:79
This class defines the physical location of a Station.
Definition: BdsD.h:200
This defines the selection cirteria when requesting a set of log entries.
Definition: BdsD.h:869
This holds information on a Log entry.
Definition: BdsD.h:850
This class defines a seismic Network organisation.
Definition: BdsD.h:95
This holds information on a Note for general information.
Definition: BdsD.h:818
This class defines a seismic Response characteristic.
Definition: BdsD.h:304
This class defines the set of metadata or siesmic data selected when getSelectionInfo() is use.
Definition: BdsD.h:468
This class defines a generic metadata or seismic data selection.
Definition: BdsD.h:501
This class defines a seismic Sensor.
Definition: BdsD.h:396
This class defines a Source Priority entry.
Definition: BdsD.h:135
This class defines a seismic data Source.
Definition: BdsD.h:115
This class defines a seismic station.
Definition: BdsD.h:184
This holds information on a user.
Definition: BdsD.h:715
const BUInt32 apiVersion
Definition: BdsC.h:19
Mode
BdsServer mode.
Definition: BdsD.h:35
SelectionGroup
The Selection group when making selections.
Definition: BdsD.h:41