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

#include <xmluconv.hxx>

Public Member Functions

 SvXMLTokenEnumerator (std::u16string_view rString, sal_Unicode cSeparator=u' ')
 
 SvXMLTokenEnumerator (OUString &&, sal_Unicode cSeparator=u' ')=delete
 just so no-one accidentally passes a temporary to this, and ends up with this class accessing the temporary after the temporary has been deleted. More...
 
bool getNextToken (std::u16string_view &rToken)
 

Private Attributes

std::u16string_view maTokenString
 
size_t mnNextTokenPos
 
sal_Unicode mcSeparator
 

Detailed Description

Definition at line 56 of file xmluconv.hxx.

Constructor & Destructor Documentation

◆ SvXMLTokenEnumerator() [1/2]

SvXMLTokenEnumerator::SvXMLTokenEnumerator ( std::u16string_view  rString,
sal_Unicode  cSeparator = u' ' 
)

Definition at line 524 of file xmluconv.cxx.

◆ SvXMLTokenEnumerator() [2/2]

SvXMLTokenEnumerator::SvXMLTokenEnumerator ( OUString &&  ,
sal_Unicode  cSeparator = u' ' 
)
delete

just so no-one accidentally passes a temporary to this, and ends up with this class accessing the temporary after the temporary has been deleted.

Member Function Documentation

◆ getNextToken()

bool SvXMLTokenEnumerator::getNextToken ( std::u16string_view &  rToken)

Member Data Documentation

◆ maTokenString

std::u16string_view SvXMLTokenEnumerator::maTokenString
private

Definition at line 59 of file xmluconv.hxx.

Referenced by getNextToken().

◆ mcSeparator

sal_Unicode SvXMLTokenEnumerator::mcSeparator
private

Definition at line 61 of file xmluconv.hxx.

Referenced by getNextToken().

◆ mnNextTokenPos

size_t SvXMLTokenEnumerator::mnNextTokenPos
private

Definition at line 60 of file xmluconv.hxx.

Referenced by getNextToken().


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