Developer documentation
Version 3.0.3-105-gd3941f44
MR::App::ParsedArgument Class Reference

#include "app.h"

Public Member Functions

 operator std::string () const
 
const char * as_text () const
 
bool as_bool () const
 
int64_t as_int () const
 
uint64_t as_uint () const
 
default_type as_float () const
 
vector< int32_t > as_sequence_int () const
 
vector< uint32_t > as_sequence_uint () const
 
vector< default_typeas_sequence_float () const
 
 operator bool () const
 
 operator int () const
 
 operator unsigned int () const
 
 operator long int () const
 
 operator long unsigned int () const
 
 operator long long int () const
 
 operator long long unsigned int () const
 
 operator float () const
 
 operator double () const
 
 operator vector< int32_t > () const
 
 operator vector< uint32_t > () const
 
 operator vector< default_type > () const
 
const char * c_str () const
 

Friends

class ParsedOption
 
class Options
 
void MR::App::init (int argc, const char *const *argv)
 
void MR::App::parse ()
 
void MR::App::sort_arguments (int argc, const char *const *argv)
 

Detailed Description

Definition at line 209 of file app.h.

Member Function Documentation

◆ as_bool()

bool MR::App::ParsedArgument::as_bool ( ) const
inline

Definition at line 214 of file app.h.

◆ as_float()

default_type MR::App::ParsedArgument::as_float ( ) const

◆ as_int()

int64_t MR::App::ParsedArgument::as_int ( ) const

◆ as_sequence_float()

vector< default_type > MR::App::ParsedArgument::as_sequence_float ( ) const
inline

Definition at line 233 of file app.h.

◆ as_sequence_int()

vector< int32_t > MR::App::ParsedArgument::as_sequence_int ( ) const
inline

Definition at line 219 of file app.h.

◆ as_sequence_uint()

vector< uint32_t > MR::App::ParsedArgument::as_sequence_uint ( ) const
inline

Definition at line 226 of file app.h.

◆ as_text()

const char * MR::App::ParsedArgument::as_text ( ) const
inline

Definition at line 213 of file app.h.

◆ as_uint()

uint64_t MR::App::ParsedArgument::as_uint ( ) const
inline

Definition at line 216 of file app.h.

◆ c_str()

const char * MR::App::ParsedArgument::c_str ( ) const
inline

Definition at line 253 of file app.h.

◆ operator bool()

MR::App::ParsedArgument::operator bool ( ) const
inline

Definition at line 240 of file app.h.

◆ operator double()

MR::App::ParsedArgument::operator double ( ) const
inline

Definition at line 248 of file app.h.

◆ operator float()

MR::App::ParsedArgument::operator float ( ) const
inline

Definition at line 247 of file app.h.

◆ operator int()

MR::App::ParsedArgument::operator int ( ) const
inline

Definition at line 241 of file app.h.

◆ operator long int()

MR::App::ParsedArgument::operator long int ( ) const
inline

Definition at line 243 of file app.h.

◆ operator long long int()

MR::App::ParsedArgument::operator long long int ( ) const
inline

Definition at line 245 of file app.h.

◆ operator long long unsigned int()

MR::App::ParsedArgument::operator long long unsigned int ( ) const
inline

Definition at line 246 of file app.h.

◆ operator long unsigned int()

MR::App::ParsedArgument::operator long unsigned int ( ) const
inline

Definition at line 244 of file app.h.

◆ operator std::string()

MR::App::ParsedArgument::operator std::string ( ) const
inline

Definition at line 211 of file app.h.

◆ operator unsigned int()

MR::App::ParsedArgument::operator unsigned int ( ) const
inline

Definition at line 242 of file app.h.

◆ operator vector< default_type >()

MR::App::ParsedArgument::operator vector< default_type > ( ) const
inline

Definition at line 251 of file app.h.

◆ operator vector< int32_t >()

MR::App::ParsedArgument::operator vector< int32_t > ( ) const
inline

Definition at line 249 of file app.h.

◆ operator vector< uint32_t >()

MR::App::ParsedArgument::operator vector< uint32_t > ( ) const
inline

Definition at line 250 of file app.h.

Friends And Related Function Documentation

◆ MR::App::init

void MR::App::init ( int  argc,
const char *const *  argv 
)
friend

◆ MR::App::parse

void MR::App::parse ( )
friend

◆ MR::App::sort_arguments

void MR::App::sort_arguments ( int  argc,
const char *const *  argv 
)
friend

◆ Options

friend class Options
friend

Definition at line 274 of file app.h.

◆ ParsedOption

friend class ParsedOption
friend

Definition at line 273 of file app.h.


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