bioformats
5.1.2
|
Field representing a tag value. More...
#include <ome/bioformats/tiff/Field.h>
Public Types | |
typedef Tag | tag_category |
The tag type (C++ enum type). | |
typedef ::ome::bioformats::detail::tiff::TagProperties< tag_category >::value_type | value_type |
The tag value type (C++ type). | |
Public Member Functions | |
virtual | ~Field () |
Destructor. | |
void | get (value_type &value) const |
Get the value for this field. More... | |
void | set (const value_type &value) |
Set the value for this field. More... | |
Field & | operator= (const Field &field) |
Assign a field value. More... | |
operator value_type () | |
Cast operator for getting the value of this field. | |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
template<> | |
void | get (value_type &value) const |
template<> | |
void | set (const value_type &value) |
Public Member Functions inherited from ome::bioformats::tiff::FieldBase | |
virtual | ~FieldBase () |
Destructor. | |
Type | type () const |
Get field data type. More... | |
bool | passCount () const |
Get field count requirement. More... | |
int | readCount () const |
Get field read count requirement. More... | |
int | writeCount () const |
Get field write count requirement. More... | |
tag_type | tagNumber () const |
Get field tag number. More... | |
std::string | name () const |
Get field tag name. More... | |
ome::compat::shared_ptr< IFD > | getIFD () const |
Get the directory this field belongs to. More... | |
Protected Member Functions | |
Field (ome::compat::shared_ptr< IFD > ifd, tag_category tag) | |
Constructor. More... | |
Protected Member Functions inherited from ome::bioformats::tiff::FieldBase | |
FieldBase (ome::compat::shared_ptr< IFD > ifd, tag_type tag) | |
Constructor. More... | |
Protected Attributes | |
tag_category | tag |
The tag identifying this field. | |
Protected Attributes inherited from ome::bioformats::tiff::FieldBase | |
ome::compat::shared_ptr< Impl > | impl |
Private implementation details. | |
Friends | |
class | IFD |
Field representing a tag value.
Forward declaration of Field<Tag>.
|
inlineprotected |
Constructor.
ifd | the directory the field belongs to. |
tag | the tag identifying this field. |
void ome::bioformats::tiff::Field< Tag >::get | ( | value_type & | value | ) | const |
Get the value for this field.
value | the variable in which the field value will be stored. |
Referenced by ome::bioformats::tiff::ValueProxy< V >::operator=(), and ome::bioformats::tiff::Value< V >::operator=().
void ome::bioformats::tiff::Field< StringTag1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_ASCII.
void ome::bioformats::tiff::Field< StringTagArray1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_ASCII.
void ome::bioformats::tiff::Field< UInt16Tag1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt16TagArray1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt16Orientation1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16PhotometricInterpretation1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16PlanarConfiguration1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16Predictor1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16Compression1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16FillOrder1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16SampleFormat1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16Threshholding1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16YCbCrPosition1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
void ome::bioformats::tiff::Field< UInt16Tag2 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::BITSPERSAMPLE, and ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt16Tag6 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::BITSPERSAMPLE, and ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt32Tag1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_LONG.
void ome::bioformats::tiff::Field< FloatTag1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_RATIONAL.
void ome::bioformats::tiff::Field< FloatTag2 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_RATIONAL.
void ome::bioformats::tiff::Field< FloatTag3 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_RATIONAL.
void ome::bioformats::tiff::Field< FloatTag6 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_RATIONAL.
void ome::bioformats::tiff::Field< UInt16ExtraSamplesArray1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt16TagArray3 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt32TagArray1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_LONG.
void ome::bioformats::tiff::Field< UInt64TagArray1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_IFD, ome::bioformats::tiff::TYPE_IFD8, ome::bioformats::tiff::TYPE_LONG, and ome::bioformats::tiff::TYPE_LONG8.
void ome::bioformats::tiff::Field< RawDataTag1 >::get | ( | value_type & | value | ) | const |
value | the variable in which the field value will be stored. |
References ome::bioformats::tiff::TYPE_BYTE, and ome::bioformats::tiff::TYPE_UNDEFINED.
|
inline |
Assign a field value.
field | the field to assign from. |
References ome::bioformats::tiff::Field< Tag >::set().
void ome::bioformats::tiff::Field< Tag >::set | ( | const value_type & | value | ) |
Set the value for this field.
value | the value to set. |
Referenced by ome::bioformats::tiff::Field< Tag >::operator=().
void ome::bioformats::tiff::Field< StringTag1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_ASCII.
void ome::bioformats::tiff::Field< StringTagArray1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_ASCII.
void ome::bioformats::tiff::Field< UInt16TagArray1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt16Tag1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt16Orientation1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16PhotometricInterpretation1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16PlanarConfiguration1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16Predictor1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16Compression1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16FillOrder1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16SampleFormat1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16Threshholding1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16YCbCrPosition1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
void ome::bioformats::tiff::Field< UInt16Tag2 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt16Tag6 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt32Tag1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_LONG.
void ome::bioformats::tiff::Field< FloatTag1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_RATIONAL.
void ome::bioformats::tiff::Field< FloatTag2 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_RATIONAL.
void ome::bioformats::tiff::Field< FloatTag3 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_RATIONAL.
void ome::bioformats::tiff::Field< FloatTag6 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_RATIONAL.
void ome::bioformats::tiff::Field< UInt16ExtraSamplesArray1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt16TagArray3 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_SHORT.
void ome::bioformats::tiff::Field< UInt32TagArray1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_LONG.
void ome::bioformats::tiff::Field< UInt64TagArray1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_IFD, ome::bioformats::tiff::TYPE_IFD8, ome::bioformats::tiff::TYPE_LONG, and ome::bioformats::tiff::TYPE_LONG8.
void ome::bioformats::tiff::Field< RawDataTag1 >::set | ( | const value_type & | value | ) |
value | the value to set. |
References ome::bioformats::tiff::TYPE_BYTE, and ome::bioformats::tiff::TYPE_UNDEFINED.