|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
The boolean type can have two states: true, and false. More...
#include <Boolean.hpp>
Public Member Functions | |
| ~Boolean () override=default | |
| bool | isBoolean () const override |
| Checks if this data type is Boolean. More... | |
| bool | equals (DataTypePtr otherDataType) override |
| Checks if two data types are equal. More... | |
| DataTypePtr | join (DataTypePtr otherDataType) override |
| Calculates the joined data type between this data type and the other. If they have no possible joined data type, the coined type is Undefined. More... | |
| std::string | toString () override |
| Returns a string representation of the data type. More... | |
Public Member Functions inherited from NES::DataType | |
| virtual | ~DataType ()=default |
| virtual bool | isUndefined () const |
| Checks if this data type is Undefined. More... | |
| virtual bool | isNumeric () const |
| Checks if this data type is Numeric. More... | |
| virtual bool | isInteger () const |
| Checks if this data type is Integer. More... | |
| virtual bool | isFloat () const |
| Checks if this data type is Float. More... | |
| virtual bool | isArray () const |
| Checks if this data type is ArrayType. More... | |
| virtual bool | isCharArray () const |
| Checks if this data type is ArrayType. More... | |
| virtual bool | isChar () const |
| Checks if this data type is Char. More... | |
| virtual bool | isText () const |
| Checks if this data type is Char. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from NES::DataType | |
| template<class DataType > | |
| static std::shared_ptr< DataType > | as (DataTypePtr ptr) |
The boolean type can have two states: true, and false.
|
overridedefault |
|
overridevirtual |
|
inlineoverridevirtual |
Checks if this data type is Boolean.
Reimplemented from NES::DataType.
|
overridevirtual |
Calculates the joined data type between this data type and the other. If they have no possible joined data type, the coined type is Undefined.
| other | data type |
Implements NES::DataType.
References NES::DataTypeFactory::createBoolean(), and NES::DataTypeFactory::createUndefined().
|
overridevirtual |