Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::clara::detail::Args Class Reference

#include <clara.hpp>

Public Member Functions

 Args (int argc, char const *const *argv)
 
 Args (std::initializer_list< std::string > args)
 
auto exeName () const -> std::string
 

Detailed Description

Definition at line 408 of file clara.hpp.

Constructor & Destructor Documentation

◆ Args() [1/2]

Catch::clara::detail::Args::Args ( int argc,
char const *const * argv )
inline

Definition at line 414 of file clara.hpp.

415 : m_exeName(argv[0]),
416 m_args(argv + 1, argv + argc) {}
char ** argv

◆ Args() [2/2]

Catch::clara::detail::Args::Args ( std::initializer_list< std::string > args)
inline

Definition at line 418 of file clara.hpp.

419 : m_exeName( *args.begin() ),
420 m_args( args.begin()+1, args.end() )
421 {}

Member Function Documentation

◆ exeName()

auto Catch::clara::detail::Args::exeName ( ) const -> std::string
inline

Definition at line 423 of file clara.hpp.

423 {
424 return m_exeName;
425 }

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