LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScFunctionCategory Class Referencefinal

Category of spreadsheet functions. More...

#include <funcdesc.hxx>

Inheritance diagram for ScFunctionCategory:
[legend]
Collaboration diagram for ScFunctionCategory:
[legend]

Public Member Functions

 ScFunctionCategory (::std::vector< const ScFuncDesc * > *_pCategory, sal_uInt32 _nCategory)
 
virtual ~ScFunctionCategory ()
 
virtual sal_uInt32 getCount () const override
 
virtual const formula::IFunctionDescriptiongetFunction (sal_uInt32 _nPos) const override
 Gives the _nPos'th function in this category. More...
 
virtual sal_uInt32 getNumber () const override
 
virtual OUString getName () const override
 
- Public Member Functions inherited from formula::IFunctionCategory
 IFunctionCategory ()
 

Private Attributes

::std::vector< const ScFuncDesc * > * m_pCategory
 list of functions in this category More...
 
OUString m_sName
 name of this category More...
 
sal_uInt32 m_nCategory
 index number of this category More...
 

Additional Inherited Members

- Protected Member Functions inherited from formula::IFunctionCategory
 ~IFunctionCategory ()
 

Detailed Description

Category of spreadsheet functions.

Contains the name, index and function manager of a category, as well as a list of functions in the category

Definition at line 268 of file funcdesc.hxx.

Constructor & Destructor Documentation

ScFunctionCategory::ScFunctionCategory ( ::std::vector< const ScFuncDesc * > *  _pCategory,
sal_uInt32  _nCategory 
)
inline

Definition at line 271 of file funcdesc.hxx.

virtual ScFunctionCategory::~ScFunctionCategory ( )
inlinevirtual

Definition at line 273 of file funcdesc.hxx.

Member Function Documentation

sal_uInt32 ScFunctionCategory::getCount ( ) const
overridevirtual
Returns
count of functions in this category

Implements formula::IFunctionCategory.

Definition at line 1025 of file funcdesc.cxx.

References m_pCategory.

const formula::IFunctionDescription * ScFunctionCategory::getFunction ( sal_uInt32  _nPos) const
overridevirtual

Gives the _nPos'th function in this category.

Parameters
_nPosposition of function in this category.
Returns
function at the _nPos position in this category, null if _nPos out of bounds.

Implements formula::IFunctionCategory.

Definition at line 1037 of file funcdesc.cxx.

References m_pCategory, and size.

OUString ScFunctionCategory::getName ( ) const
overridevirtual

Implements formula::IFunctionCategory.

Definition at line 1030 of file funcdesc.cxx.

References ScFunctionMgr::GetCategoryName(), m_nCategory, and m_sName.

sal_uInt32 ScFunctionCategory::getNumber ( ) const
overridevirtual
Returns
index number of this category.

Implements formula::IFunctionCategory.

Definition at line 1045 of file funcdesc.cxx.

References m_nCategory.

Member Data Documentation

sal_uInt32 ScFunctionCategory::m_nCategory
private

index number of this category

Definition at line 299 of file funcdesc.hxx.

Referenced by getName(), and getNumber().

::std::vector<const ScFuncDesc*>* ScFunctionCategory::m_pCategory
private

list of functions in this category

Definition at line 297 of file funcdesc.hxx.

Referenced by getCount(), and getFunction().

OUString ScFunctionCategory::m_sName
mutableprivate

name of this category

Definition at line 298 of file funcdesc.hxx.

Referenced by getName().


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