Common functionality for fields of all types.  
 More...
#include <ome/bioformats/tiff/Field.h>
|  | 
| ome::compat::shared_ptr< Impl > | impl | 
|  | Private implementation details. 
 | 
|  | 
Common functionality for fields of all types. 
  
  | 
        
          | ome::bioformats::tiff::FieldBase::FieldBase | ( | ome::compat::shared_ptr< IFD > | ifd, |  
          |  |  | tag_type | tag |  
          |  | ) |  |  |  | protected | 
 
Constructor. 
- Parameters
- 
  
    | ifd | the directory the field belongs to. |  | tag | the tag identifying this field. |  
 
 
 
      
        
          | ome::compat::shared_ptr< IFD > ome::bioformats::tiff::FieldBase::getIFD | ( |  | ) | const | 
      
 
Get the directory this field belongs to. 
- Returns
- the directory. 
References impl.
 
 
      
        
          | std::string ome::bioformats::tiff::FieldBase::name | ( |  | ) | const | 
      
 
Get field tag name. 
- Returns
- the registered name of the field, or Unknownif not a registered tag.
- See also
- TIFFFieldName(). 
References impl.
 
 
      
        
          | bool ome::bioformats::tiff::FieldBase::passCount | ( |  | ) | const | 
      
 
Get field count requirement. 
- Returns
- trueif a count parameter is needed,- falseotherwise.
- See also
- TIFFFieldPassCount(). 
References impl.
 
 
      
        
          | int ome::bioformats::tiff::FieldBase::readCount | ( |  | ) | const | 
      
 
Get field read count requirement. 
- Todo:
- : Check TIFF_VARIABLE/TIFF_VARIABLE2/TIFF_SPP and adjust the return value accordingly.
- Returns
- the number of values to read. 
- See also
- TIFFFieldReadCount(). 
References impl.
 
 
      
        
          | tag_type ome::bioformats::tiff::FieldBase::tagNumber | ( |  | ) | const | 
      
 
Get field tag number. 
- Returns
- the tag number. 
- See also
- TIFFFieldTag(). 
References impl.
 
 
      
        
          | Type ome::bioformats::tiff::FieldBase::type | ( |  | ) | const | 
      
 
 
      
        
          | int ome::bioformats::tiff::FieldBase::writeCount | ( |  | ) | const | 
      
 
Get field write count requirement. 
- Todo:
- : Check TIFF_VARIABLE/TIFF_VARIABLE2/TIFF_SPP and adjust the return value accordingly.
- Returns
- the number of values to write. 
- See also
- TIFFFieldWriteCount(). 
References impl.
 
 
The documentation for this class was generated from the following files:
- ome/bioformats/tiff/Field.h
- ome/bioformats/tiff/Field.cpp