LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
argument_parser.hpp File Reference
#include "lbann/utils/environment_variable.hpp"
#include "lbann/utils/exception.hpp"
#include <clara.hpp>
#include <any>
#include <initializer_list>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
Include dependency graph for argument_parser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lbann::utils::parse_error
 std::exception subclass that is thrown if the parser can not parse the arguments. More...
 
class  lbann::utils::strict_parsing
 
class  lbann::utils::allow_extra_parameters
 
class  lbann::utils::argument_parser< ErrorHandler >
 Basic argument parsing with automatic help messages. More...
 
class  lbann::utils::argument_parser< ErrorHandler >::readonly_reference< T >
 A proxy class representing the current value associated with an option. More...
 
class  lbann::utils::argument_parser< ErrorHandler >::parse_error
 std::exception subclass that is thrown if the parser can not parse the arguments. More...
 
class  lbann::utils::argument_parser< ErrorHandler >::missing_required_arguments
 std::exception subclass that is thrown if a required argument is not found. More...
 

Namespaces

 lbann
 
 lbann::utils
 

Typedefs

using lbann::default_arg_parser_type = utils::argument_parser< utils::strict_parsing >
 

Functions

default_arg_parser_type & lbann::global_argument_parser ()
 
template<typename ErrorHandler >
std::ostream & operator<< (std::ostream &os, lbann::utils::argument_parser< ErrorHandler > const &parser)
 Write the parser's help string to the given ostream. More...
 

Function Documentation

◆ operator<<()

template<typename ErrorHandler >
std::ostream& operator<< ( std::ostream &  os,
lbann::utils::argument_parser< ErrorHandler > const &  parser 
)

Write the parser's help string to the given ostream.

Definition at line 828 of file argument_parser.hpp.

Here is the call graph for this function: