Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
CIccTagXmlSegmentedCurve Class Reference

#include <IccTagXml.h>

+ Inheritance diagram for CIccTagXmlSegmentedCurve:
+ Collaboration diagram for CIccTagXmlSegmentedCurve:

Public Member Functions

virtual const char * GetClassName () const
 
virtual IIccExtensionTagGetExtension ()
 
virtual bool ParseXml (xmlNode *pNode, icConvertType nType, std::string &parseStr)
 
virtual bool ParseXml (xmlNode *pNode, std::string &parseStr)
 
virtual bool ToXml (std::string &xml, icConvertType nType, std::string blanks="")
 
virtual bool ToXml (std::string &xml, std::string blanks="")
 
virtual ~CIccTagXmlSegmentedCurve ()
 
- Public Member Functions inherited from CIccTagSegmentedCurve
virtual icFloatNumber Apply (icFloatNumber v) const
 Name: CIccTagSegmentedCurve::Apply.
 
virtual void Begin ()
 Name: CIccTagSegmentedCurve::Begin.
 
 CIccTagSegmentedCurve ()
 Name: CIccTagSegmentedCurve::CIccTagSegmentedCurve.
 
 CIccTagSegmentedCurve (const CIccTagSegmentedCurve &ITCurve)
 Name: CIccTagSegmentedCurve::CIccTagSegmentedCurve.
 
virtual void Describe (std::string &sDescription, int nVerboseness)
 Name: CIccTagSegmentedCurve::Describe.
 
virtual void DumpLut (std::string &sDescription, const icChar *szName, icColorSpaceSignature csSig, int nIndex, int nVerboseness)
 Name: CIccTagSegmentedCurve::DumpLut.
 
CIccSegmentedCurveGetCurve ()
 
virtual icTagTypeSignature GetType () const
 Function: GetType()
 
virtual bool IsIdentity ()
 Name: CIccTagSegmentedCurve::IsIdentity.
 
virtual CIccTagNewCopy () const
 Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function.
 
CIccTagSegmentedCurveoperator= (const CIccTagSegmentedCurve &CurveTag)
 Name: CIccTagSegmentedCurve::CIccTagSegmentedCurve.
 
virtual bool Read (icUInt32Number size, CIccIO *pIO)
 Name: CIccTagSegmentedCurve::Read.
 
void SetCurve (CIccSegmentedCurve *pCurve)
 Name: CIccTagSegmentedCurve::SetCurve.
 
virtual icValidateStatus Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const
 Name: CIccTagSegmentedCurve::Validate.
 
virtual bool Write (CIccIO *pIO)
 Name: CIccTagSegmentedCurve::Write.
 
virtual ~CIccTagSegmentedCurve ()
 Name: CIccTagSegmentedCurve::~CIccTagSegmentedCurve.
 
- Public Member Functions inherited from CIccCurve
 CIccCurve ()
 
icFloatNumber Find (icFloatNumber v)
 
virtual ~CIccCurve ()
 
- Public Member Functions inherited from CIccTag
 CIccTag ()
 Name: CIccTag::CIccTag.
 
virtual void DetachIO ()
 Function: ReadAll() - Read All sub data for tag from file.
 
virtual icArraySignature GetTagArrayType () const
 
virtual icStructSignature GetTagStructType () const
 
virtual bool IsArrayType ()
 
virtual bool IsMBBType ()
 
virtual bool IsNumArrayType () const
 
virtual bool IsSupported ()
 Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes.
 
virtual bool Read (icUInt32Number size, CIccIO *pIO, CIccProfile *pProfile)
 Function: Read(size, pIO) - Read tag from file.
 
virtual bool ReadAll ()
 Function: ReadAll() - Read All sub data for tag from file.
 
virtual ~CIccTag ()
 Name: CIccTag::CIccTag.
 
- Public Member Functions inherited from CIccCurveXml
virtual const char * GetExtDerivedClassName () const
 
virtual ~CIccCurveXml ()
 
- Public Member Functions inherited from CIccTagXml
virtual const char * GetExtClassName () const
 
virtual ~CIccTagXml (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from CIccTag
static CIccTagCreate (icTagTypeSignature sig)
 Name: CIccTag::Create.
 
- Public Attributes inherited from CIccTag
icUInt32Number m_nReserved
 
- Protected Member Functions inherited from CIccCurve
icFloatNumber Find (icFloatNumber v, icFloatNumber p0, icFloatNumber v0, icFloatNumber p1, icFloatNumber v1)
 Name: CIccCurve::Find.
 
- Protected Attributes inherited from CIccTagSegmentedCurve
CIccSegmentedCurvem_pCurve
 

Detailed Description

Definition at line 528 of file IccTagXml.h.

Constructor & Destructor Documentation

◆ ~CIccTagXmlSegmentedCurve()

virtual CIccTagXmlSegmentedCurve::~CIccTagXmlSegmentedCurve ( )
inlinevirtual

Definition at line 531 of file IccTagXml.h.

531{}

Member Function Documentation

◆ GetClassName()

virtual const char * CIccTagXmlSegmentedCurve::GetClassName ( ) const
inlinevirtual

Reimplemented from CIccTagSegmentedCurve.

Definition at line 533 of file IccTagXml.h.

533{return "CIccTagXmlSegmentedCurve"; }

◆ GetExtension()

virtual IIccExtensionTag * CIccTagXmlSegmentedCurve::GetExtension ( )
inlinevirtual

Reimplemented from CIccTag.

Definition at line 535 of file IccTagXml.h.

535{return this; }

◆ ParseXml() [1/2]

bool CIccTagXmlSegmentedCurve::ParseXml ( xmlNode * pNode,
icConvertType nType,
std::string & parseStr )
virtual

Implements CIccCurveXml.

Definition at line 3097 of file IccTagXml.cpp.

3098{
3099 return ParseXml(pNode, parseStr);
3100}
virtual bool ParseXml(xmlNode *pNode, std::string &parseStr)

◆ ParseXml() [2/2]

bool CIccTagXmlSegmentedCurve::ParseXml ( xmlNode * pNode,
std::string & parseStr )
virtual

Implements CIccTagXml.

Definition at line 3073 of file IccTagXml.cpp.

3074{
3075 xmlNode *pCurveNode = icXmlFindNode(pNode, "SegmentedCurve");
3076 if (pCurveNode) {
3078
3079 if (pCurve) {
3080 if (pCurve->ParseXml(pCurveNode, parseStr)) {
3081 SetCurve(pCurve);
3082 return true;
3083 }
3084 else {
3085 delete pCurve;
3086 return false;
3087 }
3088 }
3089 parseStr += "Unable to allocate Segmented Curve\n";
3090 return false;
3091 }
3092 parseStr += "Unable to find Segmented Curve\n";
3093 return false;
3094}
xmlNode * icXmlFindNode(xmlNode *pNode, const char *szNodeName)
bool ParseXml(xmlNode *pNode, std::string &parseStr)
void SetCurve(CIccSegmentedCurve *pCurve)
Name: CIccTagSegmentedCurve::SetCurve.

References icXmlFindNode(), and CIccSegmentedCurveXml::ParseXml().

+ Here is the call graph for this function:

◆ ToXml() [1/2]

bool CIccTagXmlSegmentedCurve::ToXml ( std::string & xml,
icConvertType nType,
std::string blanks = "" )
virtual

Implements CIccCurveXml.

Definition at line 3067 of file IccTagXml.cpp.

3068{
3069 return ToXml(xml, blanks);
3070}
virtual bool ToXml(std::string &xml, std::string blanks="")

◆ ToXml() [2/2]

bool CIccTagXmlSegmentedCurve::ToXml ( std::string & xml,
std::string blanks = "" )
virtual

Implements CIccTagXml.

Definition at line 3058 of file IccTagXml.cpp.

3059{
3060 if (m_pCurve)
3061 return ((CIccSegmentedCurveXml*)m_pCurve)->ToXml(xml, blanks);
3062
3063 return true;
3064}
CIccSegmentedCurve * m_pCurve
Definition IccTagLut.h:248

The documentation for this class was generated from the following files: