#ifndef DEPTHDEFVAR #define DEPTHDEFVAR module org { module omg { module c4i { module Domain_Model { module Navigation_Domain { module Depth { // Version 1.0 // Measured positive down in meters. c.f. altitude_coordinate_type in OARIS // Common_Types package. typedef double depth_coordinate_type; // Version 1.0 // a simple union type, to represent an optional value union depth_report_depth_below_keel_type switch (boolean) { // the value when present case TRUE : org::omg::c4i::Domain_Model::Navigation_Domain::Depth::depth_coordinate_type value; }; // Version 1.0 // a simple union type, to represent an optional value union depth_report_keel_depth_type switch (boolean) { // the value when present case TRUE : org::omg::c4i::Domain_Model::Navigation_Domain::Depth::depth_coordinate_type value; }; // Version 1.0 // a simple union type, to represent an optional value union depth_report_water_depth_type switch (boolean) { // the value when present case TRUE : org::omg::c4i::Domain_Model::Navigation_Domain::Depth::depth_coordinate_type value; }; // Version 1.0 // Used by waterborne craft to report depth information. struct depth_report_type { // The depth of the bed below the keel. depth_report_depth_below_keel_type depth_below_keel; // The depth of the keel below the surface of the water. depth_report_keel_depth_type keel_depth; // The depth of the bed below the water's surface. depth_report_water_depth_type water_depth; }; }; }; }; }; }; }; #endif