LibreOffice Module xmloff (master)
1
xmloff
source
core
SvXMLAttr.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
10
#pragma once
11
12
#include <rtl/ustring.hxx>
13
14
class
SvXMLAttr
{
15
private
:
16
sal_uInt16
aPrefixPos
;
17
OUString
aLName
;
18
OUString
aValue
;
19
public
:
20
// Assuming OUString is well behaved, the default copy constructor and
21
// assignment operator are fine.
22
SvXMLAttr
( OUString
aLName
,
23
OUString
aValue
);
24
SvXMLAttr
(
const
sal_uInt16 nPos,
25
OUString
aLName
,
26
OUString
aValue
);
27
bool
operator==
(
const
SvXMLAttr
&rCmp)
const
;
28
29
sal_uInt16
getPrefixPos
()
const
{
return
aPrefixPos
;}
30
const
OUString&
getLName
()
const
{
return
aLName
;}
31
const
OUString&
getValue
()
const
{
return
aValue
;}
32
};
33
34
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SvXMLAttr
Definition:
SvXMLAttr.hxx:14
SvXMLAttr::getPrefixPos
sal_uInt16 getPrefixPos() const
Definition:
SvXMLAttr.hxx:29
SvXMLAttr::aValue
OUString aValue
Definition:
SvXMLAttr.hxx:18
SvXMLAttr::aPrefixPos
sal_uInt16 aPrefixPos
Definition:
SvXMLAttr.hxx:16
SvXMLAttr::getValue
const OUString & getValue() const
Definition:
SvXMLAttr.hxx:31
SvXMLAttr::aLName
OUString aLName
Definition:
SvXMLAttr.hxx:17
SvXMLAttr::SvXMLAttr
SvXMLAttr(OUString aLName, OUString aValue)
Definition:
SvXMLAttr.cxx:15
SvXMLAttr::operator==
bool operator==(const SvXMLAttr &rCmp) const
Definition:
SvXMLAttr.cxx:32
SvXMLAttr::getLName
const OUString & getLName() const
Definition:
SvXMLAttr.hxx:30
Generated on Sun Jul 30 2023 04:40:21 for LibreOffice Module xmloff (master) by
1.9.3