StreamBase C++ API 10.3.0.4

- Main Page
- Related Pages
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | List of all members
sb::DataType Class Reference

A type of data in a tuple. More...

`#include <DataType.hpp>`

## Public Member Functions
| DataType ()
| Construct a DataType equal to DataType::NONE. More...
std::string | as_string () const
| Return a string representation of the data type. More...
size_t | getSize () const

## Static Public Member Functions
static bool | isFixedSize (DataType type)
| Return false if the type is variable-length (e.g., STRING or BLOB) More...

## Detailed Description

A type of data in a tuple.

Valid values are

- DataType::NONE (sentinel "null" value)
- DataType::INT
- DataType::DOUBLE
- DataType::STRING
- DataType::TIMESTAMP
- DataType::BOOL
- DataType::LONG
- DataType::BLOB
- DataType::TUPLE
- DataType::LIST
- DataType::CAPTURE
- DataType::FUNCTION

## Constructor & Destructor Documentation

sb::DataType::DataType | ( |  | ) |
| inline

Construct a DataType equal to DataType::NONE.

## Member Function Documentation

std::string sb::DataType::as_string | ( |  | ) | const
| inline

Return a string representation of the data type.

static bool sb::DataType::isFixedSize | ( | DataType | type | ) |
| inline static

Return false if the type is variable-length (e.g., STRING or BLOB)

The documentation for this class was generated from the following file:

- DataType.hpp