LibreOffice Module svl (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SfxIntegerListItem Class Referencefinal

#include <ilstitem.hxx>

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

Public Member Functions

 SfxIntegerListItem ()
 
 SfxIntegerListItem (sal_uInt16 nWhich, std::vector< sal_Int32 > &&rList)
 
 SfxIntegerListItem (sal_uInt16 nWhich, const css::uno::Sequence< sal_Int32 > &rList)
 
virtual ~SfxIntegerListItem () override
 
 SfxIntegerListItem (SfxIntegerListItem const &)=default
 
 SfxIntegerListItem (SfxIntegerListItem &&)=default
 
SfxIntegerListItemoperator= (SfxIntegerListItem const &)=delete
 
SfxIntegerListItemoperator= (SfxIntegerListItem &&)=delete
 
const std::vector< sal_Int32 > & GetList () const
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SfxIntegerListItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
template<class T >
T & StaticWhichCast (TypedWhichId< T > nId)
 
template<class T >
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
template<class T >
T * DynamicWhichCast (TypedWhichId< T > nId)
 
template<class T >
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const =0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 This virtual method allows to get a textual representation of the value for the SfxPoolItem subclasses. More...
 
virtual void ScaleMetrics (tools::Long lMult, tools::Long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const =0
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
template<class T >
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 Only SfxVoidItem shall and must return true for this. More...
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Attributes

std::vector< sal_Int32 > m_aList
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 29 of file ilstitem.hxx.

Constructor & Destructor Documentation

◆ SfxIntegerListItem() [1/5]

SfxIntegerListItem::SfxIntegerListItem ( )

Definition at line 30 of file ilstitem.cxx.

Referenced by Clone(), and CreateDefault().

◆ SfxIntegerListItem() [2/5]

SfxIntegerListItem::SfxIntegerListItem ( sal_uInt16  nWhich,
std::vector< sal_Int32 > &&  rList 
)

◆ SfxIntegerListItem() [3/5]

SfxIntegerListItem::SfxIntegerListItem ( sal_uInt16  nWhich,
const css::uno::Sequence< sal_Int32 > &  rList 
)

Definition at line 40 of file ilstitem.cxx.

References m_aList, and comphelper::sequenceToContainer().

◆ ~SfxIntegerListItem()

SfxIntegerListItem::~SfxIntegerListItem ( )
overridevirtual

Definition at line 46 of file ilstitem.cxx.

◆ SfxIntegerListItem() [4/5]

SfxIntegerListItem::SfxIntegerListItem ( SfxIntegerListItem const &  )
default

◆ SfxIntegerListItem() [5/5]

SfxIntegerListItem::SfxIntegerListItem ( SfxIntegerListItem &&  )
default

Member Function Documentation

◆ Clone()

SfxIntegerListItem * SfxIntegerListItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 59 of file ilstitem.cxx.

References SfxIntegerListItem().

◆ CreateDefault()

SfxPoolItem * SfxIntegerListItem::CreateDefault ( )
static

Definition at line 28 of file ilstitem.cxx.

References SfxIntegerListItem().

◆ GetList()

const std::vector< sal_Int32 > & SfxIntegerListItem::GetList ( ) const
inline

Definition at line 45 of file ilstitem.hxx.

◆ operator=() [1/2]

SfxIntegerListItem & SfxIntegerListItem::operator= ( SfxIntegerListItem &&  )
delete

◆ operator=() [2/2]

SfxIntegerListItem & SfxIntegerListItem::operator= ( SfxIntegerListItem const &  )
delete

◆ operator==()

bool SfxIntegerListItem::operator== ( const SfxPoolItem rPoolItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 50 of file ilstitem.cxx.

References m_aList.

◆ PutValue()

bool SfxIntegerListItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 64 of file ilstitem.cxx.

References m_aList, and xConverter.

◆ QueryValue()

bool SfxIntegerListItem::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 82 of file ilstitem.cxx.

References comphelper::containerToSequence(), and m_aList.

Member Data Documentation

◆ m_aList

std::vector< sal_Int32 > SfxIntegerListItem::m_aList
private

Definition at line 31 of file ilstitem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SfxIntegerListItem().


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