DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
cmdLineOptions.hpp File Reference
#include <filesystem>
#include <iostream>
#include <sstream>
#include <string>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  GetOpts::CommandLineOption< Mixins >
 
class  GetOpts::Required< Derived >
 
class  GetOpts::Optional< Derived >
 
class  GetOpts::WithoutArgument< Derived >
 
class  GetOpts::WithArgument< T, Derived >
 

Namespaces

namespace  GetOpts
 

Typedefs

template<typename Derived>
using GetOpts::WithDoubleArgument = WithArgument<double, Derived>
 
template<typename Derived>
using GetOpts::WithFileArgument = WithArgument<fs::path, Derived>
 
template<typename Derived>
using GetOpts::WithIntegerArgument = WithArgument<int, Derived>
 
template<typename Derived>
using GetOpts::WithStringArgument = WithArgument<std::string, Derived>
 
using GetOpts::OptionalFlag = CommandLineOption<Optional, WithoutArgument>
 
using GetOpts::OptionalFlagWithDouble = CommandLineOption<Optional, WithDoubleArgument>
 
using GetOpts::OptionalFlagWithFile = CommandLineOption<Optional, WithFileArgument>
 
using GetOpts::OptionalFlagWithInteger = CommandLineOption<Optional, WithIntegerArgument>
 
using GetOpts::OptionalFlagWithString = CommandLineOption<Optional, WithStringArgument>
 
using GetOpts::RequiredFlag = CommandLineOption<Required, WithoutArgument>
 
using GetOpts::RequiredFlagWithDouble = CommandLineOption<Required, WithDoubleArgument>
 
using GetOpts::RequiredFlagWithFile = CommandLineOption<Required, WithFileArgument>
 
using GetOpts::RequiredFlagWithInteger = CommandLineOption<Required, WithIntegerArgument>
 
using GetOpts::RequiredFlagWithString = CommandLineOption<Required, WithStringArgument>
 

Variables

static std::unordered_map< std::type_index, std::string > GetOpts::type_names