Xmipp
v3.23.11-Nereus
|
Enumerations | |
enum | DataType { DT_Default = -1, DT_Unknown = 0, DT_UChar = 1, DT_SChar = 2, DT_UShort = 3, DT_Short = 4, DT_UInt = 5, DT_Int = 6, DT_ULong = 7, DT_Long = 8, DT_Float = 9, DT_Double = 10, DT_CShort = 11, DT_CInt = 12, DT_CFloat = 13, DT_CDouble = 14, DT_Bool = 15, DT_UHalfByte = 16, DT_HalfFloat = 17, DT_LastEntry = 18 } |
Functions | |
size_t | gettypesize (DataType type) |
Returns memory size of datatype. More... | |
DataType | str2Datatype (const std::string &str) |
std::string | datatype2Str (DataType datatype) |
std::string | datatype2StrLong (DataType datatype) |
enum DataType |
Data type. This class defines the datatype of the data inside this image.
Definition at line 38 of file xmipp_datatype.h.
std::string datatype2Str | ( | DataType | datatype | ) |
Convert datatype to string
Definition at line 131 of file xmipp_datatype.cpp.
std::string datatype2StrLong | ( | DataType | datatype | ) |
Convert datatype to string in long format
Definition at line 172 of file xmipp_datatype.cpp.
size_t gettypesize | ( | DataType | type | ) |
Returns memory size of datatype.
Definition at line 33 of file xmipp_datatype.cpp.
DataType str2Datatype | ( | const std::string & | str | ) |
Convert datatype string to datatype enum
Convert datatype string to datatypr enun
Definition at line 88 of file xmipp_datatype.cpp.