CCF
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Functions | Variables
ccf::ds Namespace Reference

Namespaces

namespace  fnv
 Simple, fast constexpr hash function (NOT cryptographically sound)
 
namespace  hashutils
 
namespace  json
 
namespace  openapi
 
namespace  system
 

Classes

class  ContiguousSet
 
struct  SizeString
 
struct  TimeString
 
struct  UnitString
 
class  UnitStringConverter
 
class  WorkBeacon
 

Typedefs

using WorkBeaconPtr = std::shared_ptr< WorkBeacon >
 

Functions

void to_json (nlohmann::json &j, const UnitString &s)
 
void from_json (const nlohmann::json &j, SizeString &s)
 
std::string schema_name (const SizeString *size_string_type)
 
void fill_json_schema (nlohmann::json &schema, const SizeString *size_string_type)
 
void from_json (const nlohmann::json &j, TimeString &s)
 
std::string schema_name (const TimeString *time_string_type)
 
void fill_json_schema (nlohmann::json &schema, const TimeString *time_string_type)
 

Variables

constexpr size_t ascii_offset = 10
 
constexpr size_t hex_base = 16
 

Typedef Documentation

◆ WorkBeaconPtr

using ccf::ds::WorkBeaconPtr = typedef std::shared_ptr<WorkBeacon>

Function Documentation

◆ fill_json_schema() [1/2]

void ccf::ds::fill_json_schema ( nlohmann::json &  schema,
const SizeString size_string_type 
)
inline

◆ fill_json_schema() [2/2]

void ccf::ds::fill_json_schema ( nlohmann::json &  schema,
const TimeString time_string_type 
)
inline

◆ from_json() [1/2]

void ccf::ds::from_json ( const nlohmann::json &  j,
SizeString s 
)
inline

◆ from_json() [2/2]

void ccf::ds::from_json ( const nlohmann::json &  j,
TimeString s 
)
inline

◆ schema_name() [1/2]

std::string ccf::ds::schema_name ( const SizeString size_string_type)
inline

◆ schema_name() [2/2]

std::string ccf::ds::schema_name ( const TimeString time_string_type)
inline

◆ to_json()

void ccf::ds::to_json ( nlohmann::json &  j,
const UnitString s 
)
inline

Variable Documentation

◆ ascii_offset

constexpr size_t ccf::ds::ascii_offset = 10
constexpr

◆ hex_base

constexpr size_t ccf::ds::hex_base = 16
constexpr