Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
clara.hpp File Reference
#include <cassert>
#include <ostream>
#include <sstream>
#include <vector>
#include <memory>
#include <set>
#include <algorithm>
Include dependency graph for clara.hpp:

Go to the source code of this file.

Classes

class  clara::TextFlow::Column
 
class  clara::TextFlow::Column::iterator
 
class  clara::TextFlow::Spacer
 
class  clara::TextFlow::Columns
 
class  clara::TextFlow::Columns::iterator
 
struct  clara::detail::UnaryLambdaTraits< L >
 
struct  clara::detail::UnaryLambdaTraits< ReturnT(ClassT::*)(Args...) const >
 
struct  clara::detail::UnaryLambdaTraits< ReturnT(ClassT::*)(ArgT) const >
 
class  clara::detail::Args
 
struct  clara::detail::Token
 
class  clara::detail::TokenStream
 
class  clara::detail::ResultBase
 
class  clara::detail::ResultValueBase< T >
 
class  clara::detail::ResultValueBase< void >
 
class  clara::detail::BasicResult< T >
 
class  clara::detail::ParseState
 
struct  clara::detail::HelpColumns
 
struct  clara::detail::NonCopyable
 
struct  clara::detail::BoundRef
 
struct  clara::detail::BoundValueRefBase
 
struct  clara::detail::BoundFlagRefBase
 
struct  clara::detail::BoundValueRef< T >
 
struct  clara::detail::BoundValueRef< std::vector< T > >
 
struct  clara::detail::BoundFlagRef
 
struct  clara::detail::LambdaInvoker< ReturnType >
 
struct  clara::detail::LambdaInvoker< void >
 
struct  clara::detail::BoundLambda< L >
 
struct  clara::detail::BoundFlagLambda< L >
 
class  clara::detail::ParserBase
 
class  clara::detail::ComposableParserImpl< DerivedT >
 
class  clara::detail::ParserRefImpl< DerivedT >
 
class  clara::detail::ExeName
 
class  clara::detail::Arg
 
class  clara::detail::Opt
 
struct  clara::detail::Help
 
struct  clara::detail::Parser
 

Namespaces

namespace  clara
 
namespace  clara::TextFlow
 
namespace  clara::detail
 

Macros

#define CLARA_CONFIG_CONSOLE_WIDTH   80
 
#define CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH   CLARA_CONFIG_CONSOLE_WIDTH
 
#define CLARA_TEXTFLOW_HPP_INCLUDED
 

Typedefs

using clara::detail::Result = BasicResult<void>
 
using clara::detail::ParserResult = BasicResult<ParseResultType>
 
using clara::detail::InternalParseResult = BasicResult<ParseState>
 

Enumerations

enum class  clara::detail::TokenType { clara::detail::Option , clara::detail::Argument }
 
enum class  clara::detail::ParseResultType { clara::detail::Matched , clara::detail::NoMatch , clara::detail::ShortCircuitAll , clara::detail::ShortCircuitSame }
 
enum class  clara::detail::Optionality { clara::detail::Optional , clara::detail::Required }
 

Functions

auto clara::TextFlow::isWhitespace (char c) -> bool
 
auto clara::TextFlow::isBreakableBefore (char c) -> bool
 
auto clara::TextFlow::isBreakableAfter (char c) -> bool
 
auto clara::detail::isOptPrefix (char c) -> bool
 
template<typename T >
auto clara::detail::convertInto (std::string const &source, T &target) -> ParserResult
 
auto clara::detail::convertInto (std::string const &source, std::string &target) -> ParserResult
 
auto clara::detail::convertInto (std::string const &source, bool &target) -> ParserResult
 
template<typename ArgType , typename L >
auto clara::detail::invokeLambda (L const &lambda, std::string const &arg) -> ParserResult
 
auto clara::detail::normaliseOpt (std::string const &optName) -> std::string
 

Macro Definition Documentation

◆ CLARA_CONFIG_CONSOLE_WIDTH

#define CLARA_CONFIG_CONSOLE_WIDTH   80

Definition at line 14 of file clara.hpp.

◆ CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH

#define CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH   CLARA_CONFIG_CONSOLE_WIDTH

Definition at line 18 of file clara.hpp.

◆ CLARA_TEXTFLOW_HPP_INCLUDED

#define CLARA_TEXTFLOW_HPP_INCLUDED

Definition at line 43 of file clara.hpp.