Public Member Functions | Private Attributes | List of all members
SafeScalar< T > Class Template Reference

#include <SafeScalar.h>

Public Member Functions

 operator T () const
 
SafeScalaroperator= (const SafeScalar &other)
 
SafeScalaroperator= (T val)
 
 SafeScalar ()
 
 SafeScalar (const SafeScalar &other)
 
 SafeScalar (T val)
 

Private Attributes

bool initialized_
 
T val_
 

Detailed Description

template<typename T>
class SafeScalar< T >

Definition at line 4 of file SafeScalar.h.

Constructor & Destructor Documentation

◆ SafeScalar() [1/3]

template<typename T >
SafeScalar< T >::SafeScalar ( )
inline

Definition at line 6 of file SafeScalar.h.

◆ SafeScalar() [2/3]

template<typename T >
SafeScalar< T >::SafeScalar ( const SafeScalar< T > &  other)
inline

Definition at line 7 of file SafeScalar.h.

◆ SafeScalar() [3/3]

template<typename T >
SafeScalar< T >::SafeScalar ( T  val)
inline

Definition at line 16 of file SafeScalar.h.

Member Function Documentation

◆ operator T()

template<typename T >
SafeScalar< T >::operator T ( ) const
inline

Definition at line 22 of file SafeScalar.h.

◆ operator=() [1/2]

template<typename T >
SafeScalar& SafeScalar< T >::operator= ( const SafeScalar< T > &  other)
inline

Definition at line 10 of file SafeScalar.h.

◆ operator=() [2/2]

template<typename T >
SafeScalar& SafeScalar< T >::operator= ( T  val)
inline

Definition at line 17 of file SafeScalar.h.

Member Data Documentation

◆ initialized_

template<typename T >
bool SafeScalar< T >::initialized_
private

Definition at line 29 of file SafeScalar.h.

◆ val_

template<typename T >
T SafeScalar< T >::val_
private

Definition at line 28 of file SafeScalar.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:05