shell-cmd v1.2
Recursively find files matching a regex and execute a shell command for each match.
Loading...
Searching...
No Matches
Argument< String > Struct Template Reference

#include <argz.hpp>

Collaboration diagram for Argument< String >:

Public Member Functions

 Argument ()
 Argument (const Argument &a)
Argumentoperator= (const Argument< String > &a)
auto operator<=> (const Argument< String > &a) const

Public Attributes

String arg_name
int arg_letter
String arg_value
ArgType arg_type
String desc

Detailed Description

template<StringType String>
struct Argument< String >

Definition at line 38 of file argz.hpp.

Constructor & Destructor Documentation

◆ Argument() [1/2]

template<StringType String>
Argument< String >::Argument ( )
inline

Definition at line 44 of file argz.hpp.

44: arg_name{}, arg_letter{}, arg_value{}, arg_type{}, desc{} {}
int arg_letter
Definition argz.hpp:40
ArgType arg_type
Definition argz.hpp:42
String arg_name
Definition argz.hpp:39
String arg_value
Definition argz.hpp:41
String desc
Definition argz.hpp:43

References arg_letter, arg_name, arg_type, arg_value, and desc.

Referenced by Argument(), operator<=>(), and operator=().

Here is the caller graph for this function:

◆ Argument() [2/2]

template<StringType String>
Argument< String >::Argument ( const Argument< String > & a)
inline

Definition at line 45 of file argz.hpp.

References arg_letter, arg_name, arg_type, arg_value, Argument(), and desc.

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

template<StringType String>
Argument & Argument< String >::operator= ( const Argument< String > & a)
inline

Definition at line 46 of file argz.hpp.

46 {
51 desc = a.desc;
52 return *this;
53 }

References arg_letter, arg_name, arg_type, arg_value, Argument(), and desc.

Here is the call graph for this function:

◆ operator<=>()

template<StringType String>
auto Argument< String >::operator<=> ( const Argument< String > & a) const
inline

Definition at line 54 of file argz.hpp.

54=>(const Argument<String> &a) const { return (arg_letter <=> a.arg_letter); }
Argument()
Definition argz.hpp:44

References arg_letter, and Argument().

Here is the call graph for this function:

Member Data Documentation

◆ arg_name

template<StringType String>
String Argument< String >::arg_name

◆ arg_letter

◆ arg_value

template<StringType String>
String Argument< String >::arg_value

Definition at line 41 of file argz.hpp.

Referenced by Argument(), Argument(), main(), operator=(), and Argz< String >::proc().

◆ arg_type

◆ desc


The documentation for this struct was generated from the following file: