Celartem::TIFF6::DATA Struct Reference

#include <pxl_metadata.h>

List of all members.

Public Member Functions

 DATA ()
bool isValid () const
String getTagName () const
void setTagName (const String &inTagName)
size_t getSize () const

Public Attributes

const void * data
 pointer to the array.
u16 tag
 TIFF tag value.
u16 type
 TIFF field type.
size_t count
 Number of the entries.


Detailed Description

This structure manages a TIFF tag entry.

Definition at line 197 of file pxl_metadata.h.


Constructor & Destructor Documentation

Celartem::TIFF6::DATA::DATA (  )  [inline]

This constructor initializes all the member variables by 0.

Definition at line 203 of file pxl_metadata.h.


Member Function Documentation

bool Celartem::TIFF6::DATA::isValid (  )  const [inline]

This function returns true if the instance is valid.

Returns:
true if the instance is valid, otherwise false.

Definition at line 218 of file pxl_metadata.h.

String Celartem::TIFF6::DATA::getTagName (  )  const [inline]

This function returns the tag name. If this function does not know about the tag value.

Returns:
The tag name.
See also:
getTagNameNoNULL

Definition at line 231 of file pxl_metadata.h.

void Celartem::TIFF6::DATA::setTagName ( const String inTagName  )  [inline]

This function set the tag by the tag name. If the specified tag name is unknown, this function sets tag to 0xffff.

Parameters:
inTagName The tag name.

Definition at line 244 of file pxl_metadata.h.

size_t Celartem::TIFF6::DATA::getSize (  )  const [inline]

This function returns the size in bytes that is consumed by this data.
This function is identical to the following code:

                    TIFF6::sizeOf(type) * count
Returns:
The size of the data.

Definition at line 260 of file pxl_metadata.h.


Member Data Documentation

const void* Celartem::TIFF6::DATA::data

pointer to the array.

Definition at line 207 of file pxl_metadata.h.

Referenced by isValid().

u16 Celartem::TIFF6::DATA::tag

TIFF tag value.

Definition at line 208 of file pxl_metadata.h.

Referenced by getTagName(), and setTagName().

u16 Celartem::TIFF6::DATA::type

TIFF field type.

Definition at line 209 of file pxl_metadata.h.

Referenced by getSize().

size_t Celartem::TIFF6::DATA::count

Number of the entries.

Definition at line 210 of file pxl_metadata.h.

Referenced by getSize().


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:12 2008.