Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::ublas::scalar_reference< T > Class Template Reference

#include <expression_types.hpp>

Inheritance diagram for boost::numeric::ublas::scalar_reference< T >:
Collaboration diagram for boost::numeric::ublas::scalar_reference< T >:

Public Types

typedef T value_type
 
typedef const value_typeconst_reference
 
typedef boost::mpl::if_
< boost::is_const< T >
, const_reference, value_type & >
::type 
reference
 
typedef const self_type const_closure_type
 
typedef const_closure_type closure_type
 
typedef scalar_reference< Texpression_type
 
typedef scalar_tag type_category
 

Public Member Functions

BOOST_UBLAS_INLINE scalar_reference (reference t)
 
BOOST_UBLAS_INLINE operator value_type () const
 
BOOST_UBLAS_INLINE
scalar_reference
operator= (const scalar_reference &s)
 
template<class AE >
BOOST_UBLAS_INLINE
scalar_reference
operator= (const scalar_expression< AE > &ae)
 
BOOST_UBLAS_INLINE bool same_closure (const scalar_reference &sr) const
 
BOOST_UBLAS_INLINE const
expression_type
operator() () const
 
BOOST_UBLAS_INLINE
expression_type
operator() ()
 

Member Typedef Documentation

template<class T >
typedef boost::mpl::if_<boost::is_const<T>, const_reference, value_type &>::type boost::numeric::ublas::scalar_reference< T >::reference
template<class T >
typedef T boost::numeric::ublas::scalar_reference< T >::value_type

Constructor & Destructor Documentation

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::scalar_reference< T >::scalar_reference ( reference  t)
inlineexplicit

Member Function Documentation

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::scalar_reference< T >::operator value_type ( ) const
inline
BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::scalar_expression< scalar_reference< T > >::operator() ( ) const
inlineinherited
BOOST_UBLAS_INLINE expression_type& boost::numeric::ublas::scalar_expression< scalar_reference< T > >::operator() ( )
inlineinherited
template<class T >
BOOST_UBLAS_INLINE scalar_reference& boost::numeric::ublas::scalar_reference< T >::operator= ( const scalar_reference< T > &  s)
inline
template<class T >
template<class AE >
BOOST_UBLAS_INLINE scalar_reference& boost::numeric::ublas::scalar_reference< T >::operator= ( const scalar_expression< AE > &  ae)
inline
template<class T >
BOOST_UBLAS_INLINE bool boost::numeric::ublas::scalar_reference< T >::same_closure ( const scalar_reference< T > &  sr) const
inline

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