OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimCplUtil.h
Go to the documentation of this file.
1 /*
2  * Copied from "gdal" project. See licence below.
3  *
4  * Global functions for gdal code compatibility.
5  *
6  * Project: ISO 8211 Access
7  * Purpose: Main declarations for ISO 8211.
8  * Author: Frank Warmerdam, warmerdam@pobox.com
9  *
10  ******************************************************************************
11  * Copyright (c) 1999, Frank Warmerdam <warmerdam@pobox.com>
12  *
13  * Permission is hereby granted, free of charge, to any person obtaining a
14  * copy of this software and associated documentation files (the "Software"),
15  * to deal in the Software without restriction, including without limitation
16  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17  * and/or sell copies of the Software, and to permit persons to whom the
18  * Software is furnished to do so, subject to the following conditions:
19  *
20  * The above copyright notice and this permission notice shall be included
21  * in all copies or substantial portions of the Software.
22  *
23  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29  * DEALINGS IN THE SOFTWARE.
30  ******************************************************************************
31  * $Id: ossimCplUtil.h 13013 2008-06-10 13:34:01Z dburken $
32  */
33 
34 #ifndef ossimCplUtil_HEADER
35 #define ossimCplUtil_HEADER
36 
37 #include <cstdio> /* to pick up "size_t" */
39 
40 
41 OSSIMDLLEXPORT char** ossimCSLTokenizeString(const char *pszString );
42 
43 OSSIMDLLEXPORT char** ossimCSLTokenizeStringComplex(const char *pszString,
44  const char *pszDelimiter,
45  int bHonourStrings,
46  int bAllowEmptyTokens );
47 
48 OSSIMDLLEXPORT char** ossimCSLTokenizeString2( const char *pszString,
49  const char *pszDelimeter,
50  int nCSLTFlags );
51 
52 OSSIMDLLEXPORT int ossimCSLCount(char **papszStrList);
53 
54 OSSIMDLLEXPORT void ossimCSLDestroy(char **papszStrList);
55 
56 OSSIMDLLEXPORT void* ossimCPLRealloc( void * pData, size_t nNewSize );
57 
58 #endif /* ossimCplUtil_HEADER */
#define OSSIMDLLEXPORT
OSSIMDLLEXPORT int ossimCSLCount(char **papszStrList)
OSSIMDLLEXPORT void ossimCSLDestroy(char **papszStrList)
OSSIMDLLEXPORT char ** ossimCSLTokenizeString2(const char *pszString, const char *pszDelimeter, int nCSLTFlags)
OSSIMDLLEXPORT char ** ossimCSLTokenizeStringComplex(const char *pszString, const char *pszDelimiter, int bHonourStrings, int bAllowEmptyTokens)
OSSIMDLLEXPORT char ** ossimCSLTokenizeString(const char *pszString)
OSSIMDLLEXPORT void * ossimCPLRealloc(void *pData, size_t nNewSize)