class
#include <eckit/sql/type/SQLBitfield.h>
SQLBitfield
Base classes
- class SQLType
Public types
- enum (anonymous) { realType = 0, integerType = 1, stringType = 2, bitmapType = 3, blobType = 4, doubleType = 5 }
-
using manipulator = std::
ios_base&(*)(std::ios_base&)
Public static functions
-
static auto make(const std::
string&, const FieldNames&, const Sizes&, const char* aliasName = NULL) -> std:: string -
static auto lookup(const std::
string&, size_t sizeDoubles = 1) -> const SQLType& -
static void createAlias(const std::
string&, const std:: string&) - static auto registerType(SQLType*) -> SQLType*
Constructors, destructors, conversion operators
-
SQLBitfield(const std::
string&, const FieldNames&, const Sizes&) - ~SQLBitfield()
Public functions
-
auto mask(const std::
string& n) const -> unsigned long -
auto shift(const std::
string& n) const -> unsigned long - auto bitfieldDef() const -> const BitfieldDef&
- auto fields() const -> const FieldNames&
- auto sizes() const -> const Sizes&
-
auto name() const -> const std::
string& - void output(SQLOutput& out, const double* val, bool missing) const virtual
- auto format() const -> manipulator virtual
Private functions
- auto size() const -> size_t override
- void output(SQLOutput& s, double, bool) const override
-
auto asString(const double* val) const -> std::
string override -
auto subType(const std::
string&) const -> const SQLType* override - auto getKind() const -> int override
- auto width() const -> size_t override
Enum documentation
enum eckit:: sql:: type:: SQLBitfield:: (anonymous)
#include <eckit/sql/type/SQLType.h>
Typedef documentation
typedef std:: ios_base&(*eckit:: sql:: type:: SQLBitfield:: manipulator)(std::ios_base&)
#include <eckit/sql/type/SQLType.h>
Function documentation
static const SQLType& eckit:: sql:: type:: SQLBitfield:: lookup(const std:: string&,
size_t sizeDoubles = 1)
#include <eckit/sql/type/SQLType.h>
static void eckit:: sql:: type:: SQLBitfield:: createAlias(const std:: string&,
const std:: string&)
#include <eckit/sql/type/SQLType.h>
static SQLType* eckit:: sql:: type:: SQLBitfield:: registerType(SQLType*)
#include <eckit/sql/type/SQLType.h>
const std:: string& eckit:: sql:: type:: SQLBitfield:: name() const
#include <eckit/sql/type/SQLType.h>
void eckit:: sql:: type:: SQLBitfield:: output(SQLOutput& out,
const double* val,
bool missing) const virtual
#include <eckit/sql/type/SQLType.h>
manipulator eckit:: sql:: type:: SQLBitfield:: format() const virtual
#include <eckit/sql/type/SQLType.h>