LibreOffice Module reportdesign (master)  1
Public Member Functions | Private Types | Private Attributes | List of all members
rptui::FunctionManager Class Reference

#include <FunctionHelper.hxx>

Inheritance diagram for rptui::FunctionManager:
[legend]
Collaboration diagram for rptui::FunctionManager:
[legend]

Public Member Functions

 FunctionManager (const css::uno::Reference< css::report::meta::XFunctionManager > &_xMgr)
 
virtual ~FunctionManager ()
 
virtual sal_uInt32 getCount () const override
 
virtual const formula::IFunctionCategorygetCategory (sal_uInt32 nPos) const override
 
virtual void fillLastRecentlyUsedFunctions (::std::vector< const formula::IFunctionDescription * > &_rLastRUFunctions) const override
 
virtual sal_Unicode getSingleToken (const EToken _eToken) const override
 
std::shared_ptr< FunctionDescriptionget (const css::uno::Reference< css::report::meta::XFunctionDescription > &_xFunctionDescription) const
 
- Public Member Functions inherited from formula::IFunctionManager
 IFunctionManager ()
 
virtual void fillLastRecentlyUsedFunctions (::std::vector< const IFunctionDescription * > &_rLastRUFunctions) const =0
 

Private Types

typedef std::map< OUString, std::shared_ptr< FunctionDescription > > TFunctionsMap
 
typedef std::map< OUString, std::shared_ptr< FunctionCategory > > TCategoriesMap
 

Private Attributes

css::uno::Reference< css::report::meta::XFunctionManager > m_xMgr
 
TCategoriesMap m_aCategories
 
mutable::std::vector< TCategoriesMap::iterator > m_aCategoryIndex
 
TFunctionsMap m_aFunctions
 

Additional Inherited Members

- Public Types inherited from formula::IFunctionManager
enum  EToken
 
- Public Attributes inherited from formula::IFunctionManager
 eOk
 
 eClose
 
 eSep
 
 eArrayOpen
 
 eArrayClose
 
- Protected Member Functions inherited from formula::IFunctionManager
 ~IFunctionManager ()
 

Detailed Description

Definition at line 37 of file FunctionHelper.hxx.

Member Typedef Documentation

typedef std::map< OUString, std::shared_ptr< FunctionCategory > > rptui::FunctionManager::TCategoriesMap
private

Definition at line 40 of file FunctionHelper.hxx.

typedef std::map< OUString, std::shared_ptr< FunctionDescription > > rptui::FunctionManager::TFunctionsMap
private

Definition at line 39 of file FunctionHelper.hxx.

Constructor & Destructor Documentation

rptui::FunctionManager::FunctionManager ( const css::uno::Reference< css::report::meta::XFunctionManager > &  _xMgr)

Definition at line 32 of file FunctionHelper.cxx.

rptui::FunctionManager::~FunctionManager ( )
virtual

Definition at line 36 of file FunctionHelper.cxx.

Member Function Documentation

void rptui::FunctionManager::fillLastRecentlyUsedFunctions ( ::std::vector< const formula::IFunctionDescription * > &  _rLastRUFunctions) const
overridevirtual

Definition at line 73 of file FunctionHelper.cxx.

std::shared_ptr< FunctionDescription > rptui::FunctionManager::get ( const css::uno::Reference< css::report::meta::XFunctionDescription > &  _xFunctionDescription) const

Definition at line 77 of file FunctionHelper.cxx.

References m_aCategories, m_aCategoryIndex, and m_aFunctions.

Referenced by rptui::FunctionCategory::getFunction().

const formula::IFunctionCategory * rptui::FunctionManager::getCategory ( sal_uInt32  nPos) const
overridevirtual

Implements formula::IFunctionManager.

Definition at line 62 of file FunctionHelper.cxx.

References first, m_aCategories, m_aCategoryIndex, and m_xMgr.

sal_uInt32 rptui::FunctionManager::getCount ( ) const
overridevirtual

Implements formula::IFunctionManager.

Definition at line 57 of file FunctionHelper.cxx.

References m_xMgr.

sal_Unicode rptui::FunctionManager::getSingleToken ( const EToken  _eToken) const
overridevirtual

Member Data Documentation

TCategoriesMap rptui::FunctionManager::m_aCategories
mutableprivate

Definition at line 42 of file FunctionHelper.hxx.

Referenced by get(), and getCategory().

mutable ::std::vector< TCategoriesMap::iterator > rptui::FunctionManager::m_aCategoryIndex
private

Definition at line 43 of file FunctionHelper.hxx.

Referenced by get(), and getCategory().

TFunctionsMap rptui::FunctionManager::m_aFunctions
mutableprivate

Definition at line 44 of file FunctionHelper.hxx.

Referenced by get().

css::uno::Reference< css::report::meta::XFunctionManager> rptui::FunctionManager::m_xMgr
private

Definition at line 41 of file FunctionHelper.hxx.

Referenced by getCategory(), and getCount().


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