LCOV - code coverage report
Current view: top level - libreoffice/xmloff/source/core - SvXMLAttr.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 Functions: 0 3 0.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             :  * Version: MPL 1.1 / GPLv3+ / LGPLv3+
       4             :  *
       5             :  * The contents of this file are subject to the Mozilla Public License Version
       6             :  * 1.1 (the "License"); you may not use this file except in compliance with
       7             :  * the License or as specified alternatively below. You may obtain a copy of
       8             :  * the License at http://www.mozilla.org/MPL/
       9             :  *
      10             :  * Software distributed under the License is distributed on an "AS IS" basis,
      11             :  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
      12             :  * for the specific language governing rights and limitations under the
      13             :  * License.
      14             :  *
      15             :  * The Initial Developer of the Original Code is
      16             :  *       Nigel Hawkins  - n.hawkins@gmx.com
      17             :  * Portions created by the Initial Developer are Copyright (C) 2011 the
      18             :  * Initial Developer. All Rights Reserved.
      19             :  *
      20             :  * Major Contributor(s):
      21             :  *
      22             :  * For minor contributions see the git repository.
      23             :  *
      24             :  * Alternatively, the contents of this file may be used under the terms of
      25             :  * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
      26             :  * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
      27             :  * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
      28             :  * instead of those above.
      29             :  */
      30             : 
      31             : #ifndef _XMLOFF_SVXMLATTR_HXX
      32             : #define _XMLOFF_SVXMLATTR_HXX
      33             : 
      34             : #include <rtl/ustring.hxx>   //rtl::OUString
      35             : 
      36           0 : class SvXMLAttr {
      37             : private:
      38             :     sal_uInt16      aPrefixPos;
      39             :     rtl::OUString aLName;
      40             :     rtl::OUString aValue;
      41             : public:
      42             :     // Assuming OUString is well behaved, the default copy constructor and
      43             :     // assignment operator are fine.
      44             :     SvXMLAttr( const rtl::OUString& rLName,
      45             :                const rtl::OUString& rValue );
      46             :     SvXMLAttr( const sal_uInt16 nPos,
      47             :                const rtl::OUString& rLName,
      48             :                const rtl::OUString& rValue );
      49             :     bool operator== (const SvXMLAttr &rCmp) const;
      50             : 
      51             :     sal_uInt16       getPrefixPos() const;
      52             :     const rtl::OUString& getLName() const;
      53             :     const rtl::OUString& getValue() const;
      54             : };
      55             : 
      56             : #endif /* _XMLOFF_SVXMLATTR_HXX */
      57             : 
      58             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10