|
ifw-fnd 1.0.0
|
#include <array>#include <iostream>#include <thread>#include <fmt/format.h>#include <boost/algorithm/string.hpp>#include <boost/assign.hpp>#include <boost/bimap.hpp>#include <ifw/fnd/defs/logger.hpp>#include <ifw/fnd/defs/base.hpp>Go to the source code of this file.
Namespaces | |
| namespace | ifw |
| namespace | ifw::fnd |
| This source file contains definitions of the types and constants to handle data types. | |
| namespace | ifw::fnd::datatype |
| This source file contains definitions of the types and constants to handle data types. | |
Typedefs | |
| using | ifw::fnd::datatype::TypeNumMap = boost::bimap<std::string, DataType> |
Enumerations | |
| enum class | ifw::fnd::datatype::DataType : int32_t { ifw::fnd::datatype::ARRAY = 1 << 0 , ifw::fnd::datatype::INVALID = 1 << 4 , ifw::fnd::datatype::CHAR = 1 << 5 , ifw::fnd::datatype::BYTE = 1 << 6 , ifw::fnd::datatype::BOOL = 1 << 7 , ifw::fnd::datatype::INT16 = 1 << 8 , ifw::fnd::datatype::UINT16 = 1 << 9 , ifw::fnd::datatype::INT32 = 1 << 10 , ifw::fnd::datatype::UINT32 = 1 << 11 , ifw::fnd::datatype::INT64 = 1 << 12 , ifw::fnd::datatype::UINT64 = 1 << 13 , ifw::fnd::datatype::FLOAT = 1 << 16 , ifw::fnd::datatype::DOUBLE = 1 << 17 , ifw::fnd::datatype::COMPLEX = 1 << 19 , ifw::fnd::datatype::STRING = CHAR | ARRAY , ifw::fnd::datatype::FLOAT_COMPLEX = FLOAT | COMPLEX , ifw::fnd::datatype::DOUBLE_COMPLEX = DOUBLE | COMPLEX , ifw::fnd::datatype::BITMASK = 1 << 21 , ifw::fnd::datatype::UNSPECIFIED = 1 << 20 } |
| Numerical representations of the standard types. More... | |
Functions | |
| DataType | ifw::fnd::datatype::GetDataType (std::string data_type, bool permissive=true) |
| std::optional< std::string > | ifw::fnd::datatype::GetDataTypeStr (DataType data_type) |
| std::string | ifw::fnd::datatype::GetDataTypeStr2 (DataType data_type) |
| int | ifw::fnd::datatype::IfwDataTypeSizeInBytes (DataType data_type) |