cgv
options.h
Go to the documentation of this file.
1 #pragma once
2 
7 #include <string>
8 #include <vector>
9 
10 #include "lib_begin.h"
11 
12 namespace cgv {
13  namespace utils {
15  extern bool CGV_API has_option(const std::string& option);
17  extern void CGV_API enumerate_options(std::vector<std::string>& options);
18  }
19 }
20 
21 #include <cgv/config/lib_end.h>
cgv::utils::has_option
bool has_option(const std::string &option)
check whether the system variable CGV_OPTIONS contains the given option (the comparison is case insen...
Definition: options.cxx:8
cgv::utils::enumerate_options
void enumerate_options(std::vector< std::string > &options)
push back all options provided in the CGV_OPTIONS system variable
Definition: options.cxx:18
cgv
the cgv namespace
Definition: vr_calib.cxx:9