LibreOffice Module l10ntools (master) 1
Public Member Functions | Private Attributes | List of all members
XMLDefault Class Referencefinal

Holds additional file content like those for which no handler exists. More...

#include <xmlparse.hxx>

Inheritance diagram for XMLDefault:
[legend]
Collaboration diagram for XMLDefault:
[legend]

Public Member Functions

 XMLDefault (OString _sDefault, XMLParentNode *pParent)
 create a comment node More...
 
virtual XMLNodeType GetNodeType () const override
 
const OString & GetDefault () const
 returns the comment More...
 
- Public Member Functions inherited from XMLChildNode
XMLParentNodeGetParent ()
 returns the parent of this node More...
 
- Public Member Functions inherited from XMLNode
virtual XMLNodeType GetNodeType () const =0
 
virtual ~XMLNode ()
 
 XMLNode (XMLNode const &)=default
 
 XMLNode (XMLNode &&)=default
 
XMLNodeoperator= (XMLNode const &)=default
 
XMLNodeoperator= (XMLNode &&)=default
 

Private Attributes

OString m_sDefault
 

Additional Inherited Members

- Protected Member Functions inherited from XMLChildNode
 XMLChildNode (XMLParentNode *pPar)
 
 XMLChildNode (const XMLChildNode &rObj)
 
XMLChildNodeoperator= (const XMLChildNode &rObj)
 
- Protected Member Functions inherited from XMLNode
 XMLNode ()
 

Detailed Description

Holds additional file content like those for which no handler exists.

Definition at line 287 of file xmlparse.hxx.

Constructor & Destructor Documentation

◆ XMLDefault()

XMLDefault::XMLDefault ( OString  _sDefault,
XMLParentNode pParent 
)
inline

create a comment node

Definition at line 294 of file xmlparse.hxx.

Member Function Documentation

◆ GetDefault()

const OString & XMLDefault::GetDefault ( ) const
inline

returns the comment

Definition at line 305 of file xmlparse.hxx.

References m_sDefault.

Referenced by XMLElement::Print(), XMLFile::Print(), and XMLFile::Write().

◆ GetNodeType()

virtual XMLNodeType XMLDefault::GetNodeType ( ) const
inlineoverridevirtual

Implements XMLNode.

Definition at line 302 of file xmlparse.hxx.

References DEFAULT.

Member Data Documentation

◆ m_sDefault

OString XMLDefault::m_sDefault
private

Definition at line 290 of file xmlparse.hxx.

Referenced by GetDefault().


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