LibreOffice Module comphelper (master) 1
|
#include <attributelist.hxx>
Classes | |
struct | TagAttribute |
Public Member Functions | |
AttributeList () | |
AttributeList (const AttributeList &r)=default | |
AttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &rAttrList) | |
AttributeList (AttributeList &&)=delete | |
virtual | ~AttributeList () override |
void | AddAttribute (const OUString &sName, const OUString &sValue) |
void | Clear () |
void | RemoveAttribute (const OUString &sName) |
void | AppendAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &) |
void | SetValueByIndex (sal_Int16 i, const OUString &rValue) |
void | RemoveAttributeByIndex (sal_Int16 i) |
void | RenameAttributeByIndex (sal_Int16 i, const OUString &rNewName) |
sal_Int16 | GetIndexByName (const OUString &rName) const |
virtual sal_Int16 SAL_CALL | getLength () override |
virtual OUString SAL_CALL | getNameByIndex (sal_Int16 i) override |
virtual OUString SAL_CALL | getTypeByIndex (sal_Int16) override |
virtual OUString SAL_CALL | getTypeByName (const OUString &) 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< TagAttribute > | mAttributes |
Definition at line 35 of file attributelist.hxx.
comphelper::AttributeList::AttributeList | ( | ) |
Definition at line 42 of file attributelist.cxx.
References mAttributes.
Referenced by createClone().
|
default |
comphelper::AttributeList::AttributeList | ( | const css::uno::Reference< css::xml::sax::XAttributeList > & | rAttrList | ) |
|
delete |
|
overridevirtual |
Definition at line 56 of file attributelist.cxx.
void comphelper::AttributeList::AddAttribute | ( | const OUString & | sName, |
const OUString & | sValue | ||
) |
Definition at line 65 of file attributelist.cxx.
References mAttributes, sName, and u.
Referenced by AppendAttributeList().
void comphelper::AttributeList::AppendAttributeList | ( | const css::uno::Reference< css::xml::sax::XAttributeList > & | ) |
Definition at line 88 of file attributelist.cxx.
References AddAttribute(), getLength(), i, and mAttributes.
|
inline |
Definition at line 54 of file attributelist.hxx.
|
overridevirtual |
Definition at line 60 of file attributelist.cxx.
References AttributeList().
sal_Int16 comphelper::AttributeList::GetIndexByName | ( | const OUString & | rName | ) | const |
Definition at line 117 of file attributelist.cxx.
References mAttributes.
|
inlineoverridevirtual |
Definition at line 66 of file attributelist.hxx.
Referenced by AppendAttributeList().
|
inlineoverridevirtual |
Definition at line 70 of file attributelist.hxx.
References i.
|
inlineoverridevirtual |
Definition at line 74 of file attributelist.hxx.
|
inlineoverridevirtual |
Definition at line 75 of file attributelist.hxx.
|
inlineoverridevirtual |
Definition at line 76 of file attributelist.hxx.
References i.
|
overridevirtual |
Definition at line 31 of file attributelist.cxx.
References attribute, mAttributes, and sName.
void comphelper::AttributeList::RemoveAttribute | ( | const OUString & | sName | ) |
Definition at line 79 of file attributelist.cxx.
References mAttributes, and sName.
void comphelper::AttributeList::RemoveAttributeByIndex | ( | sal_Int16 | i | ) |
Definition at line 107 of file attributelist.cxx.
References i, and mAttributes.
void comphelper::AttributeList::RenameAttributeByIndex | ( | sal_Int16 | i, |
const OUString & | rNewName | ||
) |
Definition at line 112 of file attributelist.cxx.
References i, and mAttributes.
void comphelper::AttributeList::SetValueByIndex | ( | sal_Int16 | i, |
const OUString & | rValue | ||
) |
Definition at line 102 of file attributelist.cxx.
References i, and mAttributes.
|
private |
Definition at line 43 of file attributelist.hxx.
Referenced by AddAttribute(), AppendAttributeList(), AttributeList(), GetIndexByName(), getValueByName(), RemoveAttribute(), RemoveAttributeByIndex(), RenameAttributeByIndex(), and SetValueByIndex().