ctai_datatypes.h File Reference

Utility functions for working with data types. More...

Go to the source code of this file.

Functions

CTA_Datatype CTAI_String2Type (const char *dt)
 Get a CTA_Datatype object describing the data type given in string representation.
const char * CTAI_Type2String (CTA_Datatype datatype)
 Get string representation of CTA_Datatype object.

Detailed Description

Utility functions for working with data types.

Note:
This is just a set of utility routines it does not define any COSTA component.

Definition in file ctai_datatypes.h.


Function Documentation

CTA_Datatype CTAI_String2Type ( const char *  dt  ) 

Get a CTA_Datatype object describing the data type given in string representation.

Parameters:
dt I description of data type in string form
Returns:
CTA_Datatype describing the data type, CTA_NULL if data type is unknown
const char* CTAI_Type2String ( CTA_Datatype  datatype  ) 

Get string representation of CTA_Datatype object.

Parameters:
datatype I CTA_Datatype object describing the data type
Returns:
pointer to string containing description of data type ("CTA_ILLEGAL_DATATYPE" if unknown)

Generated on 4 Mar 2014 for OpenDA by  doxygen 1.6.1