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

#include <IccTagXml.h>

+ Inheritance diagram for CIccTagXmlText:
+ Collaboration diagram for CIccTagXmlText:

Public Member Functions

 CIccTagXmlText ()
 
 CIccTagXmlText (const CIccTagXmlText &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 ~CIccTagXmlText ()
 
- Public Member Functions inherited from CIccTagText
icUInt32Number Capacity () const
 
 CIccTagText ()
 Name: CIccTagText::CIccTagText.
 
 CIccTagText (const CIccTagText &ITT)
 Name: CIccTagText::CIccTagText.
 
virtual void Describe (std::string &sDescription, int nVerboseness)
 Name: CIccTagText::Describe.
 
icCharGetBuffer (icUInt32Number nSize)
 Name: CIccTagText::GetBuffer.
 
const icCharGetText () const
 
virtual icTagTypeSignature GetType () const
 Function: GetType()
 
CIccTagTextoperator= (const CIccTagText &TextTag)
 Name: CIccTagText::operator=.
 
const icCharoperator= (const icChar *szText)
 Name: *CIccTagTextoperator=.
 
virtual bool Read (icUInt32Number size, CIccIO *pIO)
 Name: CIccTagText::Read.
 
void Release ()
 Name: CIccTagText::Release.
 
void SetText (const icChar *szText)
 Name: CIccTagText::SetText.
 
virtual icValidateStatus Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const
 Name: CIccTagText::Validate.
 
virtual bool Write (CIccIO *pIO)
 Name: CIccTagText::Write.
 
virtual ~CIccTagText ()
 Name: CIccTagText::~CIccTagText.
 
- 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 CIccTagText
icUInt32Number m_nBufSize
 
icCharm_szText
 

Detailed Description

Definition at line 100 of file IccTagXml.h.

Constructor & Destructor Documentation

◆ CIccTagXmlText() [1/2]

CIccTagXmlText::CIccTagXmlText ( )
inline

Definition at line 103 of file IccTagXml.h.

103: CIccTagText() {}
CIccTagText()
Name: CIccTagText::CIccTagText.

Referenced by NewCopy().

+ Here is the caller graph for this function:

◆ CIccTagXmlText() [2/2]

CIccTagXmlText::CIccTagXmlText ( const CIccTagXmlText & ITT)
inline

Definition at line 104 of file IccTagXml.h.

104: CIccTagText(ITT) {}

◆ ~CIccTagXmlText()

virtual CIccTagXmlText::~CIccTagXmlText ( )
inlinevirtual

Definition at line 105 of file IccTagXml.h.

105{}

Member Function Documentation

◆ GetClassName()

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

Reimplemented from CIccTagText.

Definition at line 109 of file IccTagXml.h.

109{return "CIccTagXmlText"; }

◆ GetExtension()

virtual IIccExtensionTag * CIccTagXmlText::GetExtension ( )
inlinevirtual

Reimplemented from CIccTag.

Definition at line 111 of file IccTagXml.h.

111{return this; }

◆ NewCopy()

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

Definition at line 107 of file IccTagXml.h.

107{return new CIccTagXmlText(*this);}

References CIccTagXmlText().

+ Here is the call graph for this function:

◆ ParseXml()

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

Implements CIccTagXml.

Definition at line 253 of file IccTagXml.cpp.

254{
255 std::string str = icXmlParseTextString(pNode, parseStr);
256
257 if (!str.empty()){
258 SetText(str.c_str());
259 return true;
260 }
261 return false;
262}
static std::string icXmlParseTextString(xmlNode *pNode, std::string &parseStr, bool bConvert=true)
void SetText(const icChar *szText)
Name: CIccTagText::SetText.

References icXmlParseTextString().

+ Here is the call graph for this function:

◆ ToXml()

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

Implements CIccTagXml.

Definition at line 146 of file IccTagXml.cpp.

147{
148 return icXmlDumpTextData(xml, blanks, m_szText);
149}
static bool icXmlDumpTextData(std::string &xml, std::string blanks, const char *szText, bool bConvert=true)
icChar * m_szText

References icXmlDumpTextData().

+ Here is the call graph for this function:

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