#include <options.h>
|
| | Options ()=default |
| | ~Options ()=default |
| void | MergeAndReplace (const Options &other_options) |
| void | SetInt (const std::string &name, int val) |
| void | SetFloat (const std::string &name, float val) |
| void | SetBool (const std::string &name, bool val) |
| void | SetString (const std::string &name, const std::string &val) |
| template<class VectorT> |
| void | SetVector (const std::string &name, const VectorT &vec) |
| template<typename DataTypeT> |
| void | SetVector (const std::string &name, const DataTypeT *vec, int num_dims) |
| int | GetInt (const std::string &name) const |
| int | GetInt (const std::string &name, int default_val) const |
| float | GetFloat (const std::string &name) const |
| float | GetFloat (const std::string &name, float default_val) const |
| bool | GetBool (const std::string &name) const |
| bool | GetBool (const std::string &name, bool default_val) const |
| std::string | GetString (const std::string &name) const |
| std::string | GetString (const std::string &name, const std::string &default_val) const |
| template<class VectorT> |
| VectorT | GetVector (const std::string &name, const VectorT &default_val) const |
| template<typename DataTypeT> |
| bool | GetVector (const std::string &name, int num_dims, DataTypeT *out_val) const |
| bool | IsOptionSet (const std::string &name) const |
◆ Options()
| draco::Options::Options |
( |
| ) |
|
|
default |
◆ ~Options()
| draco::Options::~Options |
( |
| ) |
|
|
default |
◆ GetBool() [1/2]
| bool draco::Options::GetBool |
( |
const std::string & | name | ) |
const |
◆ GetBool() [2/2]
| bool draco::Options::GetBool |
( |
const std::string & | name, |
|
|
bool | default_val ) const |
◆ GetFloat() [1/2]
| float draco::Options::GetFloat |
( |
const std::string & | name | ) |
const |
◆ GetFloat() [2/2]
| float draco::Options::GetFloat |
( |
const std::string & | name, |
|
|
float | default_val ) const |
◆ GetInt() [1/2]
| int draco::Options::GetInt |
( |
const std::string & | name | ) |
const |
◆ GetInt() [2/2]
| int draco::Options::GetInt |
( |
const std::string & | name, |
|
|
int | default_val ) const |
◆ GetString() [1/2]
| std::string draco::Options::GetString |
( |
const std::string & | name | ) |
const |
◆ GetString() [2/2]
| std::string draco::Options::GetString |
( |
const std::string & | name, |
|
|
const std::string & | default_val ) const |
◆ GetVector() [1/2]
template<class VectorT>
| VectorT draco::Options::GetVector |
( |
const std::string & | name, |
|
|
const VectorT & | default_val ) const |
◆ GetVector() [2/2]
template<typename DataTypeT>
| bool draco::Options::GetVector |
( |
const std::string & | name, |
|
|
int | num_dims, |
|
|
DataTypeT * | out_val ) const |
◆ IsOptionSet()
| bool draco::Options::IsOptionSet |
( |
const std::string & | name | ) |
const |
|
inline |
◆ MergeAndReplace()
| void draco::Options::MergeAndReplace |
( |
const Options & | other_options | ) |
|
◆ SetBool()
| void draco::Options::SetBool |
( |
const std::string & | name, |
|
|
bool | val ) |
◆ SetFloat()
| void draco::Options::SetFloat |
( |
const std::string & | name, |
|
|
float | val ) |
◆ SetInt()
| void draco::Options::SetInt |
( |
const std::string & | name, |
|
|
int | val ) |
◆ SetString()
| void draco::Options::SetString |
( |
const std::string & | name, |
|
|
const std::string & | val ) |
◆ SetVector() [1/2]
template<typename DataTypeT>
| void draco::Options::SetVector |
( |
const std::string & | name, |
|
|
const DataTypeT * | vec, |
|
|
int | num_dims ) |
◆ SetVector() [2/2]
template<class VectorT>
| void draco::Options::SetVector |
( |
const std::string & | name, |
|
|
const VectorT & | vec ) |
|
inline |
The documentation for this class was generated from the following files: