cgv
Loading...
Searching...
No Matches
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
12namespace 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>
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
void enumerate_options(std::vector< std::string > &options)
push back all options provided in the CGV_OPTIONS system variable
Definition options.cxx:18
the cgv namespace
Definition print.h:11