LibreOffice Module comphelper (master) 1
Public Member Functions | Private Attributes | List of all members
comphelper::AttributeList Class Referencefinal

#include <attributelist.hxx>

Inheritance diagram for comphelper::AttributeList:
[legend]
Collaboration diagram for comphelper::AttributeList:
[legend]

Public Member Functions

 AttributeList ()
 
 AttributeList (const AttributeList &r)
 
virtual ~AttributeList () override
 
void AddAttribute (const OUString &sName, const OUString &sType, const OUString &sValue)
 
void Clear ()
 
virtual sal_Int16 SAL_CALL getLength () override
 
virtual OUString SAL_CALL getNameByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getTypeByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getTypeByName (const OUString &aName) override
 
virtual OUString SAL_CALL getValueByIndex (sal_Int16 i) override
 
virtual OUString SAL_CALL getValueByName (const OUString &aName) override
 
virtual css::uno::Reference< XCloneable > SAL_CALL createClone () override
 

Private Attributes

std::vector< TagAttributemAttributes
 

Detailed Description

Definition at line 43 of file attributelist.hxx.

Constructor & Destructor Documentation

◆ AttributeList() [1/2]

comphelper::AttributeList::AttributeList ( )

Definition at line 50 of file attributelist.cxx.

References mAttributes.

Referenced by createClone().

◆ AttributeList() [2/2]

comphelper::AttributeList::AttributeList ( const AttributeList r)

Definition at line 56 of file attributelist.cxx.

References mAttributes.

◆ ~AttributeList()

comphelper::AttributeList::~AttributeList ( )
overridevirtual

Definition at line 62 of file attributelist.cxx.

Member Function Documentation

◆ AddAttribute()

void comphelper::AttributeList::AddAttribute ( const OUString &  sName,
const OUString &  sType,
const OUString &  sValue 
)
inline

Definition at line 54 of file attributelist.hxx.

References sName, and sType.

◆ Clear()

void comphelper::AttributeList::Clear ( )
inline

Definition at line 58 of file attributelist.hxx.

◆ createClone()

css::uno::Reference< css::util::XCloneable > comphelper::AttributeList::createClone ( )
overridevirtual

Definition at line 66 of file attributelist.cxx.

References AttributeList().

◆ getLength()

virtual sal_Int16 SAL_CALL comphelper::AttributeList::getLength ( )
inlineoverridevirtual

Definition at line 64 of file attributelist.hxx.

◆ getNameByIndex()

virtual OUString SAL_CALL comphelper::AttributeList::getNameByIndex ( sal_Int16  i)
inlineoverridevirtual

Definition at line 68 of file attributelist.hxx.

References i.

◆ getTypeByIndex()

virtual OUString SAL_CALL comphelper::AttributeList::getTypeByIndex ( sal_Int16  i)
inlineoverridevirtual

Definition at line 72 of file attributelist.hxx.

References i.

◆ getTypeByName()

OUString SAL_CALL comphelper::AttributeList::getTypeByName ( const OUString &  aName)
overridevirtual

Definition at line 28 of file attributelist.cxx.

References attribute, mAttributes, and sName.

◆ getValueByIndex()

virtual OUString SAL_CALL comphelper::AttributeList::getValueByIndex ( sal_Int16  i)
inlineoverridevirtual

Definition at line 77 of file attributelist.hxx.

References i.

◆ getValueByName()

OUString SAL_CALL comphelper::AttributeList::getValueByName ( const OUString &  aName)
overridevirtual

Definition at line 39 of file attributelist.cxx.

References attribute, mAttributes, and sName.

Member Data Documentation

◆ mAttributes

std::vector<TagAttribute> comphelper::AttributeList::mAttributes
private

Definition at line 46 of file attributelist.hxx.

Referenced by AttributeList(), getTypeByName(), and getValueByName().


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