libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
ArgException< String > Class Template Reference

Exception thrown by Argz::proc() on unrecognised or malformed options. More...

#include <argz.hpp>

Collaboration diagram for ArgException< String >:
[legend]

Public Member Functions

 ArgException ()=default
 ArgException (const String &s)
String text () const

Private Attributes

String value

Detailed Description

template<StringType String>
class ArgException< String >

Exception thrown by Argz::proc() on unrecognised or malformed options.

Template Parameters
StringString type satisfying StringType.

Definition at line 124 of file argz.hpp.

Constructor & Destructor Documentation

◆ ArgException() [1/2]

template<StringType String>
ArgException< String >::ArgException ( )
default

◆ ArgException() [2/2]

template<StringType String>
ArgException< String >::ArgException ( const String & s)
inline

Definition at line 127 of file argz.hpp.

References value.

Member Function Documentation

◆ text()

template<StringType String>
String ArgException< String >::text ( ) const
inline

Definition at line 128 of file argz.hpp.

References value.

Referenced by proc_args().

Member Data Documentation

◆ value

template<StringType String>
String ArgException< String >::value
private

Definition at line 131 of file argz.hpp.

Referenced by ArgException(), and text().


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