LCOV - code coverage report
Current view: top level - connectivity/source/drivers/mozab/bootstrap - MNSINIParser.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 2 6 33.3 %
Date: 2014-11-03 Functions: 2 7 28.6 %
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             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSINIPARSER_HXX
      20             : #define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSINIPARSER_HXX
      21             : 
      22             : #include <rtl/ustring.hxx>
      23             : #include <com/sun/star/io/IOException.hpp>
      24             : #include <osl/process.h>
      25             : 
      26             : #include <map>
      27             : #include <list>
      28             : 
      29             : #if OSL_DEBUG_LEVEL > 0
      30             : #include <stdio.h>
      31             : #endif
      32             : 
      33           0 : struct ini_NameValue
      34             : {
      35             :     OUString sName;
      36             :     OUString sValue;
      37             : 
      38           0 :     inline ini_NameValue()
      39           0 :         {}
      40             :     inline ini_NameValue(
      41             :         OUString const & name, OUString const & value )
      42             :         : sName( name ),
      43             :           sValue( value )
      44             :         {}
      45             : };
      46             : 
      47             : typedef std::list<
      48             :     ini_NameValue
      49             : > NameValueList;
      50             : 
      51           0 : struct ini_Section
      52             : {
      53             :     OUString sName;
      54             :     NameValueList lList;
      55             : };
      56             : typedef std::map<OUString,
      57             :                 ini_Section
      58             :                 >IniSectionMap;
      59             : 
      60             : 
      61           6 : class IniParser
      62             : {
      63             :     IniSectionMap mAllSection;
      64             : public:
      65           6 :     IniSectionMap& getAllSection() { return mAllSection; }
      66             :     IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException);
      67             : };
      68             : 
      69             : #endif
      70             : 
      71             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10