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

#include <IccTagXml.h>

+ Inheritance diagram for CIccTagXmlUtf16Text:
+ Collaboration diagram for CIccTagXmlUtf16Text:

Public Member Functions

 CIccTagXmlUtf16Text ()
 
 CIccTagXmlUtf16Text (const CIccTagXmlUtf16Text &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 ~CIccTagXmlUtf16Text ()
 
- Public Member Functions inherited from CIccTagUtf16Text
icUInt32Number Capacity () const
 
 CIccTagUtf16Text ()
 Name: CIccTagUtf16Text::CIccTagUtf16Text.
 
 CIccTagUtf16Text (const CIccTagUtf16Text &ITT)
 Name: CIccTagUtf16Text::CIccTagUtf16Text.
 
virtual void Describe (std::string &sDescription, int nVerboseness)
 Name: CIccTagUtf16Text::Describe.
 
icUChar16GetBuffer (icUInt32Number nSize)
 Name: CIccTagUtf16Text::GetBuffer.
 
icUInt32Number GetLength () const
 Name: CIccTagUtf16Text::GetLength.
 
const icUChar16GetText () const
 
const icCharGetText (std::string &bufStr) const
 Name: CIccTagUtf16Text::GetText.
 
virtual icTagTypeSignature GetType () const
 Function: GetType()
 
CIccTagUtf16Textoperator= (const CIccTagUtf16Text &TextTag)
 Name: CIccTagUtf16Text::operator=.
 
const icUChar16operator= (const icUChar16 *szText)
 Name: *CIccTagUtf16Textoperator=.
 
virtual bool Read (icUInt32Number size, CIccIO *pIO)
 Name: CIccTagUtf16Text::Read.
 
void Release ()
 Name: CIccTagUtf16Text::Release.
 
void SetText (const icChar *szText)
 
void SetText (const icUChar *szText)
 Name: CIccTagUtf16Text::SetText.
 
void SetText (const icUChar16 *szText)
 Name: CIccTagUtf16Text::SetText.
 
virtual icValidateStatus Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const
 Name: CIccTagUtf16Text::Validate.
 
virtual bool Write (CIccIO *pIO)
 Name: CIccTagUtf16Text::Write.
 
virtual ~CIccTagUtf16Text ()
 Name: CIccTagUtf16Text::~CIccTagUtf16Text.
 
- 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 CIccTagUtf16Text
icUInt32Number m_nBufSize
 
icUChar16m_szText
 

Detailed Description

Definition at line 168 of file IccTagXml.h.

Constructor & Destructor Documentation

◆ CIccTagXmlUtf16Text() [1/2]

CIccTagXmlUtf16Text::CIccTagXmlUtf16Text ( )
inline

Definition at line 171 of file IccTagXml.h.

171: CIccTagUtf16Text() {}
CIccTagUtf16Text()
Name: CIccTagUtf16Text::CIccTagUtf16Text.

Referenced by NewCopy().

+ Here is the caller graph for this function:

◆ CIccTagXmlUtf16Text() [2/2]

CIccTagXmlUtf16Text::CIccTagXmlUtf16Text ( const CIccTagXmlUtf16Text & ITT)
inline

Definition at line 172 of file IccTagXml.h.

172: CIccTagUtf16Text(ITT) {}

◆ ~CIccTagXmlUtf16Text()

virtual CIccTagXmlUtf16Text::~CIccTagXmlUtf16Text ( )
inlinevirtual

Definition at line 173 of file IccTagXml.h.

173{}

Member Function Documentation

◆ GetClassName()

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

Reimplemented from CIccTagUtf16Text.

Definition at line 177 of file IccTagXml.h.

177{return "CIccTagXmlUtf16Text"; }

◆ GetExtension()

virtual IIccExtensionTag * CIccTagXmlUtf16Text::GetExtension ( )
inlinevirtual

Reimplemented from CIccTag.

Definition at line 179 of file IccTagXml.h.

179{return this; }

◆ NewCopy()

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

Definition at line 175 of file IccTagXml.h.

175{return new CIccTagXmlUtf16Text(*this);}

References CIccTagXmlUtf16Text().

+ Here is the call graph for this function:

◆ ParseXml()

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

Implements CIccTagXml.

Definition at line 325 of file IccTagXml.cpp.

326{
327 std::string str = icXmlParseTextString(pNode, parseStr, false);
328
329 if (!str.empty()){
330 SetText(str.c_str());
331 return true;
332 }
333 return false;
334}
static std::string icXmlParseTextString(xmlNode *pNode, std::string &parseStr, bool bConvert=true)
void SetText(const icUChar16 *szText)
Name: CIccTagUtf16Text::SetText.

References icXmlParseTextString().

+ Here is the call graph for this function:

◆ ToXml()

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

Implements CIccTagXml.

Definition at line 174 of file IccTagXml.cpp.

175{
176 std::string buf;
177 return icXmlDumpTextData(xml, blanks, GetText(buf), false);
178}
static bool icXmlDumpTextData(std::string &xml, std::string blanks, const char *szText, bool bConvert=true)
const icUChar16 * GetText() const

References icXmlDumpTextData().

+ Here is the call graph for this function:

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