goptions
Loading...
Searching...
No Matches
goptions Namespace Reference

Variables

const std::string NODFLT = "NODFLT"
 Marker literal indicating "no default value" for a structured option key.
 

Variable Documentation

◆ NODFLT

const std::string goptions::NODFLT = "NODFLT"

When a GVariable : in a structured option schema uses value goptions::NODFLT : :

  • that key becomes mandatory (must be provided by the user),
  • and the option becomes cumulative (expects a sequence of maps rather than a single map).

This allows a schema definition to encode both required fields and repeated entries.

Practical consequence:

  • The user can specify multiple entries for the same option (sequence of maps).
  • Each entry must contain all mandatory keys; optional keys are back-filled from schema defaults.

Definition at line 84 of file goptionsConventions.h.