AngelCAD  1.5-00
Public Member Functions | List of all members
as_args Class Reference

Script input arguments. More...

#include <angelcad.h>

Public Member Functions

bool has_argument (string arg) const
 
double get_double (string arg) const
 
double get_double (string arg, double def) const
 
double get_unsigned_double (string arg) const
 
double get_unsigned_double (string arg, double def) const
 
int get_int (string arg) const
 
int get_int (string arg, int def) const
 
string get_string (string arg) const
 
string get_string (string arg, string def) const
 
uint get_uint (string arg) const
 
uint get_uint (string arg, uint def) const
 

Detailed Description

Script input arguments.

Member Function Documentation

◆ get_double() [1/2]

double as_args::get_double ( string  arg) const
Parameters
argstring
Returns
double

◆ get_double() [2/2]

double as_args::get_double ( string  arg,
double  def 
) const
Parameters
argstring
defdouble
Returns
double

◆ get_int() [1/2]

int as_args::get_int ( string  arg) const
Parameters
argstring
Returns
int

◆ get_int() [2/2]

int as_args::get_int ( string  arg,
int  def 
) const
Parameters
argstring
defint
Returns
int

◆ get_string() [1/2]

string as_args::get_string ( string  arg) const
Parameters
argstring
Returns
string

◆ get_string() [2/2]

string as_args::get_string ( string  arg,
string  def 
) const
Parameters
argstring
defstring
Returns
string

◆ get_uint() [1/2]

uint as_args::get_uint ( string  arg) const
Parameters
argstring
Returns
uint

◆ get_uint() [2/2]

uint as_args::get_uint ( string  arg,
uint  def 
) const
Parameters
argstring
defuint
Returns
uint

◆ get_unsigned_double() [1/2]

double as_args::get_unsigned_double ( string  arg) const
Parameters
argstring
Returns
double

◆ get_unsigned_double() [2/2]

double as_args::get_unsigned_double ( string  arg,
double  def 
) const
Parameters
argstring
defdouble
Returns
double

◆ has_argument()

bool as_args::has_argument ( string  arg) const
Parameters
argstring
Returns
bool

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