EWDB_CriteriaStruct

Type: struct _EWDB_CriteriaStruct
Description: Structure for specifying criteria for object searches. Criteria can be used to retrieve a list of certian objects, like Events or Stations.
Note:
Field Type Description
Criteria int Set of flags specifying which criteria to use. See EWDB_CRITERIA_USE_TIME for a list of the possible criteria flags. The flags are not mutually exclusive. The values of the remaning members will be ignored if their matching criteria flags are not set.
MinTime int The minimum acceptable time for a list value. Specified as seconds since 1970. If time were a criteria for selecting a list of events, then all events in the returned list would have to have occurred after MinTime.
MaxTime int The maximum acceptable time for a list value. Comparable to MinTime. Expressed as seconds since 1970.
MinLon float The minimum acceptable longitude for a list value. Same principal as MinTime. Expressed as degrees. (West=negative)
MaxLon float The maximum acceptable longitude for a list value. Same principal as MinTime. Expressed as degrees. (West=negative)
MinLat float The minimum acceptable lattitude for a list value. Same principal as MinTime. Expressed as degrees. (South=negative)
MaxLat float The maximum acceptable lattitude for a list value. Same principal as MinTime. Expressed as degrees. (South=negative)
MinDepth float The minimum acceptable depth for a list value. Same principal as MinTime. Expressed as kilometers(km) below surface.
MaxDepth float The maximum acceptable depth for a list value. Same principal as MinTime. Expressed as kilometers(km) below surface.

Group: EWDB_API_LIB
Sub Group: UTILITY
Language: C
Location: ./src/oracle/schema-working/src/include/ewdb_ora_api.h



EWDBid

Type: int
Description: The C format of a EWDB Database ID.
Note: Last seen, EWDBids were capable of being larger than an integer, and this could create problems for the storing of EWDBids in C. There is a move to change the type from int to either 64-bit int or string. DavidK 05/01/00 This should not cause problems with operations on existing EW5 databases, but in the existing format, it does prevent existing nodes from coexisting in a tightly coupled manner.

Group: EWDB_API_LIB
Sub Group: UTILITY
Language: C
Location: ./src/oracle/schema-working/src/include/ewdb_ora_api.h