plcopen 0.22.0
载入中...
搜索中...
未找到
types.h 文件参考
#include <cmath>
#include <cstdint>
#include <cstring>
#include "st/type_desc.h"
#include "st/generated/st_binding_catalog.h"
types.h 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

命名空间

namespace  plcopen
namespace  plcopen::core
namespace  plcopen::core::st
namespace  plcopen::core::st::detail

类型定义

using plcopen::core::st::FbType = generated::StBindingFbType

枚举

enum class  plcopen::core::st::Type : std::uint8_t {
  plcopen::core::st::bool_ = 0 , plcopen::core::st::int_ = 1 , plcopen::core::st::dint = 2 , plcopen::core::st::real = 3 ,
  plcopen::core::st::lreal = 4 , plcopen::core::st::time = 5 , plcopen::core::st::sint = 6 , plcopen::core::st::lint = 7 ,
  plcopen::core::st::usint = 8 , plcopen::core::st::uint_ = 9 , plcopen::core::st::udint = 10 , plcopen::core::st::ulint = 11 ,
  plcopen::core::st::byte_ = 12 , plcopen::core::st::word = 13 , plcopen::core::st::dword = 14 , plcopen::core::st::lword = 15 ,
  plcopen::core::st::axis_ref = 16 , plcopen::core::st::char_ = 17 , plcopen::core::st::wchar = 18 , plcopen::core::st::string_ = 19 ,
  plcopen::core::st::wstring = 20 , plcopen::core::st::date = 21 , plcopen::core::st::tod = 22 , plcopen::core::st::dt = 23 ,
  plcopen::core::st::group_ref = 24
}

函数

constexpr TypeId plcopen::core::st::type_id (Type type)
constexpr Type plcopen::core::st::type_from_id (TypeId id)
constexpr bool plcopen::core::st::is_signed_int (Type type)
constexpr bool plcopen::core::st::is_unsigned_int (Type type)
constexpr bool plcopen::core::st::is_integer (Type type)
constexpr bool plcopen::core::st::is_bitstring (Type type)
constexpr bool plcopen::core::st::is_real_family (Type type)
constexpr int plcopen::core::st::width_bits (Type type)
constexpr bool plcopen::core::st::widens_to (Type from, Type to)
std::uint64_t plcopen::core::st::detail::double_bits (double value)
double plcopen::core::st::detail::bits_double (std::uint64_t bits)
std::int64_t plcopen::core::st::detail::wrap8 (std::int64_t value)
std::int64_t plcopen::core::st::detail::wrap16 (std::int64_t value)
std::int64_t plcopen::core::st::detail::wrap32 (std::int64_t value)
std::int64_t plcopen::core::st::detail::wrap_add64 (std::int64_t a, std::int64_t b)
std::int64_t plcopen::core::st::detail::wrap_sub64 (std::int64_t a, std::int64_t b)
std::int64_t plcopen::core::st::detail::wrap_mul64 (std::int64_t a, std::int64_t b)
std::uint64_t plcopen::core::st::detail::wrap_double_to_u64 (double value)
std::uint64_t plcopen::core::st::detail::canon (Type type, std::uint64_t raw)
constexpr const char * plcopen::core::st::to_string (Type type)
constexpr const char * plcopen::core::st::to_string (FbType type)

变量

constexpr int plcopen::core::st::kTypeCount = 25
constexpr int plcopen::core::st::kFbTypeCount = static_cast<int>(FbType::count)