CCF
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ccf::cbor::ValueImpl Struct Reference

#include <cbor.h>

Public Member Functions

 ValueImpl (Type value_)
 
const Valuearray_at (size_t index, std::string_view context={}) const
 
const Valuemap_at (const Value &key, std::string_view context={}) const
 
const Valuetag_at (uint64_t tag, std::string_view context={}) const
 
Unsigned as_unsigned (std::string_view context={}) const
 
Signed as_signed (std::string_view context={}) const
 
Bytes as_bytes (std::string_view context={}) const
 
String as_string (std::string_view context={}) const
 
Simple as_simple (std::string_view context={}) const
 
size_t size () const
 

Public Attributes

Type value
 

Constructor & Destructor Documentation

◆ ValueImpl()

ccf::cbor::ValueImpl::ValueImpl ( Type  value_)
inline

Member Function Documentation

◆ array_at()

const Value & ccf::cbor::ValueImpl::array_at ( size_t  index,
std::string_view  context = {} 
) const

◆ as_bytes()

Bytes ccf::cbor::ValueImpl::as_bytes ( std::string_view  context = {}) const

◆ as_signed()

Signed ccf::cbor::ValueImpl::as_signed ( std::string_view  context = {}) const

◆ as_simple()

Simple ccf::cbor::ValueImpl::as_simple ( std::string_view  context = {}) const

◆ as_string()

String ccf::cbor::ValueImpl::as_string ( std::string_view  context = {}) const

◆ as_unsigned()

Unsigned ccf::cbor::ValueImpl::as_unsigned ( std::string_view  context = {}) const

◆ map_at()

const Value & ccf::cbor::ValueImpl::map_at ( const Value key,
std::string_view  context = {} 
) const

◆ size()

size_t ccf::cbor::ValueImpl::size ( ) const

◆ tag_at()

const Value & ccf::cbor::ValueImpl::tag_at ( uint64_t  tag,
std::string_view  context = {} 
) const

Member Data Documentation

◆ value

Type ccf::cbor::ValueImpl::value

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