C++ Utilities 5.27.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
argumentparser.cpp File Reference
#include "./argumentparser.h"
#include "./argumentparserprivate.h"
#include "./commandlineutils.h"
#include "../conversion/stringbuilder.h"
#include "../conversion/stringconversion.h"
#include "../io/ansiescapecodes.h"
#include "../io/path.h"
#include "../misc/levenshtein.h"
#include "../misc/parseerror.h"
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <set>
#include <sstream>
#include <string>
Include dependency graph for argumentparser.cpp:

Go to the source code of this file.

Classes

struct  CppUtilities::ArgumentCompletionInfo
 The ArgumentCompletionInfo struct holds information internally used for shell completion and suggestions. More...
 

Namespaces

namespace  CppUtilities
 Contains all utilities provides by the c++utilities library.
 

Enumerations

enum  CppUtilities::ArgumentDenotationType : unsigned char { CppUtilities::Value = 0 , CppUtilities::Abbreviation = 1 , CppUtilities::FullName = 2 }
 The ArgumentDenotationType enum specifies the type of a given argument denotation. More...
 

Functions

std::ostream & CppUtilities::operator<< (std::ostream &os, const Wrapper &wrapper)
 
ArgumentCppUtilities::firstPresentUncombinableArg (const ArgumentVector &args, const Argument *except)
 This function return the first present and uncombinable argument of the given list of arguments.
 
bool CppUtilities::compareArgs (const Argument *arg1, const Argument *arg2)
 Returns whether arg1 should be listed before arg2 when printing completion.
 
void CppUtilities::insertSiblings (const ArgumentVector &siblings, list< const Argument * > &target)
 Inserts the specified siblings in the target list.