FlatCityBuf C++ reader 0.10.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
Loading...
Searching...
No Matches
fcb::ColumnInfo Struct Reference

One attribute column's schema, copied out of the header. More...

#include <fcb/header.hpp>

Public Attributes

std::uint16_t index
std::string name
std::uint8_t type
bool nullable
bool primary_key
 Set on the City Object id column: its value for an object is the object's id, and no attribute blob carries it.

Detailed Description

One attribute column's schema, copied out of the header.

Definition at line 27 of file header.hpp.

Member Data Documentation

◆ index

std::uint16_t fcb::ColumnInfo::index

Definition at line 28 of file header.hpp.

Referenced by fcb::Feature::object_columns(), and fcb::FcbReader::select_attr().

◆ name

std::string fcb::ColumnInfo::name

Definition at line 29 of file header.hpp.

Referenced by fcb::decode_attributes(), and fcb::Feature::object_columns().

◆ nullable

bool fcb::ColumnInfo::nullable

Definition at line 31 of file header.hpp.

Referenced by fcb::Feature::object_columns().

◆ primary_key

bool fcb::ColumnInfo::primary_key

Set on the City Object id column: its value for an object is the object's id, and no attribute blob carries it.

Definition at line 34 of file header.hpp.

Referenced by fcb::FcbReader::select_attr().

◆ type

std::uint8_t fcb::ColumnInfo::type

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