LibreOffice Module sc (master) 1
|
A vector of formula tokens with additional convenience functions. More...
#include <formulabase.hxx>
Public Member Functions | |
ApiTokenVector () | |
ApiToken & | operator[] (size_t i) |
size_t | size () const |
ApiToken & | back () |
const ApiToken & | back () 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< ApiToken > | mvTokens |
A vector of formula tokens with additional convenience functions.
Definition at line 258 of file formulabase.hxx.
|
explicit |
Definition at line 131 of file formulabase.cxx.
Any & oox::xls::ApiTokenVector::append | ( | sal_Int32 | nOpCode | ) |
Appends a new token with the passed op-code, returns its data field.
Definition at line 135 of file formulabase.cxx.
Referenced by oox::xls::FormulaFinalizer::appendCalcOnlyParameter(), oox::xls::FormulaFinalizer::appendEmptyParameter(), oox::xls::FormulaFinalizer::appendFinalToken(), oox::xls::FormulaParserImpl::appendRawToken(), oox::xls::FormulaFinalizer::appendRequiredParameters(), oox::xls::FormulaParserImpl::insertRawToken(), and oox::xls::FormulaFinalizer::processParameters().
|
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().
|
inline |
Definition at line 267 of file formulabase.hxx.
References mvTokens.
Referenced by oox::xls::FormulaFinalizer::processParameters(), and oox::xls::FormulaFinalizer::processTokens().
|
inline |
Definition at line 268 of file formulabase.hxx.
References mvTokens.
|
inline |
Definition at line 270 of file formulabase.hxx.
References mvTokens.
Referenced by oox::xls::FormulaFinalizer::finalizeTokenArray(), and oox::xls::FormulaParserImpl::initializeImport().
|
inline |
Definition at line 263 of file formulabase.hxx.
|
inline |
Definition at line 272 of file formulabase.hxx.
References mvTokens.
Referenced by oox::xls::FormulaFinalizer::processParameters().
|
inline |
Definition at line 274 of file formulabase.hxx.
References mvTokens.
Referenced by oox::xls::FormulaFinalizer::appendFinalToken(), and oox::xls::FormulaFinalizer::processParameters().
|
inline |
Definition at line 276 of file formulabase.hxx.
Referenced by oox::xls::FormulaFinalizer::FormulaFinalizer(), and oox::xls::FormulaParserImpl::FormulaParserImpl().
|
inline |
Definition at line 278 of file formulabase.hxx.
Referenced by oox::xls::FormulaFinalizer::processParameters().
|
inline |
Definition at line 265 of file formulabase.hxx.
References mvTokens.
Referenced by oox::xls::FormulaFinalizer::appendEmptyParameter(), oox::xls::FormulaParserImpl::appendRawToken(), oox::xls::FormulaParserImpl::insertRawToken(), and oox::xls::FormulaFinalizer::processParameters().
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().
|
private |
Definition at line 291 of file formulabase.hxx.
Referenced by append(), back(), clear(), operator[](), pop_back(), push_back(), reserve(), resize(), size(), and toSequence().