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:495
CPLStringList::operator[]
char * operator[](int i)
Definition: cplstringlist.cpp:453
CPLStringList::FetchNameValue
const char * FetchNameValue(const char *pszKey) const
Definition: cplstringlist.cpp:695
cpl_error.h
CPLURLAddKVP
CPLString CPLURLAddKVP(const char *pszURL, const char *pszKey, const char *pszValue)
Definition: cplstring.cpp:455
CPLEscapeString
char * CPLEscapeString(const char *pszString, int nLength, int nScheme)
Definition: cpl_string.cpp:2036
CPLString::Recode
CPLSTRING_METHOD_DLL CPLString & Recode(const char *pszSrcEncoding, const char *pszDstEncoding)
Definition: cplstring.cpp:227
CPLString::Printf
CPLSTRING_METHOD_DLL CPLString & Printf(const char *pszFormat,...)
Definition: cplstring.cpp:59
CPLOvPrintf
CPLString CPLOvPrintf(const char *pszFormat, va_list args)
Definition: cplstring.cpp:524
CPLStringList
String list class designed around our use of C "char**" string lists.
Definition: cpl_string.h:439
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
CPLES_SQLI
#define CPLES_SQLI
Definition: cpl_string.h:181
CSLCount
int CSLCount(CSLConstList papszStrList)
Definition: cpl_string.cpp:147
CPLString
Convenient string class based on std::string.
Definition: cpl_string.h:330
CPLStringList::FetchBoolean
int FetchBoolean(const char *pszKey, int bDefault) const
Definition: cplstringlist.cpp:672
CPLRealloc
void * CPLRealloc(void *, size_t)
Definition: cpl_conv.cpp:225
CPLStringList::AddString
CPLStringList & AddString(const char *pszNewString)
Definition: cplstringlist.cpp:333
CPLStringList::Sort
CPLStringList & Sort()
Definition: cplstringlist.cpp:563
CPLAssert
#define CPLAssert(expr)
Definition: cpl_error.h:186
CPL_C_START
#define CPL_C_START
Definition: cpl_port.h:337
CPLString::endsWith
CPLSTRING_METHOD_DLL bool endsWith(const std::string &osStr) const
Definition: cplstring.cpp:403
CPLStringList::SetNameValue
CPLStringList & SetNameValue(const char *pszKey, const char *pszValue)
Definition: cplstringlist.cpp:402
CPLTestBool
bool CPLTestBool(const char *pszValue)
Definition: cpl_string.cpp:1526
CPLStringList::InsertStringDirectly
CPLStringList & InsertStringDirectly(int nInsertAtLineNo, char *pszNewLine)
Definition: cplstringlist.cpp:771
CPLString::FormatC
CPLSTRING_METHOD_DLL CPLString & FormatC(double dfValue, const char *pszFormat=nullptr)
Definition: cplstring.cpp:173
CSLConstList
char ** CSLConstList
Definition: cpl_port.h:1194
CPL_ENC_UTF8
#define CPL_ENC_UTF8
Definition: cpl_string.h:265
CPLURLGetValue
CPLString CPLURLGetValue(const char *pszURL, const char *pszKey)
Definition: cplstring.cpp:422
CPL_C_END
#define CPL_C_END
Definition: cpl_port.h:339
CPLMalloc
void * CPLMalloc(size_t)
Definition: cpl_conv.cpp:168
CPLString::toupper
CPLSTRING_METHOD_DLL CPLString & toupper(void)
Definition: cplstring.cpp:316
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:523
CPLStringList::Assign
CPLStringList & Assign(char **papszListIn, int bTakeOwnership=TRUE)
Definition: cplstringlist.cpp:191
CPLError
void CPLError(CPLErr eErrClass, CPLErrorNum err_no, const char *fmt,...)
Definition: cpl_error.cpp:308
CPLString::tolower
CPLSTRING_METHOD_DLL CPLString & tolower(void)
Definition: cplstring.cpp:333
CPLStringList::AddNameValue
CPLStringList & AddNameValue(const char *pszKey, const char *pszValue)
Definition: cplstringlist.cpp:353
CSLDuplicate
char ** CSLDuplicate(CSLConstList papszStrList)
Definition: cpl_string.cpp:228
CPLString::Trim
CPLSTRING_METHOD_DLL CPLString & Trim()
Definition: cplstring.cpp:203
CPLString::replaceAll
CPLSTRING_METHOD_DLL CPLString & replaceAll(const std::string &osBefore, const std::string &osAfter)
Definition: cplstring.cpp:349
CSLDestroy
void CSLDestroy(char **papszStrList)
Definition: cpl_string.cpp:200
CPLString::vPrintf
CPLSTRING_METHOD_DLL CPLString & vPrintf(const char *pszFormat, va_list args)
Definition: cplstring.cpp:76
CPLStringList::Count
int Count() const
Definition: cplstringlist.cpp:218
CPLStringList::FetchBool
bool FetchBool(const char *pszKey, bool bDefault) const
Definition: cplstringlist.cpp:641
CPL_FORMAT_STRING
#define CPL_FORMAT_STRING(arg)
Definition: cpl_port.h:929
cpl_port.h
EQUALN
#define EQUALN(a, b, n)
Definition: cpl_port.h:567
CPLStringList::StealList
char ** StealList()
Definition: cplstringlist.cpp:489
CPLStringList::AddStringDirectly
CPLStringList & AddStringDirectly(char *pszNewString)
Definition: cplstringlist.cpp:305
CPLOPrintf
CPLString CPLOPrintf(const char *pszFormat,...)
Definition: cplstring.cpp:505
CPLStrdup
char * CPLStrdup(const char *)
Definition: cpl_conv.cpp:293
CPLStringList::Clear
CPLStringList & Clear()
Definition: cplstringlist.cpp:160
CPLStringList::FindName
int FindName(const char *pszName) const
Definition: cplstringlist.cpp:592
CPLQuotedSQLIdentifier
CPLString CPLQuotedSQLIdentifier(const char *pszIdent)
Definition: cplstring.cpp:537
CPLFree
#define CPLFree
Definition: cpl_conv.h:81
CPLStringList::FetchNameValueDef
const char * FetchNameValueDef(const char *pszKey, const char *pszDefault) const
Definition: cplstringlist.cpp:725
CPLString::ifind
CPLSTRING_METHOD_DLL size_t ifind(const std::string &str, size_t pos=0) const
Definition: cplstring.cpp:265
CPLE_AppDefined
#define CPLE_AppDefined
Definition: cpl_error.h:99

Generated for GDAL by doxygen 1.8.20.