LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
oox::xls::ApiTokenVector Class Reference

A vector of formula tokens with additional convenience functions. More...

#include <formulabase.hxx>

Public Member Functions

 ApiTokenVector ()
 
ApiTokenoperator[] (size_t i)
 
size_t size () const
 
ApiTokenback ()
 
const ApiTokenback () const
 
void clear ()
 
void pop_back ()
 
void push_back (const ApiToken &rToken)
 
void reserve (size_t n)
 
void resize (size_t n)
 
css::uno::Any & append (sal_Int32 nOpCode)
 Appends a new token with the passed op-code, returns its data field. More...
 
template<typename Type >
void append (sal_Int32 nOpCode, const Type &rData)
 Appends a new token with the passed op-code and data. More...
 
ApiTokenSequence toSequence () const
 Converts to a sequence. More...
 

Private Attributes

::std::vector< ApiTokenmvTokens
 

Detailed Description

A vector of formula tokens with additional convenience functions.

Definition at line 258 of file formulabase.hxx.

Constructor & Destructor Documentation

◆ ApiTokenVector()

oox::xls::ApiTokenVector::ApiTokenVector ( )
explicit

Definition at line 131 of file formulabase.cxx.

Member Function Documentation

◆ append() [1/2]

Any & oox::xls::ApiTokenVector::append ( sal_Int32  nOpCode)

◆ append() [2/2]

template<typename Type >
void oox::xls::ApiTokenVector::append ( sal_Int32  nOpCode,
const Type rData 
)
inline

Appends a new token with the passed op-code and data.

Definition at line 285 of file formulabase.hxx.

References append().

Referenced by append().

◆ back() [1/2]

ApiToken & oox::xls::ApiTokenVector::back ( )
inline

◆ back() [2/2]

const ApiToken & oox::xls::ApiTokenVector::back ( ) const
inline

Definition at line 268 of file formulabase.hxx.

References mvTokens.

◆ clear()

void oox::xls::ApiTokenVector::clear ( )
inline

◆ operator[]()

ApiToken & oox::xls::ApiTokenVector::operator[] ( size_t  i)
inline

Definition at line 263 of file formulabase.hxx.

References i, and mvTokens.

◆ pop_back()

void oox::xls::ApiTokenVector::pop_back ( )
inline

Definition at line 272 of file formulabase.hxx.

References mvTokens.

Referenced by oox::xls::FormulaFinalizer::processParameters().

◆ push_back()

void oox::xls::ApiTokenVector::push_back ( const ApiToken rToken)
inline

◆ reserve()

void oox::xls::ApiTokenVector::reserve ( size_t  n)
inline

◆ resize()

void oox::xls::ApiTokenVector::resize ( size_t  n)
inline

Definition at line 278 of file formulabase.hxx.

References mvTokens, and n.

Referenced by oox::xls::FormulaFinalizer::processParameters().

◆ size()

size_t oox::xls::ApiTokenVector::size ( ) const
inline

◆ toSequence()

ApiTokenSequence oox::xls::ApiTokenVector::toSequence ( ) const

Converts to a sequence.

Definition at line 142 of file formulabase.cxx.

References comphelper::containerToSequence(), and mvTokens.

Referenced by oox::xls::FormulaFinalizer::finalizeTokenArray().

Member Data Documentation

◆ mvTokens

::std::vector< ApiToken > oox::xls::ApiTokenVector::mvTokens
private

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