nlib
Nflags.h File Reference

Defines the class for handling command line strings. More...

#include "nn/nlib/Config.h"
#include "nn/nlib/UniquePtr.h"

Go to the source code of this file.

Classes

class  nn::nlib::Nflags
 The class for parsing command line flags. More...
 

Namespaces

 nn::nlib
 Implements stream-related classes usually commonly used, various containers, and other gadget classes. nlib_ns is an alias.
 

Macros

Macros Used by Nflags

For information about using these macros, see nn::nlib::Nflags.

#define NLIB_FLAGS_DEFINE_bool(opt_name, def_value, desc)
 Defines a command-line option with a bool value. More...
 
#define NLIB_FLAGS_DEFINE_int32(opt_name, def_value, desc)
 Defines a command-line option with a bool value. More...
 
#define NLIB_FLAGS_DEFINE_double(opt_name, def_value, desc)
 Defines a command-line option with a bool value. More...
 
#define NLIB_FLAGS_DEFINE_string(opt_name, def_value, desc)
 Defines a command-line option with a bool value. More...
 
#define NLIB_FLAGS_DECLARE_bool(opt_name)   extern bool NLIB_FLAGS_##opt_name
 Enables the use of an NLIB_FLAGS_option name that was defined in a different place. More...
 
#define NLIB_FLAGS_DECLARE_int32(opt_name)   extern int32_t NLIB_FLAGS_##opt_name
 Enables the use of an NLIB_FLAGS_option name that was defined in a different place. More...
 
#define NLIB_FLAGS_DECLARE_double(opt_name)   extern double NLIB_FLAGS_##opt_name
 Enables the use of an NLIB_FLAGS_option name that was defined in a different place. More...
 
#define NLIB_FLAGS_DECLARE_string(opt_name)   extern const char* NLIB_FLAGS_##opt_name
 Enables the use of an NLIB_FLAGS_option name that was defined in a different place. More...
 

Detailed Description

Defines the class for handling command line strings.

Definition in file Nflags.h.