LibreOffice Module shell (master) 1
Public Member Functions | Private Attributes | List of all members
CSimpleTag Class Reference

Implements the ITag interface for building a general info that is not a compound tag. More...

#include <simpletag.hxx>

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

Public Member Functions

 CSimpleTag ()
 
 CSimpleTag (const XmlTagAttributes_t &attributes)
 
virtual void startTag () override
 
virtual void endTag () override
 
virtual void addCharacters (const std::wstring &characters) override
 
virtual void addAttributes (const XmlTagAttributes_t &attributes) override
 
virtual std::wstring getTagContent () override
 
virtual ::std::wstring getTagAttribute (::std::wstring const &attrname) override
 
- Public Member Functions inherited from ITag
virtual ~ITag ()
 
virtual void startTag ()=0
 
virtual void endTag ()=0
 
virtual void addCharacters (const std::wstring &characters)=0
 
virtual void addAttributes (const XmlTagAttributes_t &attributes)=0
 
virtual ::std::wstring getTagContent ()=0
 
virtual ::std::wstring getTagAttribute (::std::wstring const &attrname)=0
 

Private Attributes

std::wstring m_SimpleContent
 
XmlTagAttributes_t m_SimpleAttributes
 

Detailed Description

Implements the ITag interface for building a general info that is not a compound tag.

Definition at line 31 of file simpletag.hxx.

Constructor & Destructor Documentation

◆ CSimpleTag() [1/2]

CSimpleTag::CSimpleTag ( )
inline

Definition at line 34 of file simpletag.hxx.

◆ CSimpleTag() [2/2]

CSimpleTag::CSimpleTag ( const XmlTagAttributes_t attributes)
inlineexplicit

Definition at line 35 of file simpletag.hxx.

Member Function Documentation

◆ addAttributes()

void CSimpleTag::addAttributes ( const XmlTagAttributes_t attributes)
overridevirtual

Implements ITag.

Definition at line 39 of file simpletag.cxx.

References m_SimpleAttributes.

◆ addCharacters()

void CSimpleTag::addCharacters ( const std::wstring &  characters)
overridevirtual

Implements ITag.

Definition at line 34 of file simpletag.cxx.

References m_SimpleContent.

◆ endTag()

void CSimpleTag::endTag ( )
overridevirtual

Implements ITag.

Definition at line 29 of file simpletag.cxx.

◆ getTagAttribute()

std::wstring CSimpleTag::getTagAttribute ( ::std::wstring const &  attrname)
overridevirtual

Implements ITag.

Definition at line 49 of file simpletag.cxx.

References EMPTY_STRING, and m_SimpleAttributes.

◆ getTagContent()

std::wstring CSimpleTag::getTagContent ( )
overridevirtual

Implements ITag.

Definition at line 44 of file simpletag.cxx.

References m_SimpleContent.

◆ startTag()

void CSimpleTag::startTag ( )
overridevirtual

Implements ITag.

Definition at line 23 of file simpletag.cxx.

References m_SimpleContent.

Member Data Documentation

◆ m_SimpleAttributes

XmlTagAttributes_t CSimpleTag::m_SimpleAttributes
private

Definition at line 47 of file simpletag.hxx.

Referenced by addAttributes(), and getTagAttribute().

◆ m_SimpleContent

std::wstring CSimpleTag::m_SimpleContent
private

Definition at line 46 of file simpletag.hxx.

Referenced by addCharacters(), getTagContent(), and startTag().


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