OpenDOF Project
Files | Functions
DOSValue
OpenDOF Stack (DOS)

Files

file  cos.h
 Header file for the COS functions, defines and data types.
 

Functions

DOSStatus DOSValue_Get_Array_Length (uint16 *array)
 Get the array element count.
 
DOSStatus DOSValue_Get_BLOB (uint32 *len, const uint8 **buf)
 Unmarshal a BLOB from the receive buffer.
 
DOSStatus DOSValue_Get_boolean (boolean *val)
 Unmarshal a boolean from the receive buffer.
 
DOSStatus DOSValue_Get_DateTime (DateTime *array)
 Unmarshal a DateTime from the receive buffer.
 
DOSStatus DOSValue_Get_float32 (float32 *val)
 Unmarshal a float32 from the receive buffer.
 
DOSStatus DOSValue_Get_float64 (float64 *val)
 Unmarshal a float64 from the receive buffer.
 
DOSStatus DOSValue_Get_int16 (int16 *val)
 Unmarshal an int16 from the receive buffer.
 
DOSStatus DOSValue_Get_int32 (int32 *val)
 Unmarshal an int32 from the receive buffer.
 
DOSStatus DOSValue_Get_int64 (int64 *val)
 Unmarshal an int64 from the receive buffer.
 
DOSStatus DOSValue_Get_int8 (int8 *val)
 Unmarshal an int8 from the receive buffer.
 
DOSStatus DOSValue_Get_InterfaceID (DOSInterfaceID *iid)
 Unmarshal an Interface ID from the receive buffer.
 
DOSStatus DOSValue_Get_Nullable (boolean *val)
 Unmarshal a Nullable flag (boolean) from the receive buffer.
 
DOSStatus DOSValue_Get_ObjectID (DOSObjectID *oid)
 Unmarshal an Object ID from the receive buffer.
 
DOSStatus DOSValue_Get_String (uint32 len, char *buf)
 Unmarshal a string from the receive buffer in standard C form (with a NULL terminating character).
 
DOSStatus DOSValue_Get_uint16 (uint16 *val)
 Unmarshal a uint16 from the receive buffer.
 
DOSStatus DOSValue_Get_uint32 (uint32 *val)
 Unmarshal a uint32 from the receive buffer.
 
DOSStatus DOSValue_Get_uint64 (uint64 *val)
 Unmarshal a uint64 from the receive buffer.
 
DOSStatus DOSValue_Get_uint8 (uint8 *val)
 Unmarshal a uint8 from the receive buffer.
 
DOSStatus DOSValue_Get_uuid (uuid *val)
 Unmarshal a UUID from the receive buffer.
 
DOSStatus DOSValue_Put_Array_Length (uint16 val)
 When marshaling an array, use this after all values are already marshaled (in reverse order) to indicate the element count.
 
DOSStatus DOSValue_Put_BLOB (uint32 len, const uint8 *data)
 Marshal a BLOB into the send buffer.
 
DOSStatus DOSValue_Put_boolean (boolean val)
 Marshal a boolean into the send buffer.
 
DOSStatus DOSValue_Put_DateTime (DateTime val)
 Marshal a DateTime into the send buffer.
 
DOSStatus DOSValue_Put_float32 (float32 val)
 Marshal a float32 into the send buffer.
 
DOSStatus DOSValue_Put_float64 (float64 val)
 Marshal a float64 into the send buffer.
 
DOSStatus DOSValue_Put_int16 (int16 val)
 Marshal an int16 into the send buffer.
 
DOSStatus DOSValue_Put_int32 (int32 val)
 Marshal an int32 into the send buffer.
 
DOSStatus DOSValue_Put_int64 (int64 val)
 Marshal an int64 into the send buffer.
 
DOSStatus DOSValue_Put_int8 (int8 val)
 Marshal an int8 into the send buffer.
 
DOSStatus DOSValue_Put_InterfaceID (DOSInterfaceID iid)
 Marshal an Interface ID into the send buffer.
 
DOSStatus DOSValue_Put_Nullable (boolean val)
 Marshal a nullable flag (boolean) into the send buffer.
 
DOSStatus DOSValue_Put_ObjectID (DOSObjectID oid)
 Marshal an Object ID into the send buffer.
 
DOSStatus DOSValue_Put_String (const char *string)
 Marshal a standard C string (with a NULL terminating character) into the send buffer.
 
DOSStatus DOSValue_Put_uint16 (uint16 val)
 Marshal a uint16 into the send buffer.
 
DOSStatus DOSValue_Put_uint32 (uint32 val)
 Marshal a uint32 into the send buffer.
 
DOSStatus DOSValue_Put_uint64 (uint64 val)
 Marshal a uint64 into the send buffer.
 
DOSStatus DOSValue_Put_uint8 (uint8 val)
 Marshal a uint8 into the send buffer.
 
DOSStatus DOSValue_Put_uuid (uuid val)
 Marshal a UUID into the send buffer.
 

Detailed Description

core-c-cos Version 7.0.1 Build 0
2018-02-08