tue_config
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tue::config::ResolveConfig Class Reference

Class to config the resolve behaviour of a loader. More...

#include <resolve_config.h>

Public Member Functions

bool AllFalse () const
 
bool AllTrue () const
 
 ResolveConfig (bool env_=true, bool file_=true, bool rospkg_=true)
 

Static Public Member Functions

static ResolveConfig defaultConfig ()
 Default ResolveConfig that has all resolve options enabled. More...
 

Public Attributes

bool env
 
bool file
 
bool rospkg
 

Detailed Description

Class to config the resolve behaviour of a loader.

As the resolve function can be used recursively, the user should always consider whether the choices made will result in the desired behaviour. Outer resolve functions can't be resolved, when inner resolve functions are skipped.

Definition at line 16 of file resolve_config.h.

Constructor & Destructor Documentation

◆ ResolveConfig()

tue::config::ResolveConfig::ResolveConfig ( bool  env_ = true,
bool  file_ = true,
bool  rospkg_ = true 
)
inline

Definition at line 20 of file resolve_config.h.

Member Function Documentation

◆ AllFalse()

bool tue::config::ResolveConfig::AllFalse ( ) const
inline

Definition at line 37 of file resolve_config.h.

◆ AllTrue()

bool tue::config::ResolveConfig::AllTrue ( ) const
inline

Definition at line 35 of file resolve_config.h.

◆ defaultConfig()

static ResolveConfig tue::config::ResolveConfig::defaultConfig ( )
inlinestatic

Default ResolveConfig that has all resolve options enabled.

Returns
ResolveConfig with everything enabled.

Definition at line 26 of file resolve_config.h.

Member Data Documentation

◆ env

bool tue::config::ResolveConfig::env

Definition at line 29 of file resolve_config.h.

◆ file

bool tue::config::ResolveConfig::file

Definition at line 31 of file resolve_config.h.

◆ rospkg

bool tue::config::ResolveConfig::rospkg

Definition at line 33 of file resolve_config.h.


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