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

CIccTagViewingConditions Class Reference

#include <IccTagBasic.h>

Inheritance diagram for CIccTagViewingConditions:

CIccTag List of all members.

Public Member Functions

 CIccTagViewingConditions ()
 CIccTagViewingConditions (const CIccTagViewingConditions &ITVC)
CIccTagViewingConditionsoperator= (const CIccTagViewingConditions &ViewCondTag)
virtual CIccTagNewCopy () const
virtual ~CIccTagViewingConditions ()
virtual icTagTypeSignature GetType ()
virtual const icCharGetClassName ()
virtual void Describe (std::string &sDescription)
virtual bool Read (icUInt32Number size, CIccIO *pIO)
virtual bool Write (CIccIO *pIO)
virtual icValidateStatus Validate (icTagSignature sig, std::string &sReport, const CIccProfile *pProfile=NULL) const

Public Attributes

icXYZNumber m_XYZIllum
icXYZNumber m_XYZSurround
icIlluminant m_illumType

Detailed Description

Class: CIccTagViewingConditions

Purpose: Viewing conditions tag type


Constructor & Destructor Documentation

CIccTagViewingConditions::CIccTagViewingConditions  ) 
 

Name: CIccTagViewingConditions::CIccTagViewingConditions

Purpose: Constructor

CIccTagViewingConditions::CIccTagViewingConditions const CIccTagViewingConditions ITVC  ) 
 

Name: CIccTagViewingConditions::CIccTagViewingConditions

Purpose: Copy Constructor

Args: ITVC = The CIccTagViewingConditions object to be copied

CIccTagViewingConditions::~CIccTagViewingConditions  )  [virtual]
 

Name: CIccTagViewingConditions::~CIccTagViewingConditions

Purpose: Destructor


Member Function Documentation

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

Name: CIccTagViewingConditions::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* CIccTagViewingConditions::GetClassName  )  [inline, virtual]
 

Reimplemented from CIccTag.

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

Function: GetType()

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

Reimplemented from CIccTag.

virtual CIccTag* CIccTagViewingConditions::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.

CIccTagViewingConditions & CIccTagViewingConditions::operator= const CIccTagViewingConditions ViewCondTag  ) 
 

Name: CIccTagViewingConditions::operator=

Purpose: Copy Operator

Args: ViewCondTag = The CIccTagViewingConditions object to be copied

bool CIccTagViewingConditions::Read icUInt32Number  size,
CIccIO pIO
[virtual]
 

Name: CIccTagViewingConditions::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.

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

Name: CIccTagViewingConditions::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 CIccTagViewingConditions::Write CIccIO pIO  )  [virtual]
 

Name: CIccTagViewingConditions::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

icIlluminant CIccTagViewingConditions::m_illumType
 

icXYZNumber CIccTagViewingConditions::m_XYZIllum
 

icXYZNumber CIccTagViewingConditions::m_XYZSurround
 


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