LibreOffice Module sax (master) 1
Public Member Functions | Private Attributes | List of all members
sax_fastparser::FastAttributeList::FastAttributeIter Class Reference

Use for fast iteration and conversion of attributes. More...

#include <fastattribs.hxx>

Collaboration diagram for sax_fastparser::FastAttributeList::FastAttributeIter:
[legend]

Public Member Functions

 FastAttributeIter (const FastAttributeList &rList, size_t nIdx)
 
FastAttributeIteroperator++ ()
 
bool operator!= (const FastAttributeIter &rhs) const
 
const FastAttributeIteroperator* () const
 
sal_Int32 getToken () const
 
bool isEmpty () const
 
sal_Int32 toInt32 () const
 
double toDouble () const
 
bool toBoolean () const
 
OUString toString () const
 
const char * toCString () const
 
sal_Int32 getLength () const
 
std::string_view toView () const
 
bool isString (const char *str) const
 

Private Attributes

const FastAttributeListmrList
 
size_t mnIdx
 

Detailed Description

Use for fast iteration and conversion of attributes.

Definition at line 148 of file fastattribs.hxx.

Constructor & Destructor Documentation

◆ FastAttributeIter()

sax_fastparser::FastAttributeList::FastAttributeIter::FastAttributeIter ( const FastAttributeList rList,
size_t  nIdx 
)
inline

Definition at line 153 of file fastattribs.hxx.

References mnIdx.

Member Function Documentation

◆ getLength()

sal_Int32 sax_fastparser::FastAttributeList::FastAttributeIter::getLength ( ) const
inline

◆ getToken()

sal_Int32 sax_fastparser::FastAttributeList::FastAttributeIter::getToken ( ) const
inline

Definition at line 173 of file fastattribs.hxx.

References sax_fastparser::FastAttributeList::maAttributeTokens, and mnIdx.

◆ isEmpty()

bool sax_fastparser::FastAttributeList::FastAttributeIter::isEmpty ( ) const
inline

◆ isString()

bool sax_fastparser::FastAttributeList::FastAttributeIter::isString ( const char *  str) const
inline

◆ operator!=()

bool sax_fastparser::FastAttributeList::FastAttributeIter::operator!= ( const FastAttributeIter rhs) const
inline

Definition at line 163 of file fastattribs.hxx.

References mnIdx, and mnIdx.

◆ operator*()

const FastAttributeIter & sax_fastparser::FastAttributeList::FastAttributeIter::operator* ( ) const
inline

Definition at line 168 of file fastattribs.hxx.

◆ operator++()

FastAttributeIter & sax_fastparser::FastAttributeList::FastAttributeIter::operator++ ( )
inline

Definition at line 158 of file fastattribs.hxx.

References mnIdx.

◆ toBoolean()

bool sax_fastparser::FastAttributeList::FastAttributeIter::toBoolean ( ) const
inline

◆ toCString()

const char * sax_fastparser::FastAttributeList::FastAttributeIter::toCString ( ) const
inline

◆ toDouble()

double sax_fastparser::FastAttributeList::FastAttributeIter::toDouble ( ) const
inline

◆ toInt32()

sal_Int32 sax_fastparser::FastAttributeList::FastAttributeIter::toInt32 ( ) const
inline

◆ toString()

OUString sax_fastparser::FastAttributeList::FastAttributeIter::toString ( ) const
inline

◆ toView()

std::string_view sax_fastparser::FastAttributeList::FastAttributeIter::toView ( ) const
inline

Member Data Documentation

◆ mnIdx

size_t sax_fastparser::FastAttributeList::FastAttributeIter::mnIdx
private

Definition at line 150 of file fastattribs.hxx.

Referenced by operator!=().

◆ mrList

const FastAttributeList& sax_fastparser::FastAttributeList::FastAttributeIter::mrList
private

Definition at line 149 of file fastattribs.hxx.


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