Namespaces | Functions | Variables

cmtkTypes.cxx File Reference

Go to the source code of this file.

Namespaces

namespace  cmtk

Functions

DataClass cmtk::StringToDataClass (const char *dataClassStr)
 Convert string to data class identifier.
const char * cmtk::DataClassToString (const DataClass dataClass)
 Convert data class identifier to string.
size_t cmtk::TypeItemSize (const ScalarDataType dtype)
 Return item size for given scalar data type.
ScalarDataType cmtk::SelectDataTypeInteger (const byte itemSize, const bool signBit)
 Select integer data type based on item size and sign bit.
ScalarDataType cmtk::GetSignedDataType (const ScalarDataType dtype)
 Return signed datatype ID corresponding to given datatype.
ScalarDataType cmtk::GetDifferenceDataType (const ScalarDataType dtype1, const ScalarDataType dtype2)
 Return difference datatype ID for given pair of datatypes.
ScalarDataType cmtk::GetUnsignedDataType (const ScalarDataType dtype)
 Return unsigned datatype ID corresponding to given datatype.

Variables

const char * cmtk::DataClassString []
const char * cmtk::DataTypeName []
 Names of scalar data types.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines