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 ( )

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 

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 ( )

◆ back() [2/2]

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

Definition at line 268 of file formulabase.hxx.

References mvTokens.

◆ clear()

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

◆ operator[]()

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

Definition at line 263 of file formulabase.hxx.

References i, and mvTokens.

◆ pop_back()

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

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)

◆ reserve()

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

◆ resize()

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

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

◆ 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

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