A custom type.
More...
#include <xentara/data/DataType.hpp>
◆ DataType()
Constructor.
- Parameters
-
uuid | The UUID of the attribute |
name | The human name of the data type, in UTF-8 encoding. The string data the view references to is not copied. It must remain valid for the lifetime of the plugin. |
◆ name()
Gets the name.
- Returns
- The name, in UTF-8 encoding
◆ operator==()
auto xentara::data::DataType::operator== |
( |
const DataType & |
rhs | ) |
const -> bool
|
Checks whether a reference refers to this data type.
This operator checks the identity of the objects, not the properties. The operator returns true only if the rhs refers to the same object as this. It is equivalent to this == std::addressof(rhs)
.
- Returns
- Returns true if the attribute has the given name.
◆ uuid()
◆ kBoolean
const DataType xentara::data::DataType::kBoolean |
|
static |
◆ kElementCategory
const DataType xentara::data::DataType::kElementCategory |
|
static |
An element category value.
◆ kErrorCode
const DataType xentara::data::DataType::kErrorCode |
|
static |
◆ kFloatingPoint
const DataType xentara::data::DataType::kFloatingPoint |
|
static |
◆ kInteger
const DataType xentara::data::DataType::kInteger |
|
static |
◆ kQuality
const DataType xentara::data::DataType::kQuality |
|
static |
A data point quality value.
◆ kRawData
const DataType xentara::data::DataType::kRawData |
|
static |
◆ kString
const DataType xentara::data::DataType::kString |
|
static |
◆ kTimeStamp
const DataType xentara::data::DataType::kTimeStamp |
|
static |
◆ kUuid
const DataType xentara::data::DataType::kUuid |
|
static |