cgv
options.h File Reference
#include <string>
#include <vector>
#include "lib_begin.h"
#include <cgv/config/lib_end.h>

Go to the source code of this file.

Namespaces

 cgv
 the cgv namespace
 
 cgv::utils
 namespace that holds tools that dont fit any other namespace
 

Functions

bool cgv::utils::has_option (const std::string &option)
 check whether the system variable CGV_OPTIONS contains the given option (the comparison is case insensitve) within a semicolon separated list
 
void cgv::utils::enumerate_options (std::vector< std::string > &options)
 push back all options provided in the CGV_OPTIONS system variable
 

Detailed Description

Helper functions to access cgv options provided in the CGV_OPTIONS environment variable.