Euphoria
eu::core::argparse::NameAndArguments Struct Reference

container for arguments passed to main More...

#include <argparse.h>

Public Member Functions

 NameAndArguments (const std::string &n, const std::vector< std::string > &a)
 

Static Public Member Functions

static NameAndArguments extract (int argc, char *argv[])
 

Public Attributes

std::string name
 
std::vector< std::string > arguments
 

Detailed Description

container for arguments passed to main

Definition at line 97 of file argparse.h.

Constructor & Destructor Documentation

◆ NameAndArguments()

eu::core::argparse::NameAndArguments::NameAndArguments ( const std::string &  n,
const std::vector< std::string > &  a 
)

Definition at line 122 of file argparse.cc.

Member Function Documentation

◆ extract()

NameAndArguments eu::core::argparse::NameAndArguments::extract ( int  argc,
char *  argv[] 
)
static

Definition at line 130 of file argparse.cc.

Member Data Documentation

◆ arguments

std::vector<std::string> eu::core::argparse::NameAndArguments::arguments

Definition at line 100 of file argparse.h.

◆ name

std::string eu::core::argparse::NameAndArguments::name

Definition at line 99 of file argparse.h.


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