| Prototype: |
| int ewdb_internal_GetStaMagsForCodaDur( |
EWDBid idMagnitude, EWDB_StationMagStruct * pStaMags, int * pNumStaMagsFound, int * pNumStaMagsRetrieved, int BufferLen); |
|
| Source File: |
src/oracle/schema-working/src/parametric/ewdb_internal_GetStaMagsForCodaDur.c |
| Description: |
The function retrieves a list of "Peak Amplitude" based station magnitudes that support a single summary amplitude magnitude (ML, Mb, etc.) for an Event. See EWDB_StationMagStruct for a description of the information retrieved for each associated stamag. Because this function deals with only amplitude based measurements, it will never fill in the StaMagUnion.CodaDur information |
RETURN CODE INFO |
| Return Type: |
int |
|
PARAMETER INFO |
| Parameter |
Type |
Description |
| idMagnitude |
EWDBid |
DB ID of the summary magnitude for which the caller wants to retrieve associated station magnitudes. (The caller wants to retrieve station magnitudes for this summary magnitude.) |
| pStaMags |
EWDB_StationMagStruct * |
|
| pNumStaMagsFound |
int * |
Pointer to an integer where the function will write the number of station magnitudes found. |
| pNumStaMagsRetrieved |
int * |
Pointer to an integer where the function will write the number of station magnitudes placed in the callers buffer(pStaMags). |
| BufferLen |
int |
Size of the pStaMags buffer as a multiple of EWDB_StationMagStruct. (example: 15 structs) |
|
|
| Group: |
EWDB_API_LIB |
| Language: |
C |
| Location: |
./src/oracle/schema-working/src/include/internal/ewdb_internal_functions.h |