Geogram
Version 1.9.1
A programming library of geometric algorithms
|
A parsed argument list in a .csg file. More...
#include <geogram/mesh/mesh_CSG.h>
Public Types | |
typedef std::pair< std::string, Value > | Arg |
Public Member Functions | |
index_t | size () const |
const std::string & | ith_arg_name (index_t i) const |
const Value & | ith_arg_val (index_t i) const |
void | add_arg (const std::string &name, const Value &value) |
bool | has_arg (const std::string &name) const |
const Value & | get_arg (const std::string &name) const |
double | get_arg (const std::string &name, double default_value) const |
int | get_arg (const std::string &name, int default_value) const |
bool | get_arg (const std::string &name, bool default_value) const |
vec2 | get_arg (const std::string &name, vec2 default_value) const |
vec3 | get_arg (const std::string &name, vec3 default_value) const |
vec4 | get_arg (const std::string &name, vec4 default_value) const |
mat4 | get_arg (const std::string &name, const mat4 &default_value) const |
std::string | get_arg (const std::string &name, const std::string &default_value) const |
A parsed argument list in a .csg file.
Stores name-value pairs.
Definition at line 518 of file mesh_CSG.h.