Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_XMLText Class Reference

#include <cfx_xmltext.h>

+ Inheritance diagram for CFX_XMLText:
+ Collaboration diagram for CFX_XMLText:

Public Member Functions

 CFX_XMLText (const WideString &wsText)
 
 ~CFX_XMLText () override
 
Type GetType () const override
 
CFX_XMLNodeClone (CFX_XMLDocument *doc) override
 
void Save (const RetainPtr< IFX_RetainableWriteStream > &pXMLStream) override
 
const WideStringGetText () const
 
void SetText (const WideString &wsText)
 
- Public Member Functions inherited from CFX_XMLNode
 CFX_XMLNode ()
 
 ~CFX_XMLNode () override
 
CFX_XMLNodeGetRoot ()
 
void InsertChildNode (CFX_XMLNode *pNode, int32_t index)
 
- Public Member Functions inherited from fxcrt::TreeNode< T >
 TreeNode ()=default
 
virtual ~TreeNode ()=default
 
- Public Member Functions inherited from fxcrt::TreeNodeBase< T >
 TreeNodeBase ()=default
 
virtual ~TreeNodeBase ()=default
 
T * GetParent () const
 
T * GetFirstChild () const
 
T * GetLastChild () const
 
T * GetNextSibling () const
 
T * GetPrevSibling () const
 
bool HasChild (const T *child) const
 
T * GetNthChild (int32_t n)
 
void AppendFirstChild (T *child)
 
void AppendLastChild (T *child)
 
void InsertBefore (T *child, T *other)
 
void InsertAfter (T *child, T *other)
 
void RemoveChild (T *child)
 
void RemoveAllChildren ()
 
void RemoveSelfIfParented ()
 

Additional Inherited Members

- Public Types inherited from CFX_XMLNode
enum class  Type { kInstruction = 0 , kElement , kText , kCharData }
 

Detailed Description

Definition at line 15 of file cfx_xmltext.h.

Constructor & Destructor Documentation

◆ CFX_XMLText()

CFX_XMLText::CFX_XMLText ( const WideString & wsText)
explicit

Definition at line 11 of file cfx_xmltext.cpp.

Referenced by CFX_XMLCharData::CFX_XMLCharData(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

+ Here is the caller graph for this function:

◆ ~CFX_XMLText()

CFX_XMLText::~CFX_XMLText ( )
overridedefault

Member Function Documentation

◆ Clone()

CFX_XMLNode * CFX_XMLText::Clone ( CFX_XMLDocument * doc)
overridevirtual

Implements CFX_XMLNode.

Definition at line 19 of file cfx_xmltext.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ GetText()

const WideString & CFX_XMLText::GetText ( ) const
inline

Definition at line 25 of file cfx_xmltext.h.

Referenced by CFX_XMLCharData::Clone(), CFX_XMLElement::GetTextData(), TEST(), TEST(), TEST(), TEST(), and TEST().

+ Here is the caller graph for this function:

◆ GetType()

CFX_XMLNode::Type CFX_XMLText::GetType ( ) const
overridevirtual

Implements CFX_XMLNode.

Definition at line 15 of file cfx_xmltext.cpp.

References CFX_XMLNode::kText.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ Save()

void CFX_XMLText::Save ( const RetainPtr< IFX_RetainableWriteStream > & pXMLStream)
overridevirtual

Implements CFX_XMLNode.

Definition at line 23 of file cfx_xmltext.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ SetText()

void CFX_XMLText::SetText ( const WideString & wsText)
inline

Definition at line 26 of file cfx_xmltext.h.

Referenced by CXFA_Node::SetToXML(), and TEST().

+ Here is the caller graph for this function:

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