| Prototype: |
|
| Source File: |
src/oracle/schema-working/src/waveform/ewdb_internal_GetWaveformList.c |
| Description: |
The function retrieves a list of waveforms that are associated with a given event. See EWDB_WaveformStruct for a description of the information retrieved for each associated waveform. |
| Note: |
This function only retrieves the waveform DESCRIPTORS, it does not actually retrieve the binary waveform. |
RETURN CODE INFO |
| Return Type: |
|
|
PARAMETER INFO |
| Parameter |
Type |
Description |
| IN_idEvent |
EWDBid |
Database ID of the Event whose waveform snippets we are interested in. |
| IN_pWaveformBuffer |
EWDB_WaveformStruct |
Pointer to a pre-allocated array of waveform structs which will be filled by this function. |
| IN_BufferRecLen |
int |
Length of the IN_pWaveformBuffer array. |
|
|
| Group: |
EWDB_API_LIB |
| Sub Group: |
WAVEFORM-INTERNAL |
| Language: |
C |
| Location: |
./src/oracle/schema-working/src/include/internal/ewdb_internal_functions.h |
| Prototype: |
|
| Source File: |
src/oracle/schema-working/src/waveform/ewdb_internal_GetWaveformListWithCompT.c |
| Description: |
The function retrieves a list of waveforms (and their associated station/component info) that are associated with a given event. See EWDB_WaveformStruct and EWDB_StationStruct for a description of the information retrieved for each associated waveform. |
| Note: |
This function only retrieves the waveform DESCRIPTORS, it does not actually retrieve the binary waveform. |
RETURN CODE INFO |
| Return Type: |
int |
|
PARAMETER INFO |
| Parameter |
Type |
Description |
| IN_idEvent |
EWDBid |
Database ID of the Event whose waveform snippets we are interested in. |
| IN_pWaveformBuffer |
EWDB_WaveformStruct |
Pointer to a pre-allocated array of waveform structs which will be filled by this function. |
| IN_pStationBuffer |
EWDB_StationStruct |
Pointer to a pre-allocated array of station structs which will be filled by this function. |
| IN_BufferRecLen |
int |
Length of the IN_pWaveformBuffer array. |
|
|
| Group: |
EWDB_API_LIB |
| Sub Group: |
WAVEFORM-INTERNAL |
| Language: |
C |
| Location: |
./src/oracle/schema-working/src/include/internal/ewdb_internal_functions.h |
| Prototype: |
| int ewdb_internal_UpdateSnippet( |
EWDBid IN_idWaveform, char * IN_pSnippet, int IN_iSnippetSize); |
|
| Source File: |
src/oracle/schema-working/src/waveform/ewdb_internal_UpdateSnippet.c |
| Description: |
Updates the binary waveform snippet in the database, replacing the old binary snippet with the new one. A snippet and a waveform descriptor must already exist in the DB for the given idWaveform. The idWaveform is the DB ID of the existing waveform descriptor and snippet. |
RETURN CODE INFO |
| Return Type: |
int |
|
PARAMETER INFO |
| Parameter |
Type |
Description |
| IN_idWaveform |
EWDBid |
Database ID of the Waveform associated with this snippet. |
| IN_pSnippet |
char * |
Pointer to the binary waveform snippet to be inserted. |
| IN_iSnippetSize |
int |
Length of the snippet. |
|
|
| Group: |
EWDB_API_LIB |
| Sub Group: |
WAVEFORM-INTERNAL |
| Language: |
C |
| Location: |
./src/oracle/schema-working/src/include/internal/ewdb_internal_functions.h |
| Prototype: |
|
| Source File: |
src/oracle/schema-working/src/waveform/ewdb_internal_UpdateWaveformDesc.c |
| Description: |
Update an existing waveform descriptor record in the database. The record maintains any existing associations it has. pWaveform should be a pointer to an EWDB_WaveformStruct. pWaveform->idWaveform, pWaveform->tStart, pWaveform->tEnd, pWaveform->binSnippet, and pWaveform->iByteLen must be filled in and valid. idWaveform must be the DB ID of an existing waveform within the DB. pWaveform->idChan is ignored (You are not allowed to change the channel for an existing snippet. If you have erroniously associated a snippet with a channel, you must delete the old snippet, and create a new one to fix the problem. pWaveform->iDataFormat is not currently supported. |
RETURN CODE INFO |
| Return Type: |
int |
|
PARAMETER INFO |
| Parameter |
Type |
Description |
| pWaveform |
EWDB_WaveformStruct * |
Input waveform structure filled by the caller. |
|
|
| Group: |
EWDB_API_LIB |
| Sub Group: |
WAVEFORM-INTERNAL |
| Language: |
C |
| Location: |
./src/oracle/schema-working/src/include/internal/ewdb_internal_functions.h |