Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
#include <IccProfileXml.h>
Public Member Functions | |
CIccProfileXml () | |
CIccProfileXml (const CIccProfileXml &profile) | |
virtual const char * | GetClassName () const |
bool | LoadXml (const char *szFilename, const char *szRelaxNGDir, std::string *parseStr=NULL) |
virtual CIccProfile * | NewCopy () const |
virtual CIccProfile * | NewProfile () const |
bool | ParseXml (xmlNode *pNode, std::string &parseStr) |
bool | ToXml (std::string &xmlString) |
bool | ToXmlWithBlanks (std::string &xmlString, std::string blanks) |
virtual | ~CIccProfileXml () |
Protected Member Functions | |
bool | ParseBasic (xmlNode *pNode, std::string &parseStr) |
Name: CIccProfileXml::ParseBasic. | |
bool | ParseTag (xmlNode *pNode, std::string &parseStr) |
Name: CIccProfileXml::ParseTag. | |
Definition at line 74 of file IccProfileXml.h.
|
inline |
Definition at line 78 of file IccProfileXml.h.
Referenced by NewCopy(), and NewProfile().
|
inline |
Definition at line 79 of file IccProfileXml.h.
|
inlinevirtual |
Definition at line 82 of file IccProfileXml.h.
|
inlinevirtual |
Definition at line 84 of file IccProfileXml.h.
bool CIccProfileXml::LoadXml | ( | const char * | szFilename, |
const char * | szRelaxNGDir, | ||
std::string * | parseStr = NULL ) |
Definition at line 829 of file IccProfileXml.cpp.
References ParseXml().
Referenced by main().
|
inlinevirtual |
Definition at line 80 of file IccProfileXml.h.
References CIccProfileXml().
|
inlinevirtual |
Definition at line 81 of file IccProfileXml.h.
References CIccProfileXml().
|
protected |
Name: CIccProfileXml::ParseBasic.
Purpose: Parse ICC header.
Args: pNode - pointer to xmlNode object to read data with
Return: true - valid ICC header, false - failure
Definition at line 333 of file IccProfileXml.cpp.
References icAbsoluteColorimetric, icDtoF(), icEmbeddedProfileTrue, icExtendedRangePCS, icFtoF16(), icGetDateTimeValue(), icGetDeviceAttrValue(), icMagicNumber, icMCSNeedsSubsetTrue, icPerceptual, icRelativeColorimetric, icSaturation, icUseWithEmbeddedDataOnly, icXmlAttrValue(), icXmlFindAttr(), icXmlFindNode(), icXmlGetChildSigVal(), icXmlGetHexData(), icXmlStrCmp, and parseVersion().
Referenced by ParseXml().
|
protected |
Name: CIccProfileXml::ParseTag.
Purpose: This will load from the indicated IO object and associate a tag object to a tag directory entry. Nothing happens if tag directory entry is associated with a tag object.
Args: pNode - pointer to xmlNode object to parse from
Return: true - tag from node successfully parsed, false - failure
Definition at line 574 of file IccProfileXml.cpp.
References CIccTag::Create(), IIccExtensionTag::GetExtClassName(), CIccTag::GetExtension(), CIccTag::GetTagArrayType(), CIccInfo::GetTagTypeSigName(), CIccTag::GetType(), icGetSigVal(), icGetTagArrayHandler(), icGetTagNameSig(), icGetTypeNameTagSig(), icSigAToB0Tag, icSigAToB1Tag, icSigAToB2Tag, icSigAToB3Tag, icSigBToA0Tag, icSigBToA1Tag, icSigBToA2Tag, icSigBToA3Tag, icSigGamutData, icSigGamutTag, icSigHToS0Tag, icSigHToS1Tag, icSigHToS2Tag, icSigHToS3Tag, icSigNamedColor2Tag, icSigNamedColor2Type, icSigNamedColorArray, icSigUnknownTag, icSigUnknownType, icXmlAttrValue(), icXmlFindAttr(), icXmlStrCmp, CIccTag::IsMBBType(), CIccTag::m_nReserved, CIccTagXml::ParseXml(), and CIccArrayNamedColor::SetColorSpaces().
Referenced by ParseXml().
bool CIccProfileXml::ParseXml | ( | xmlNode * | pNode, |
std::string & | parseStr ) |
Definition at line 801 of file IccProfileXml.cpp.
References icXmlFindNode(), icXmlStrCmp, ParseBasic(), and ParseTag().
Referenced by LoadXml(), and CIccTagXmlEmbeddedProfile::ParseXml().
bool CIccProfileXml::ToXml | ( | std::string & | xmlString | ) |
Definition at line 74 of file IccProfileXml.cpp.
References ToXmlWithBlanks().
Referenced by main().
bool CIccProfileXml::ToXmlWithBlanks | ( | std::string & | xmlString, |
std::string | blanks ) |
Definition at line 82 of file IccProfileXml.cpp.
References CIccTag::GetExtension(), CIccInfo::GetRenderingIntentName(), CIccInfo::GetSubClassVersionName(), CIccInfo::GetTagSigName(), CIccTag::GetType(), CIccInfo::GetVersionName(), icF16toF(), icFixXml(), icFtoD(), icGetColorSigStr(), icGetDeviceAttrName(), icGetHeaderFlagsName(), icGetSigStr(), icGetTagSigTypeName(), icSigUnkownPlatform, icVersionNumberV5, icXmlFloatFmt, icXmlHalfFmt, and CIccTagXml::ToXml().
Referenced by ToXml(), and CIccTagXmlEmbeddedProfile::ToXml().