goptions
Loading...
Searching...
No Matches
goptions.cc File Reference

Implementation of GOptions : the command-line and YAML option manager. More...

#include "goptions.h"
#include "goptionsConventions.h"
#include "gversion.h"
#include "gutilities.h"
#include <iostream>
#include <cstring>
Include dependency graph for goptions.cc:

Go to the source code of this file.

Functions

GOptionsoperator+= (GOptions &gopts, const GOptions &goptions_to_add)
 Overloaded operator to add options and switches from one GOptions : to another.
 

Detailed Description

Documentation for the public API lives in goptions.h. This translation unit focuses on implementation details:

  • built-in option/switch registration,
  • YAML file discovery and parsing,
  • command-line parsing (including dot-notation for structured options),
  • persistence of a resolved YAML snapshot for reproducibility.

Definition in file goptions.cc.

Function Documentation

◆ operator+=()

GOptions & operator+= ( GOptions & gopts,
const GOptions & goptions_to_add )

Definition at line 544 of file goptions.cc.