Main MRPT website > C++ reference for MRPT 1.5.3
List of all members | Public Types | Public Member Functions | Public Attributes
exprtk::type_store< T >::scalar_view Struct Reference

Detailed Description

template<typename T>
struct exprtk::type_store< T >::scalar_view

Definition at line 4185 of file exprtk.hpp.

#include <mrpt/otherlibs/exprtk.hpp>

Public Types

typedef type_store< T > type_store_t
 
typedef T value_t
 

Public Member Functions

 scalar_view (type_store_t &ts)
 
 scalar_view (const type_store_t &ts)
 
value_toperator() ()
 
const value_toperator() () const
 
template<typename IntType >
bool to_int (IntType &i) const
 
template<typename UIntType >
bool to_uint (UIntType &u) const
 

Public Attributes

T & v_
 

Member Typedef Documentation

◆ type_store_t

template<typename T >
typedef type_store<T> exprtk::type_store< T >::scalar_view::type_store_t

Definition at line 4187 of file exprtk.hpp.

◆ value_t

template<typename T >
typedef T exprtk::type_store< T >::scalar_view::value_t

Definition at line 4188 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ scalar_view() [1/2]

template<typename T >
exprtk::type_store< T >::scalar_view::scalar_view ( type_store_t ts)
inline

Definition at line 4190 of file exprtk.hpp.

◆ scalar_view() [2/2]

template<typename T >
exprtk::type_store< T >::scalar_view::scalar_view ( const type_store_t ts)
inline

Definition at line 4194 of file exprtk.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
value_t& exprtk::type_store< T >::scalar_view::operator() ( )
inline

Definition at line 4198 of file exprtk.hpp.

◆ operator()() [2/2]

template<typename T >
const value_t& exprtk::type_store< T >::scalar_view::operator() ( ) const
inline

Definition at line 4203 of file exprtk.hpp.

◆ to_int()

template<typename T >
template<typename IntType >
bool exprtk::type_store< T >::scalar_view::to_int ( IntType &  i) const
inline

Definition at line 4209 of file exprtk.hpp.

References exprtk::details::numeric::is_integer().

◆ to_uint()

template<typename T >
template<typename UIntType >
bool exprtk::type_store< T >::scalar_view::to_uint ( UIntType &  u) const
inline

Definition at line 4220 of file exprtk.hpp.

References exprtk::details::numeric::is_integer().

Member Data Documentation

◆ v_

template<typename T >
T& exprtk::type_store< T >::scalar_view::v_

Definition at line 4232 of file exprtk.hpp.




Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Tue Aug 22 01:03:35 UTC 2017