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

#include <IccTagXml.h>

+ Inheritance diagram for CIccTagXmlUtf8Text:
+ Collaboration diagram for CIccTagXmlUtf8Text:

Public Member Functions

 CIccTagXmlUtf8Text ()
 
 CIccTagXmlUtf8Text (const CIccTagXmlUtf8Text &ITT)
 
virtual const char * GetClassName () const
 
virtual IIccExtensionTagGetExtension ()
 
virtual CIccTagNewCopy () const
 Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function.
 
virtual bool ParseXml (xmlNode *pNode, std::string &parseStr)
 
virtual bool ToXml (std::string &xml, std::string blanks="")
 
virtual ~CIccTagXmlUtf8Text ()
 
- Public Member Functions inherited from CIccTagUtf8Text
icUInt32Number Capacity () const
 
 CIccTagUtf8Text ()
 Name: CIccTagUtf8Text::CIccTagUtf8Text.
 
 CIccTagUtf8Text (const CIccTagUtf8Text &ITT)
 Name: CIccTagUtf8Text::CIccTagUtf8Text.
 
virtual void Describe (std::string &sDescription, int nVerboseness)
 Name: CIccTagUtf8Text::Describe.
 
icUCharGetBuffer (icUInt32Number nSize)
 Name: CIccTagUtf8Text::GetBuffer.
 
const icUCharGetText () const
 
virtual icTagTypeSignature GetType () const
 Function: GetType()
 
CIccTagUtf8Textoperator= (const CIccTagUtf8Text &TextTag)
 Name: CIccTagUtf8Text::operator=.
 
const icCharoperator= (const icChar *szText)
 
const icUCharoperator= (const icUChar *szText)
 Name: *CIccTagUtf8Textoperator=.
 
virtual bool Read (icUInt32Number size, CIccIO *pIO)
 Name: CIccTagUtf8Text::Read.
 
void Release ()
 Name: CIccTagUtf8Text::Release.
 
void SetText (const icChar *szText)
 
void SetText (const icUChar *szText)
 Name: CIccTagUtf8Text::SetText.
 
void SetText (const icUChar16 *szText)
 Name: CIccTagUtf8Text::SetText.
 
virtual icValidateStatus Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const
 Name: CIccTagUtf8Text::Validate.
 
virtual bool Write (CIccIO *pIO)
 Name: CIccTagUtf8Text::Write.
 
virtual ~CIccTagUtf8Text ()
 Name: CIccTagUtf8Text::~CIccTagUtf8Text.
 
- 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 CIccTagXml
virtual const char * GetExtClassName () const
 
virtual const char * GetExtDerivedClassName () 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 Attributes inherited from CIccTagUtf8Text
icUInt32Number m_nBufSize
 
icUCharm_szText
 

Detailed Description

Definition at line 117 of file IccTagXml.h.

Constructor & Destructor Documentation

◆ CIccTagXmlUtf8Text() [1/2]

CIccTagXmlUtf8Text::CIccTagXmlUtf8Text ( )
inline

Definition at line 120 of file IccTagXml.h.

120: CIccTagUtf8Text() {}
CIccTagUtf8Text()
Name: CIccTagUtf8Text::CIccTagUtf8Text.

Referenced by NewCopy().

+ Here is the caller graph for this function:

◆ CIccTagXmlUtf8Text() [2/2]

CIccTagXmlUtf8Text::CIccTagXmlUtf8Text ( const CIccTagXmlUtf8Text & ITT)
inline

Definition at line 121 of file IccTagXml.h.

121: CIccTagUtf8Text(ITT) {}

◆ ~CIccTagXmlUtf8Text()

virtual CIccTagXmlUtf8Text::~CIccTagXmlUtf8Text ( )
inlinevirtual

Definition at line 122 of file IccTagXml.h.

122{}

Member Function Documentation

◆ GetClassName()

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

Reimplemented from CIccTagUtf8Text.

Definition at line 126 of file IccTagXml.h.

126{return "CIccTagXmlUtf8Text"; }

◆ GetExtension()

virtual IIccExtensionTag * CIccTagXmlUtf8Text::GetExtension ( )
inlinevirtual

Reimplemented from CIccTag.

Definition at line 128 of file IccTagXml.h.

128{return this; }

◆ NewCopy()

virtual CIccTag * CIccTagXmlUtf8Text::NewCopy ( ) const
inlinevirtual

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 CIccTagUtf8Text.

Definition at line 124 of file IccTagXml.h.

124{return new CIccTagXmlUtf8Text(*this);}

References CIccTagXmlUtf8Text().

+ Here is the call graph for this function:

◆ ParseXml()

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

Implements CIccTagXml.

Definition at line 264 of file IccTagXml.cpp.

265{
266 std::string str = icXmlParseTextString(pNode, parseStr, false);
267
268 if (!str.empty()){
269 SetText(str.c_str());
270 return true;
271 }
272 return false;
273}
static std::string icXmlParseTextString(xmlNode *pNode, std::string &parseStr, bool bConvert=true)
void SetText(const icUChar16 *szText)
Name: CIccTagUtf8Text::SetText.

References icXmlParseTextString().

+ Here is the call graph for this function:

◆ ToXml()

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

Implements CIccTagXml.

Definition at line 151 of file IccTagXml.cpp.

152{
153 return icXmlDumpTextData(xml, blanks, (icChar*)m_szText, false);
154}
char icChar
Definition IccDefs.h:109
static bool icXmlDumpTextData(std::string &xml, std::string blanks, const char *szText, bool bConvert=true)
icUChar * m_szText

References icXmlDumpTextData().

+ Here is the call graph for this function:

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