|
CCF
|
#include <cstdint>#include <exception>#include <memory>#include <span>#include <string>#include <variant>#include <vector>#include <fmt/format.h>Go to the source code of this file.
Classes | |
| struct | ccf::cbor::Array |
| struct | ccf::cbor::Map |
| struct | ccf::cbor::Tagged |
| class | ccf::cbor::CBOREncodeError |
| class | ccf::cbor::CBORDecodeError |
| struct | ccf::cbor::ValueImpl |
Namespaces | |
| namespace | ccf |
| namespace | ccf::cbor |
| namespace | ccf::cbor::tag |
Macros | |
| #define | FMT_HEADER_ONLY |
Typedefs | |
| using | ccf::cbor::Value = std::shared_ptr< ValueImpl > |
| using | ccf::cbor::Signed = int64_t |
| using | ccf::cbor::Bytes = std::span< const uint8_t > |
| using | ccf::cbor::String = std::string_view |
| using | ccf::cbor::Simple = uint8_t |
| using | ccf::cbor::MapItem = std::pair< Value, Value > |
| using | ccf::cbor::Type = std::variant< Signed, Bytes, String, Array, Map, Tagged, Simple > |
Enumerations | |
| enum | ccf::cbor::SimpleValue : uint8_t { ccf::cbor::False = 20 , ccf::cbor::True = 21 , ccf::cbor::Null = 22 , ccf::cbor::Undefined = 23 } |
| enum class | ccf::cbor::Error : uint8_t { ccf::cbor::UNDEFINED = 0 , ccf::cbor::DECODE_FAILED = 1 , ccf::cbor::KEY_NOT_FOUND = 2 , ccf::cbor::OUT_OF_BOUND = 3 , ccf::cbor::TYPE_MISMATCH = 4 , ccf::cbor::ENCODE_FAILED = 5 } |
Functions | |
| decltype(auto) | ccf::cbor::rethrow_with_msg (auto &&f, std::string_view msg={}) |
| #define FMT_HEADER_ONLY |