GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::DracoOptions< AttributeKeyT > Class Template Reference

#include <draco_options.h>

Inheritance diagram for draco::DracoOptions< AttributeKeyT >:

Public Types

typedef AttributeKeyT AttributeKey

Public Member Functions

int GetAttributeInt (const AttributeKey &att_key, const std::string &name, int default_val) const
void SetAttributeInt (const AttributeKey &att_key, const std::string &name, int val)
float GetAttributeFloat (const AttributeKey &att_key, const std::string &name, float default_val) const
void SetAttributeFloat (const AttributeKey &att_key, const std::string &name, float val)
bool GetAttributeBool (const AttributeKey &att_key, const std::string &name, bool default_val) const
void SetAttributeBool (const AttributeKey &att_key, const std::string &name, bool val)
template<typename DataTypeT>
bool GetAttributeVector (const AttributeKey &att_key, const std::string &name, int num_dims, DataTypeT *val) const
template<typename DataTypeT>
void SetAttributeVector (const AttributeKey &att_key, const std::string &name, int num_dims, const DataTypeT *val)
bool IsAttributeOptionSet (const AttributeKey &att_key, const std::string &name) const
int GetGlobalInt (const std::string &name, int default_val) const
void SetGlobalInt (const std::string &name, int val)
float GetGlobalFloat (const std::string &name, float default_val) const
void SetGlobalFloat (const std::string &name, float val)
bool GetGlobalBool (const std::string &name, bool default_val) const
void SetGlobalBool (const std::string &name, bool val)
template<typename DataTypeT>
bool GetGlobalVector (const std::string &name, int num_dims, DataTypeT *val) const
template<typename DataTypeT>
void SetGlobalVector (const std::string &name, int num_dims, const DataTypeT *val)
bool IsGlobalOptionSet (const std::string &name) const
void SetAttributeOptions (const AttributeKey &att_key, const Options &options)
void SetGlobalOptions (const Options &options)
const Options * FindAttributeOptions (const AttributeKeyT &att_key) const
const Options & GetGlobalOptions () const

Member Typedef Documentation

◆ AttributeKey

template<typename AttributeKeyT>
typedef AttributeKeyT draco::DracoOptions< AttributeKeyT >::AttributeKey

Member Function Documentation

◆ FindAttributeOptions()

template<typename AttributeKeyT>
const Options * draco::DracoOptions< AttributeKeyT >::FindAttributeOptions ( const AttributeKeyT & att_key) const
Here is the caller graph for this function:

◆ GetAttributeBool()

template<typename AttributeKeyT>
bool draco::DracoOptions< AttributeKeyT >::GetAttributeBool ( const AttributeKey & att_key,
const std::string & name,
bool default_val ) const

◆ GetAttributeFloat()

template<typename AttributeKeyT>
float draco::DracoOptions< AttributeKeyT >::GetAttributeFloat ( const AttributeKey & att_key,
const std::string & name,
float default_val ) const
Here is the caller graph for this function:

◆ GetAttributeInt()

template<typename AttributeKeyT>
int draco::DracoOptions< AttributeKeyT >::GetAttributeInt ( const AttributeKey & att_key,
const std::string & name,
int default_val ) const
Here is the caller graph for this function:

◆ GetAttributeVector()

template<typename AttributeKeyT>
template<typename DataTypeT>
bool draco::DracoOptions< AttributeKeyT >::GetAttributeVector ( const AttributeKey & att_key,
const std::string & name,
int num_dims,
DataTypeT * val ) const
Here is the caller graph for this function:

◆ GetGlobalBool()

template<typename AttributeKeyT>
bool draco::DracoOptions< AttributeKeyT >::GetGlobalBool ( const std::string & name,
bool default_val ) const
inline

◆ GetGlobalFloat()

template<typename AttributeKeyT>
float draco::DracoOptions< AttributeKeyT >::GetGlobalFloat ( const std::string & name,
float default_val ) const
inline

◆ GetGlobalInt()

template<typename AttributeKeyT>
int draco::DracoOptions< AttributeKeyT >::GetGlobalInt ( const std::string & name,
int default_val ) const
inline
Here is the caller graph for this function:

◆ GetGlobalOptions()

template<typename AttributeKeyT>
const Options & draco::DracoOptions< AttributeKeyT >::GetGlobalOptions ( ) const
inline

◆ GetGlobalVector()

template<typename AttributeKeyT>
template<typename DataTypeT>
bool draco::DracoOptions< AttributeKeyT >::GetGlobalVector ( const std::string & name,
int num_dims,
DataTypeT * val ) const
inline

◆ IsAttributeOptionSet()

template<typename AttributeKeyT>
bool draco::DracoOptions< AttributeKeyT >::IsAttributeOptionSet ( const AttributeKey & att_key,
const std::string & name ) const

◆ IsGlobalOptionSet()

template<typename AttributeKeyT>
bool draco::DracoOptions< AttributeKeyT >::IsGlobalOptionSet ( const std::string & name) const
inline
Here is the caller graph for this function:

◆ SetAttributeBool()

template<typename AttributeKeyT>
void draco::DracoOptions< AttributeKeyT >::SetAttributeBool ( const AttributeKey & att_key,
const std::string & name,
bool val )

◆ SetAttributeFloat()

template<typename AttributeKeyT>
void draco::DracoOptions< AttributeKeyT >::SetAttributeFloat ( const AttributeKey & att_key,
const std::string & name,
float val )
Here is the caller graph for this function:

◆ SetAttributeInt()

template<typename AttributeKeyT>
void draco::DracoOptions< AttributeKeyT >::SetAttributeInt ( const AttributeKey & att_key,
const std::string & name,
int val )
Here is the caller graph for this function:

◆ SetAttributeOptions()

template<typename AttributeKeyT>
void draco::DracoOptions< AttributeKeyT >::SetAttributeOptions ( const AttributeKey & att_key,
const Options & options )
Here is the caller graph for this function:

◆ SetAttributeVector()

template<typename AttributeKeyT>
template<typename DataTypeT>
void draco::DracoOptions< AttributeKeyT >::SetAttributeVector ( const AttributeKey & att_key,
const std::string & name,
int num_dims,
const DataTypeT * val )
Here is the caller graph for this function:

◆ SetGlobalBool()

template<typename AttributeKeyT>
void draco::DracoOptions< AttributeKeyT >::SetGlobalBool ( const std::string & name,
bool val )
inline
Here is the caller graph for this function:

◆ SetGlobalFloat()

template<typename AttributeKeyT>
void draco::DracoOptions< AttributeKeyT >::SetGlobalFloat ( const std::string & name,
float val )
inline

◆ SetGlobalInt()

template<typename AttributeKeyT>
void draco::DracoOptions< AttributeKeyT >::SetGlobalInt ( const std::string & name,
int val )
inline
Here is the caller graph for this function:

◆ SetGlobalOptions()

template<typename AttributeKeyT>
void draco::DracoOptions< AttributeKeyT >::SetGlobalOptions ( const Options & options)
inline
Here is the caller graph for this function:

◆ SetGlobalVector()

template<typename AttributeKeyT>
template<typename DataTypeT>
void draco::DracoOptions< AttributeKeyT >::SetGlobalVector ( const std::string & name,
int num_dims,
const DataTypeT * val )
inline

The documentation for this class was generated from the following file: