LCOV - code coverage report
Current view: top level - connectivity/source/drivers/mork - 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             : 
      20             : #ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MNSINIPARSER_HXX
      21             : #define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MNSINIPARSER_HXX
      22             : 
      23             : #include <rtl/ustring.hxx>
      24             : #include <com/sun/star/io/IOException.hpp>
      25             : #include <osl/process.h>
      26             : 
      27             : #include <map>
      28             : #include <list>
      29             : 
      30             : #if OSL_DEBUG_LEVEL > 0
      31             : #include <stdio.h>
      32             : #endif
      33             : 
      34           0 : struct ini_NameValue
      35             : {
      36             :     OUString sName;
      37             :     OUString sValue;
      38             : 
      39           0 :     inline ini_NameValue()
      40           0 :         {}
      41             :     inline ini_NameValue(
      42             :         OUString const & name, OUString const & value )
      43             :         : sName( name ),
      44             :           sValue( value )
      45             :         {}
      46             : };
      47             : 
      48             : typedef std::list<
      49             :     ini_NameValue
      50             : > NameValueList;
      51             : 
      52           0 : struct ini_Section
      53             : {
      54             :     OUString sName;
      55             :     NameValueList lList;
      56             : };
      57             : typedef std::map<OUString,
      58             :                 ini_Section
      59             :                 >IniSectionMap;
      60             : 
      61             : 
      62          18 : class IniParser
      63             : {
      64             :     IniSectionMap mAllSection;
      65             : public:
      66          18 :     IniSectionMap& getAllSection() { return mAllSection; }
      67             :     IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException);
      68             : };
      69             : 
      70             : #endif
      71             : 
      72             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10