LibreOffice Module forms (master) 1
|
a helper class which merges sequences of <type scope="css::uno">Type</type>s, so that the resulting sequence contains every type at most once More...
#include <componenttools.hxx>
Public Types | |
typedef css::uno::Sequence< css::uno::Type > | TypeSequence |
typedef ::std::set< css::uno::Type, TypeCompareLess > | TypeSet |
Public Member Functions | |
TypeBag (const TypeSequence &_rTypes1) | |
TypeBag (const TypeSequence &_rTypes1, const TypeSequence &_rTypes2) | |
TypeBag (const TypeSequence &_rTypes1, const TypeSequence &_rTypes2, const TypeSequence &_rTypes3) | |
void | addType (const css::uno::Type &i_rType) |
void | addTypes (const TypeSequence &_rTypes) |
void | removeType (const css::uno::Type &i_rType) |
TypeSequence | getTypes () const |
returns the types represented by this bag More... | |
Private Attributes | |
TypeSet | m_aTypes |
a helper class which merges sequences of <type scope="css::uno">Type</type>s, so that the resulting sequence contains every type at most once
Definition at line 44 of file componenttools.hxx.
typedef css::uno::Sequence< css::uno::Type > frm::TypeBag::TypeSequence |
Definition at line 47 of file componenttools.hxx.
typedef ::std::set< css::uno::Type, TypeCompareLess > frm::TypeBag::TypeSet |
Definition at line 48 of file componenttools.hxx.
frm::TypeBag::TypeBag | ( | const TypeSequence & | _rTypes1 | ) |
Definition at line 39 of file componenttools.cxx.
References addTypes().
frm::TypeBag::TypeBag | ( | const TypeSequence & | _rTypes1, |
const TypeSequence & | _rTypes2 | ||
) |
Definition at line 45 of file componenttools.cxx.
References addTypes().
frm::TypeBag::TypeBag | ( | const TypeSequence & | _rTypes1, |
const TypeSequence & | _rTypes2, | ||
const TypeSequence & | _rTypes3 | ||
) |
Definition at line 52 of file componenttools.cxx.
References addTypes().
void frm::TypeBag::addType | ( | const css::uno::Type & | i_rType | ) |
Definition at line 70 of file componenttools.cxx.
References m_aTypes.
void frm::TypeBag::addTypes | ( | const TypeSequence & | _rTypes | ) |
Definition at line 60 of file componenttools.cxx.
References xforms::copy(), and m_aTypes.
Referenced by TypeBag().
TypeBag::TypeSequence frm::TypeBag::getTypes | ( | ) | const |
returns the types represented by this bag
Definition at line 82 of file componenttools.cxx.
References comphelper::containerToSequence(), and m_aTypes.
Referenced by frm::OControl::_getTypes(), frm::OControlModel::_getTypes(), frm::OListBoxModel::_getTypes(), frm::OListBoxControl::_getTypes(), and frm::OBoundControl::_getTypes().
void frm::TypeBag::removeType | ( | const css::uno::Type & | i_rType | ) |
Definition at line 76 of file componenttools.cxx.
References m_aTypes.
|
private |
Definition at line 51 of file componenttools.hxx.
Referenced by addType(), addTypes(), getTypes(), and removeType().