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

Holds comments. More...

#include <xmlparse.hxx>

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

Public Member Functions

 XMLComment (OString _sComment, XMLParentNode *pParent)
 create a comment node More...
 
virtual XMLNodeType GetNodeType () const override
 
const OString & GetComment () 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_sComment
 

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

Definition at line 264 of file xmlparse.hxx.

Constructor & Destructor Documentation

◆ XMLComment()

XMLComment::XMLComment ( OString  _sComment,
XMLParentNode pParent 
)
inline

create a comment node

Definition at line 271 of file xmlparse.hxx.

Member Function Documentation

◆ GetComment()

const OString & XMLComment::GetComment ( ) const
inline

returns the comment

Definition at line 282 of file xmlparse.hxx.

References m_sComment.

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

◆ GetNodeType()

virtual XMLNodeType XMLComment::GetNodeType ( ) const
inlineoverridevirtual

Implements XMLNode.

Definition at line 279 of file xmlparse.hxx.

References COMMENT.

Member Data Documentation

◆ m_sComment

OString XMLComment::m_sComment
private

Definition at line 267 of file xmlparse.hxx.

Referenced by GetComment().


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