GTSAM
4.0.2
C++ library for smoothing and mapping (SAM)
|
#include <types.h>
Public Member Functions | |
ValueWithDefault () | |
ValueWithDefault (const T &_value) | |
T & | operator* () |
const T & | operator* () const |
operator T () const | |
Public Attributes | |
T | value |
Helper struct that encapsulates a value with a default, this is just used as a member object so you don't have to specify defaults in the class constructor.
|
inline |
Default constructor, initialize to default value supplied in template argument
|
inline |
Initialize to the given value
|
inline |
Implicit conversion allows use in if statements for bool type, etc.
|
inline |
Operator to access the value
|
inline |
Operator to access the value