bioformats  5.1.6
Public Types | Public Member Functions | Private Attributes | List of all members
ome::bioformats::tiff::Value< V > Class Template Reference

Field value. More...

#include <ome/bioformats/tiff/Field.h>

Public Types

typedef V value_type
 The value type being wrapped.
 

Public Member Functions

 Value ()
 Constructor.
 
 ~Value ()
 Destructor.
 
Valueoperator= (const Value &value)
 Assign from a Value. More...
 
Valueoperator= (const value_type &value)
 Assign from value_type. More...
 
template<typename F >
Valueoperator= (const Field< F > &field)
 Assign from Field. More...
 
value_typeget ()
 Get the value. More...
 
const value_typeget () const
 Get the value. More...
 

Private Attributes

value
 The value.
 

Detailed Description

template<typename V>
class ome::bioformats::tiff::Value< V >

Field value.

This contains a value to allow it to be assigned from a Field as the left hand side of an expression.

Member Function Documentation

template<typename V >
value_type& ome::bioformats::tiff::Value< V >::get ( )
inline

Get the value.

Returns
the wrapped value.

References ome::bioformats::tiff::Value< V >::value.

template<typename V >
const value_type& ome::bioformats::tiff::Value< V >::get ( ) const
inline

Get the value.

Returns
the wrapped value.

References ome::bioformats::tiff::Value< V >::value.

template<typename V >
Value& ome::bioformats::tiff::Value< V >::operator= ( const Value< V > &  value)
inline

Assign from a Value.

Parameters
valuethe value to assign.
Returns
the Value.

References ome::bioformats::tiff::Value< V >::value.

template<typename V >
Value& ome::bioformats::tiff::Value< V >::operator= ( const value_type value)
inline

Assign from value_type.

Parameters
valuethe value to assign.
Returns
the Value.

References ome::bioformats::tiff::Value< V >::value.

template<typename V >
template<typename F >
Value& ome::bioformats::tiff::Value< V >::operator= ( const Field< F > &  field)
inline

Assign from Field.

Parameters
fieldthe field to assign.
Returns
the Value.

References ome::bioformats::tiff::Field< Tag >::get().


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