Internal implementation details of FieldBase.
More...
Internal implementation details of FieldBase.
◆ Impl()
ome::files::tiff::FieldBase::Impl::Impl |
( |
std::shared_ptr< IFD > & |
ifd, |
|
|
tag_type |
tag |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
ifd | the directory the field belongs to. |
tag | the tag identifying this field. |
◆ getFieldInfo()
const ::TIFFField* ome::files::tiff::FieldBase::Impl::getFieldInfo |
( |
| ) |
|
|
inline |
Get information from libtiff about this field.
libtiff is not aware of every tag, or special-purpose private tags.
- Returns
- the field information, or null if the tag was unknown.
- Todo:
- Log an error or throw an exception. Having a logger as a Field class member is likely to heavyweight. However, we do need to be sure that non-standard unregistered fields can be read. Maybe by using the libtiff custom type registration as done for ImageJ metadata?
References fieldinfo, and getTIFF().
◆ getIFD()
std::shared_ptr<IFD> ome::files::tiff::FieldBase::Impl::getIFD |
( |
| ) |
const |
|
inline |
Get the directory this field belongs to.
- Returns
- the directory.
References ifd.
Referenced by getTIFF().
◆ getTIFF()
::TIFF* ome::files::tiff::FieldBase::Impl::getTIFF |
( |
| ) |
|
|
inline |
Get the TIFF this field belongs to.
- Note
- Needs wrapping in a sentry by the caller.
- Returns
- a pointer to the underlying TIFF.
References getIFD().
Referenced by getFieldInfo().
The documentation for this class was generated from the following file: