|
FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
|
One decoded attribute value. More...
#include <fcb/attribute.hpp>
Public Types | |
| enum class | Type { Null , Bool , Int , UInt , Double , String , Json , Binary } |
Public Attributes | |
| Type | type = Type::Null |
| bool | b = false |
| std::int64_t | i = 0 |
| std::uint64_t | u = 0 |
| double | d = 0.0 |
| std::string | s |
One decoded attribute value.
Note this is the ATTRIBUTE BLOB encoding, which differs from the B+tree KEY encoding for two types: DateTime is a length-prefixed string here but 12 packed bytes as a key, and strings are length-prefixed here but fixed width as keys.
Definition at line 23 of file attribute.hpp.
|
strong |
| Enumerator | |
|---|---|
| Null | |
| Bool | |
| Int | |
| UInt | |
| Double | |
| String | |
| Json | |
| Binary | |
Definition at line 24 of file attribute.hpp.
Definition at line 36 of file attribute.hpp.
| double fcb::AttrValue::d = 0.0 |
Definition at line 39 of file attribute.hpp.
| std::int64_t fcb::AttrValue::i = 0 |
Definition at line 37 of file attribute.hpp.
| std::string fcb::AttrValue::s |
Definition at line 40 of file attribute.hpp.
| Type fcb::AttrValue::type = Type::Null |
Definition at line 35 of file attribute.hpp.
| std::uint64_t fcb::AttrValue::u = 0 |
Definition at line 38 of file attribute.hpp.