|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
The Numeric type represents integers and floats. More...
#include <Numeric.hpp>
Public Member Functions | |
| Numeric (int8_t bits) | |
| ~Numeric () override=default | |
| bool | isNumeric () const final |
| Checks if this data type is Numeric. More... | |
| int8_t | getBits () const |
| Gets the bit size of this 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 | isBoolean () const |
| Checks if this data type is Boolean. 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... | |
| virtual bool | equals (DataTypePtr otherDataType)=0 |
| Checks if two data types are equal. More... | |
| virtual DataTypePtr | join (DataTypePtr otherDataType)=0 |
| 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... | |
| virtual std::string | toString ()=0 |
| Returns a string representation of the data type. More... | |
Protected Attributes | |
| const int8_t | bits |
Additional Inherited Members | |
Static Public Member Functions inherited from NES::DataType | |
| template<class DataType > | |
| static std::shared_ptr< DataType > | as (DataTypePtr ptr) |
The Numeric type represents integers and floats.
|
explicit |
|
overridedefault |
| int8_t NES::Numeric::getBits | ( | ) | const |
|
inlinefinalvirtual |
|
protected |