Prev Up Next Index
Go backward to 1.2.1 Common Ancestor: BaseType
Go up to 1.2 The Type Hierarchy
Go forward to 1.2.3 Vector Types: Array, List

1.2.2 Simple Types

The DODS simple data types consist of Byte, Int16, UInt16, Int32, UInt32, Float32, Float64, Str and Url. These data types match very closely the corresponding types in C or Fortran. Note that--internally--each of these types uses either the C or C++ representation to hold the value of the object.

These abstract classes are direct descendents of BaseType which contain only their definitions for BaseType's abstract member functions and a single constructor.

Byte
Variables which store bytes. Equivalent to unsigned char on most UNIX workstations.
Int16
Variables which store integer values as 16-bit twos-complement signed integers. Equivalent to int on most 16-bit UNIX workstations.
UInt16
Unsigned integer. A 16-bit unsigned integer value.
Int32
Variables which store integer values as 32-bit twos-complement signed integers. Equivalent to int on most 32-bit UNIX workstations.
UInt32
Unsigned integer. A 32-bit unsigned integer value.
Float32
Variables which store floating point data. Defined as the IEEE 32-bit floating point data type, equivalent to a float in ANSI C.
Float64
Variables which store floating point data. Defined as the IEEE 64-bit floating point data type, equivalent to a double in ANSI C.
Str
Variables which store string information. A DODS string is not a sequence of characters referenced using a pointer (as it is in C), it is represented using a C++ object of the class String.
Url
Variables which store references to network resources. This is a sub-class of Str.

Tom Sgouros, July 2, 2004

Prev Up Next