SampleICC Main srcforge
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CIccTagXYZ Class Reference

#include <IccTagBasic.h>

Inheritance diagram for CIccTagXYZ:

CIccTag List of all members.

Public Member Functions

 CIccTagXYZ (int nSize=1)
 CIccTagXYZ (const CIccTagXYZ &ITXYZ)
CIccTagXYZoperator= (const CIccTagXYZ &XYZTag)
virtual CIccTagNewCopy () const
virtual ~CIccTagXYZ ()
virtual bool IsArrayType ()
virtual icTagTypeSignature GetType ()
virtual const icCharGetClassName ()
virtual void Describe (std::string &sDescription)
virtual bool Read (icUInt32Number size, CIccIO *pIO)
virtual bool Write (CIccIO *pIO)
icXYZNumberoperator[] (icUInt32Number index)
icXYZNumberGetXYZ (icUInt32Number index)
icUInt32Number GetSize () const
void SetSize (icUInt32Number nSize, bool bZeroNew=true)
virtual icValidateStatus Validate (icTagSignature sig, std::string &sReport, const CIccProfile *pProfile=NULL) const

Protected Attributes

icUInt32Number m_nSize

Detailed Description

Class: CIccTagXYZ

Purpose: the XYZType tag - an array of XYZ values

Constructor & Destructor Documentation

CIccTagXYZ::CIccTagXYZ int  nSize = 1  ) 

Name: CIccTagXYZ::CIccTagXYZ

Purpose: Constructor

Args: nSize = number of XYZ entries

CIccTagXYZ::CIccTagXYZ const CIccTagXYZ ITXYZ  ) 

Name: CIccTagXYZ::CIccTagXYZ

Purpose: Copy Constructor

Args: ITXYZ = The CIccTagXYZ object to be copied

CIccTagXYZ::~CIccTagXYZ  )  [virtual]

Name: CIccTagXYZ::~CIccTagXYZ

Purpose: Destructor

Member Function Documentation

void CIccTagXYZ::Describe std::string &  sDescription  )  [virtual]

Name: CIccTagXYZ::Describe

Purpose: Dump data associated with the tag to a string

Args: sDescription - string to concatenate tag dump to

Reimplemented from CIccTag.

virtual const icChar* CIccTagXYZ::GetClassName  )  [inline, virtual]

Reimplemented from CIccTag.

icUInt32Number CIccTagXYZ::GetSize  )  const [inline]

virtual icTagTypeSignature CIccTagXYZ::GetType  )  [inline, virtual]

Function: GetType()

Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.

Reimplemented from CIccTag.

icXYZNumber* CIccTagXYZ::GetXYZ icUInt32Number  index  )  [inline]

virtual bool CIccTagXYZ::IsArrayType  )  [inline, virtual]

Reimplemented from CIccTag.

virtual CIccTag* CIccTagXYZ::NewCopy  )  const [inline, virtual]

Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function.

Parameter(s): none

Returns a new CIccTag object that is a copy of this object.

Reimplemented from CIccTag.

CIccTagXYZ & CIccTagXYZ::operator= const CIccTagXYZ XYZTag  ) 

Name: CIccTagXYZ::operator=

Purpose: Copy Operator

Args: XYZTag = The CIccTagXYZ object to be copied

icXYZNumber& CIccTagXYZ::operator[] icUInt32Number  index  )  [inline]

bool CIccTagXYZ::Read icUInt32Number  size,

Name: CIccTagXYZ::Read

Purpose: Read in the tag contents into a data block

Args: size - # of bytes in tag, pIO - IO object to read tag from

Return: true = successful, false = failure

Reimplemented from CIccTag.

void CIccTagXYZ::SetSize icUInt32Number  nSize,
bool  bZeroNew = true

Name: CIccTagXYZ::SetSize

Purpose: Sets the size of the XYZ array.

Args: nSize - number of XYZ entries, bZeroNew - flag to zero newly formed values

icValidateStatus CIccTagXYZ::Validate icTagSignature  sig,
std::string &  sReport,
const CIccProfile pProfile = NULL
const [virtual]

Name: CIccTagXYZ::Validate

Purpose: Check tag data validity.

Args: sig = signature of tag being validated, sReport = String to add report information to

Return: icValidateStatusOK if valid, or other error status.

Reimplemented from CIccTag.

bool CIccTagXYZ::Write CIccIO pIO  )  [virtual]

Name: CIccTagXYZ::Write

Purpose: Write the tag to a file

Args: pIO - The IO object to write tag to.

Return: true = succesful, false = failure

Reimplemented from CIccTag.

Member Data Documentation

icUInt32Number CIccTagXYZ::m_nSize [protected]

icXYZNumber* CIccTagXYZ::m_XYZ [protected]

The documentation for this class was generated from the following files:
Generated on Tue Jun 26 17:51:46 2007 for IccProfLib by  doxygen