Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
cli11.hpp File Reference
#include "barretenberg/common/try_catch_shim.hpp"
#include <algorithm>
#include <array>
#include <cctype>
#include <clocale>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <cwchar>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <locale>
#include <map>
#include <memory>
#include <numeric>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>
#include <codecvt>
#include <sys/stat.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define CLI11_VERSION_MAJOR   2
 
#define CLI11_VERSION_MINOR   4
 
#define CLI11_VERSION_PATCH   2
 
#define CLI11_VERSION   "2.4.2"
 
#define CLI11_DEPRECATED(reason)   __attribute__((deprecated(reason)))
 
#define CLI11_NODISCARD
 
#define CLI11_USE_STATIC_RTTI   1
 
#define CLI11_HAS_CODECVT   1
 
#define CLI11_DIAGNOSTIC_PUSH
 
#define CLI11_DIAGNOSTIC_POP
 
#define CLI11_DIAGNOSTIC_IGNORE_DEPRECATED
 
#define CLI11_INLINE   inline
 
#define CLI11_ERROR_DEF(parent, name)
 
#define CLI11_ERROR_SIMPLE(name)    explicit name(std::string msg) : name(#name, msg, ExitCodes::name) {}
 
#define WIDE_STRING_CHECK   true
 
#define STRING_CHECK   !std::is_assignable<T &, std::string>::value && !std::is_constructible<T, std::string>::value
 
#define CLI11_PARSE(app, ...)
 

Macro Definition Documentation

◆ CLI11_DEPRECATED

#define CLI11_DEPRECATED (   reason)    __attribute__((deprecated(reason)))

Definition at line 110 of file cli11.hpp.

◆ CLI11_DIAGNOSTIC_IGNORE_DEPRECATED

#define CLI11_DIAGNOSTIC_IGNORE_DEPRECATED

Definition at line 190 of file cli11.hpp.

◆ CLI11_DIAGNOSTIC_POP

#define CLI11_DIAGNOSTIC_POP

Definition at line 188 of file cli11.hpp.

◆ CLI11_DIAGNOSTIC_PUSH

#define CLI11_DIAGNOSTIC_PUSH

disable deprecations

Definition at line 187 of file cli11.hpp.

◆ CLI11_ERROR_DEF

#define CLI11_ERROR_DEF (   parent,
  name 
)
Value:
protected: \
name(std::string ename, std::string msg, int exit_code) : parent(std::move(ename), std::move(msg), exit_code) {} \
name(std::string ename, std::string msg, ExitCodes exit_code) \
: parent(std::move(ename), std::move(msg), exit_code) {} \
\
public: \
name(std::string msg, ExitCodes exit_code) : parent(#name, std::move(msg), exit_code) {} \
name(std::string msg, int exit_code) : parent(#name, std::move(msg), exit_code) {}
STL namespace.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13

◆ CLI11_ERROR_SIMPLE

#define CLI11_ERROR_SIMPLE (   name)     explicit name(std::string msg) : name(#name, msg, ExitCodes::name) {}

◆ CLI11_HAS_CODECVT

#define CLI11_HAS_CODECVT   1

<filesystem> availability <codecvt> availability

Definition at line 169 of file cli11.hpp.

◆ CLI11_INLINE

#define CLI11_INLINE   inline

Inline macro

Definition at line 198 of file cli11.hpp.

◆ CLI11_NODISCARD

#define CLI11_NODISCARD

Definition at line 116 of file cli11.hpp.

◆ CLI11_PARSE

#define CLI11_PARSE (   app,
  ... 
)
Value:
try { \
(app).parse(__VA_ARGS__); \
} catch(const CLI::ParseError &e) { \
return (app).exit(e); \
}

◆ CLI11_USE_STATIC_RTTI

#define CLI11_USE_STATIC_RTTI   1

detection of rtti

Definition at line 134 of file cli11.hpp.

◆ CLI11_VERSION

#define CLI11_VERSION   "2.4.2"

Definition at line 75 of file cli11.hpp.

◆ CLI11_VERSION_MAJOR

#define CLI11_VERSION_MAJOR   2

Definition at line 72 of file cli11.hpp.

◆ CLI11_VERSION_MINOR

#define CLI11_VERSION_MINOR   4

Definition at line 73 of file cli11.hpp.

◆ CLI11_VERSION_PATCH

#define CLI11_VERSION_PATCH   2

Definition at line 74 of file cli11.hpp.

◆ STRING_CHECK

#define STRING_CHECK   !std::is_assignable<T &, std::string>::value && !std::is_constructible<T, std::string>::value

◆ WIDE_STRING_CHECK

#define WIDE_STRING_CHECK   true