OGR
gdal_csv.h
1 /******************************************************************************
2  * $Id: gdal_csv.h 8473217f278e7d65d5880d2160aea2231dc47db6 2016-04-01 08:42:13Z Even Rouault $
3  *
4  * Project: Common Portability Library
5  * Purpose: Functions for reading and scanning CSV (comma separated,
6  * variable length text files holding tables) files.
7  * Author: Frank Warmerdam, warmerdam@pobox.com
8  *
9  ******************************************************************************
10  * Copyright (c) 1999, Frank Warmerdam
11  * Copyright (c) 2010, Even Rouault <even dot rouault at mines-paris dot org>
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 
32 #ifndef GDAL_CSV_H_INCLUDED
33 #define GDAL_CSV_H_INCLUDED
34 
35 #include "cpl_port.h"
36 
38 const char * GDALDefaultCSVFilename( const char *pszBasename );
40 
41 #endif
CPLStringList::operator=
CPLStringList & operator=(char **papszListIn)
Definition: cpl_string.h:506
CPLStringList::operator[]
char * operator[](int i)
Definition: cplstringlist.cpp:473
CPLStringList::FetchNameValue
const char * FetchNameValue(const char *pszKey) const
Definition: cplstringlist.cpp:715
cpl_error.h
CPLURLAddKVP
CPLString CPLURLAddKVP(const char *pszURL, const char *pszKey, const char *pszValue)
Definition: cplstring.cpp:476
CPLString::Recode
CPLSTRING_DLL CPLString & Recode(const char *pszSrcEncoding, const char *pszDstEncoding)
Definition: cplstring.cpp:239
CPLString::Printf
CPLSTRING_DLL CPLString & Printf(const char *pszFormat,...)
Definition: cplstring.cpp:67
CPLOvPrintf
CPLString CPLOvPrintf(const char *pszFormat, va_list args)
Definition: cplstring.cpp:545
CPLStringList
String list class designed around our use of C "char**" string lists.
Definition: cpl_string.h:447
CPLCalloc
void * CPLCalloc(size_t, size_t)
Definition: cpl_conv.cpp:138
CSLFindName
int CSLFindName(CSLConstList papszStrList, const char *pszName)
Definition: cpl_string.cpp:1708
CPLsnprintf
int CPLsnprintf(char *str, size_t size, const char *fmt,...)
Definition: cpl_string.cpp:1337
CSLCount
int CSLCount(CSLConstList papszStrList)
Definition: cpl_string.cpp:147
CPLString
Convenient string class based on std::string.
Definition: cpl_string.h:336
CPLStringList::FetchBoolean
int FetchBoolean(const char *pszKey, int bDefault) const
Definition: cplstringlist.cpp:692
CPLRealloc
void * CPLRealloc(void *, size_t)
Definition: cpl_conv.cpp:225
CPLStringList::AddString
CPLStringList & AddString(const char *pszNewString)
Definition: cplstringlist.cpp:353
CPLStringList::Sort
CPLStringList & Sort()
Definition: cplstringlist.cpp:583
CPLAssert
#define CPLAssert(expr)
Definition: cpl_error.h:182
CPL_C_START
#define CPL_C_START
Definition: cpl_port.h:335
CPLString::endsWith
CPLSTRING_DLL bool endsWith(const std::string &osStr) const
Definition: cplstring.cpp:424
CPLStringList::SetNameValue
CPLStringList & SetNameValue(const char *pszKey, const char *pszValue)
Definition: cplstringlist.cpp:422
CPLTestBool
bool CPLTestBool(const char *pszValue)
Definition: cpl_string.cpp:1526
CPLStringList::InsertStringDirectly
CPLStringList & InsertStringDirectly(int nInsertAtLineNo, char *pszNewLine)
Definition: cplstringlist.cpp:791
CPLString::FormatC
CPLSTRING_DLL CPLString & FormatC(double dfValue, const char *pszFormat=nullptr)
Definition: cplstring.cpp:183
CSLConstList
char ** CSLConstList
Definition: cpl_port.h:1184
CPL_ENC_UTF8
#define CPL_ENC_UTF8
Definition: cpl_string.h:263
CPLURLGetValue
CPLString CPLURLGetValue(const char *pszURL, const char *pszKey)
Definition: cplstring.cpp:443
CPL_C_END
#define CPL_C_END
Definition: cpl_port.h:337
CPLMalloc
void * CPLMalloc(size_t)
Definition: cpl_conv.cpp:168
CPLString::toupper
CPLSTRING_DLL CPLString & toupper(void)
Definition: cplstring.cpp:331
cpl_conv.h
cpl_string.h
CPLRecode
char * CPLRecode(const char *pszSource, const char *pszSrcEncoding, const char *pszDstEncoding)
Definition: cpl_recode.cpp:81
CPLvsnprintf
int CPLvsnprintf(char *str, size_t size, const char *fmt, va_list args)
Definition: cpl_string.cpp:1140
CPLStringList::IsSorted
int IsSorted() const
Definition: cpl_string.h:534
CPLStringList::Assign
CPLStringList & Assign(char **papszListIn, int bTakeOwnership=TRUE)
Definition: cplstringlist.cpp:211
CPLError
void CPLError(CPLErr eErrClass, CPLErrorNum err_no, const char *fmt,...)
Definition: cpl_error.cpp:232
CPLString::tolower
CPLSTRING_DLL CPLString & tolower(void)
Definition: cplstring.cpp:349
CPLStringList::AddNameValue
CPLStringList & AddNameValue(const char *pszKey, const char *pszValue)
Definition: cplstringlist.cpp:373
CSLDuplicate
char ** CSLDuplicate(CSLConstList papszStrList)
Definition: cpl_string.cpp:228
CPLString::Trim
CPLSTRING_DLL CPLString & Trim()
Definition: cplstring.cpp:214
CPLString::replaceAll
CPLSTRING_DLL CPLString & replaceAll(const std::string &osBefore, const std::string &osAfter)
Definition: cplstring.cpp:366
CSLDestroy
void CSLDestroy(char **papszStrList)
Definition: cpl_string.cpp:200
CPLString::vPrintf
CPLSTRING_DLL CPLString & vPrintf(const char *pszFormat, va_list args)
Definition: cplstring.cpp:85
CPLStringList::Count
int Count() const
Definition: cplstringlist.cpp:238
CPLStringList::FetchBool
bool FetchBool(const char *pszKey, bool bDefault) const
Definition: cplstringlist.cpp:661
CPL_FORMAT_STRING
#define CPL_FORMAT_STRING(arg)
Definition: cpl_port.h:919
cpl_port.h
EQUALN
#define EQUALN(a, b, n)
Definition: cpl_port.h:557
CPLStringList::StealList
char ** StealList()
Definition: cplstringlist.cpp:509
CPLStringList::AddStringDirectly
CPLStringList & AddStringDirectly(char *pszNewString)
Definition: cplstringlist.cpp:325
CPLOPrintf
CPLString CPLOPrintf(const char *pszFormat,...)
Definition: cplstring.cpp:526
CPLStrdup
char * CPLStrdup(const char *)
Definition: cpl_conv.cpp:293
CPLStringList::Clear
CPLStringList & Clear()
Definition: cplstringlist.cpp:180
CPLStringList::FindName
int FindName(const char *pszName) const
Definition: cplstringlist.cpp:612
CPLFree
#define CPLFree
Definition: cpl_conv.h:81
CPLStringList::FetchNameValueDef
const char * FetchNameValueDef(const char *pszKey, const char *pszDefault) const
Definition: cplstringlist.cpp:745
CPLString::ifind
CPLSTRING_DLL size_t ifind(const std::string &str, size_t pos=0) const
Definition: cplstring.cpp:278
CPLE_AppDefined
#define CPLE_AppDefined
Definition: cpl_error.h:99

Generated for GDAL by doxygen 1.8.17.