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

Implements the ITag interface for building a keyword list. More...

#include <keywordstag.hxx>

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

Public Member Functions

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 &) 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::vector< std::wstring > m_slKeywords
 
std::wstring m_sCurrentKeyword
 

Detailed Description

Implements the ITag interface for building a keyword list.

Definition at line 31 of file keywordstag.hxx.

Member Function Documentation

◆ addAttributes()

void CKeywordsTag::addAttributes ( const XmlTagAttributes_t attributes)
overridevirtual

Implements ITag.

Definition at line 33 of file keywordstag.cxx.

◆ addCharacters()

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

Implements ITag.

Definition at line 28 of file keywordstag.cxx.

References m_sCurrentKeyword.

◆ endTag()

void CKeywordsTag::endTag ( )
overridevirtual

Implements ITag.

Definition at line 26 of file keywordstag.cxx.

References m_sCurrentKeyword, and m_slKeywords.

◆ getTagAttribute()

virtual ::std::wstring CKeywordsTag::getTagAttribute ( ::std::wstring const &  )
inlineoverridevirtual

Implements ITag.

Definition at line 39 of file keywordstag.hxx.

◆ getTagContent()

std::wstring CKeywordsTag::getTagContent ( )
overridevirtual

Implements ITag.

Definition at line 38 of file keywordstag.cxx.

References m_slKeywords.

Referenced by CMetaInfoReader::saveTagContent().

◆ startTag()

void CKeywordsTag::startTag ( )
overridevirtual

Implements ITag.

Definition at line 24 of file keywordstag.cxx.

References m_sCurrentKeyword.

Member Data Documentation

◆ m_sCurrentKeyword

std::wstring CKeywordsTag::m_sCurrentKeyword
private

Definition at line 43 of file keywordstag.hxx.

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

◆ m_slKeywords

std::vector<std::wstring> CKeywordsTag::m_slKeywords
private

Definition at line 42 of file keywordstag.hxx.

Referenced by endTag(), and getTagContent().


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