|
CCF
|
Namespaces | |
| namespace | tag |
Classes | |
| struct | Array |
| class | CBORDecodeError |
| class | CBOREncodeError |
| struct | Map |
| struct | Tagged |
| struct | ValueImpl |
Typedefs | |
| using | Value = std::shared_ptr< ValueImpl > |
| using | Signed = int64_t |
| using | Bytes = std::span< const uint8_t > |
| using | String = std::string_view |
| using | Simple = uint8_t |
| using | MapItem = std::pair< Value, Value > |
| using | Type = std::variant< Signed, Bytes, String, Array, Map, Tagged, Simple > |
Enumerations | |
| enum | SimpleValue : uint8_t { False = 20 , True = 21 , Null = 22 , Undefined = 23 } |
| enum class | Error : uint8_t { UNDEFINED = 0 , DECODE_FAILED = 1 , KEY_NOT_FOUND = 2 , OUT_OF_BOUND = 3 , TYPE_MISMATCH = 4 , ENCODE_FAILED = 5 } |
Functions | |
| decltype(auto) | rethrow_with_msg (auto &&f, std::string_view msg={}) |
| using ccf::cbor::Bytes = typedef std::span<const uint8_t> |
| using ccf::cbor::MapItem = typedef std::pair<Value, Value> |
| using ccf::cbor::Signed = typedef int64_t |
| using ccf::cbor::Simple = typedef uint8_t |
| using ccf::cbor::String = typedef std::string_view |
| using ccf::cbor::Value = typedef std::shared_ptr<ValueImpl> |
|
strong |
| enum ccf::cbor::SimpleValue : uint8_t |
| decltype(auto) ccf::cbor::rethrow_with_msg | ( | auto && | f, |
| std::string_view | msg = {} |
||
| ) |