LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/xmloff/source/core - SvXMLAttr.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 1 100.0 %
Date: 2013-07-09 Functions: 3 4 75.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : #ifndef _XMLOFF_SVXMLATTR_HXX
      11             : #define _XMLOFF_SVXMLATTR_HXX
      12             : 
      13             : #include <rtl/ustring.hxx>   //OUString
      14             : 
      15         187 : class SvXMLAttr {
      16             : private:
      17             :     sal_uInt16      aPrefixPos;
      18             :     OUString aLName;
      19             :     OUString aValue;
      20             : public:
      21             :     // Assuming OUString is well behaved, the default copy constructor and
      22             :     // assignment operator are fine.
      23             :     SvXMLAttr( const OUString& rLName,
      24             :                const OUString& rValue );
      25             :     SvXMLAttr( const sal_uInt16 nPos,
      26             :                const OUString& rLName,
      27             :                const OUString& rValue );
      28             :     bool operator== (const SvXMLAttr &rCmp) const;
      29             : 
      30             :     sal_uInt16       getPrefixPos() const;
      31             :     const OUString& getLName() const;
      32             :     const OUString& getValue() const;
      33             : };
      34             : 
      35             : #endif /* _XMLOFF_SVXMLATTR_HXX */
      36             : 
      37             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10