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 260 of file formulabase.hxx.

Constructor & Destructor Documentation

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

Definition at line 128 of file formulabase.cxx.

Member Function Documentation

Any & oox::xls::ApiTokenVector::append ( sal_Int32  nOpCode)
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 287 of file formulabase.hxx.

References append().

Referenced by append().

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

Definition at line 270 of file formulabase.hxx.

References mvTokens.

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

Definition at line 265 of file formulabase.hxx.

References mvTokens.

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

Definition at line 274 of file formulabase.hxx.

References mvTokens.

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

void oox::xls::ApiTokenVector::push_back ( const ApiToken rToken)
inline
void oox::xls::ApiTokenVector::reserve ( size_t  n)
inline
void oox::xls::ApiTokenVector::resize ( size_t  n)
inline

Definition at line 280 of file formulabase.hxx.

References mvTokens.

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

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

Converts to a sequence.

Definition at line 140 of file formulabase.cxx.

References mvTokens, and oox::ContainerHelper::vectorToSequence().

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

Member Data Documentation

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

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