LCOV - code coverage report
Current view: top level - Core - OOPListParsing.h (source / functions) Hit Total Coverage
Test: coverxygen.info Lines: 0 7 0.0 %
Date: 2025-05-28 07:50:54 Functions: 0 0 -

          Line data    Source code
       1           0 : /*
       2             : 
       3             : OOPListParsing.h
       4             : 
       5             : Property list parser. Tries to use native Foundation property list parsing,
       6             : then falls back on Oolite ad-hoc parser for backwards-compatibility (Oolite's
       7             : XML plist parser is more lenient than Foundation on OS X).
       8             : 
       9             : Oolite
      10             : Copyright (C) 2004-2013 Giles C Williams and contributors
      11             : 
      12             : This program is free software; you can redistribute it and/or
      13             : modify it under the terms of the GNU General Public License
      14             : as published by the Free Software Foundation; either version 2
      15             : of the License, or (at your option) any later version.
      16             : 
      17             : This program is distributed in the hope that it will be useful,
      18             : but WITHOUT ANY WARRANTY; without even the implied warranty of
      19             : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      20             : GNU General Public License for more details.
      21             : 
      22             : You should have received a copy of the GNU General Public License
      23             : along with this program; if not, write to the Free Software
      24             : Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
      25             : MA 02110-1301, USA.
      26             : 
      27             : */
      28             : 
      29             : #import <Foundation/Foundation.h>
      30             : 
      31             : 
      32             : // whereFrom is an optional description of the data source, for error reporting.
      33           0 : id OOPropertyListFromData(NSData *data, NSString *whereFrom);
      34           0 : id OOPropertyListFromFile(NSString *path);
      35             : 
      36             : // Wrappers which ensure that the plist contains the right type of object.
      37           0 : NSDictionary *OODictionaryFromData(NSData *data, NSString *whereFrom);
      38           0 : NSDictionary *OODictionaryFromFile(NSString *path);
      39             : 
      40           0 : NSArray *OOArrayFromData(NSData *data, NSString *whereFrom);
      41           0 : NSArray *OOArrayFromFile(NSString *path);

Generated by: LCOV version 1.14