LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Attributes | Private Attributes | List of all members
dbaccess::TokenComposer Struct Referenceabstract

#include <composertools.hxx>

Inheritance diagram for dbaccess::TokenComposer:
[legend]

Public Member Functions

OUString getComposedAndClear ()
 
void clear ()
 
 TokenComposer ()
 
virtual ~TokenComposer ()
 
 TokenComposer (TokenComposer const &)=default
 
 TokenComposer (TokenComposer &&)=default
 
TokenComposeroperator= (TokenComposer const &)=default
 
TokenComposeroperator= (TokenComposer &&)=default
 
void operator() (const OUString &lhs)
 
void append (const OUString &lhs)
 
virtual void appendNonEmptyToNonEmpty (const OUString &lhs)=0
 append the given part. Only to be called when both the part and our buffer so far are not empty More...
 

Protected Attributes

OUStringBuffer m_aBuffer
 

Private Attributes

bool m_bUsed
 

Detailed Description

Definition at line 29 of file composertools.hxx.

Constructor & Destructor Documentation

◆ TokenComposer() [1/3]

dbaccess::TokenComposer::TokenComposer ( )
inline

Definition at line 57 of file composertools.hxx.

◆ ~TokenComposer()

virtual dbaccess::TokenComposer::~TokenComposer ( )
inlinevirtual

Definition at line 64 of file composertools.hxx.

◆ TokenComposer() [2/3]

dbaccess::TokenComposer::TokenComposer ( TokenComposer const &  )
default

◆ TokenComposer() [3/3]

dbaccess::TokenComposer::TokenComposer ( TokenComposer &&  )
default

Member Function Documentation

◆ append()

void dbaccess::TokenComposer::append ( const OUString &  lhs)
inline

◆ appendNonEmptyToNonEmpty()

virtual void dbaccess::TokenComposer::appendNonEmptyToNonEmpty ( const OUString &  lhs)
pure virtual

append the given part. Only to be called when both the part and our buffer so far are not empty

Implemented in dbaccess::FilterCreator, and dbaccess::OrderCreator.

Referenced by append().

◆ clear()

void dbaccess::TokenComposer::clear ( )
inline

Definition at line 48 of file composertools.hxx.

References m_aBuffer, and m_bUsed.

◆ getComposedAndClear()

OUString dbaccess::TokenComposer::getComposedAndClear ( )
inline

◆ operator()()

void dbaccess::TokenComposer::operator() ( const OUString &  lhs)
inline

Definition at line 73 of file composertools.hxx.

References append().

◆ operator=() [1/2]

TokenComposer & dbaccess::TokenComposer::operator= ( TokenComposer &&  )
default

◆ operator=() [2/2]

TokenComposer & dbaccess::TokenComposer::operator= ( TokenComposer const &  )
default

Member Data Documentation

◆ m_aBuffer

OUStringBuffer dbaccess::TokenComposer::m_aBuffer
protected

◆ m_bUsed

bool dbaccess::TokenComposer::m_bUsed
private

Definition at line 33 of file composertools.hxx.

Referenced by append(), clear(), and getComposedAndClear().


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