parcel 0.2.4
Wrappable, wire-transferable C++23 value system with JSON serialization
Loading...
Searching...
No Matches
flag.h File Reference

FlagCell / FlagSetCell — parcel adapters for the comms::Flag family. More...

#include <parcel/cell.h>
#include <parcel/defaults.h>
#include <parcel/descriptor.h>
#include <parcel/json.h>
#include <commons/flag.hpp>
#include <commons/json/flag.hpp>
#include <string>
#include <string_view>
#include <utility>
Include dependency graph for flag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  parcel::FlagCell
 Cell wrapping comms::FlagRef. More...
 
class  parcel::FlagSetCell
 Cell wrapping comms::FlagSet. More...
 

Detailed Description

FlagCell / FlagSetCell — parcel adapters for the comms::Flag family.

Decoding a FlagCell / FlagSetCell resolves each flag name against comms::GlobalFlagRegistry; an unregistered name throws (commons behavior).