OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <cstdlib>
#include <cstring>
#include <ossim/base/ossimCplUtil.h>
#include <ossim/base/ossimString.h>
Go to the source code of this file.
Macros | |
#define | OSSIM_CSLT_HONOURSTRINGS 0x0001 |
#define | OSSIM_CSLT_ALLOWEMPTYTOKENS 0x0002 |
#define | OSSIM_CSLT_PRESERVEQUOTES 0x0004 |
#define | OSSIM_CSLT_PRESERVEESCAPES 0x0008 |
Functions | |
int | ossimCSLFindString (char **papszList, const char *pszTarget) |
char ** | ossimCSLTokenizeString (const char *pszString) |
char ** | ossimCSLTokenizeStringComplex (const char *pszString, const char *pszDelimiters, int bHonourStrings, int bAllowEmptyTokens) |
char ** | ossimCSLTokenizeString2 (const char *pszString, const char *pszDelimiters, int nCSLTFlags) |
int | ossimCSLCount (char **papszStrList) |
void | ossimCSLDestroy (char **papszStrList) |
void * | ossimCPLRealloc (void *pData, size_t nNewSize) |
#define OSSIM_CSLT_ALLOWEMPTYTOKENS 0x0002 |
Definition at line 44 of file ossimCplUtil.cpp.
Referenced by ossimCSLTokenizeString2(), and ossimCSLTokenizeStringComplex().
#define OSSIM_CSLT_HONOURSTRINGS 0x0001 |
Definition at line 41 of file ossimCplUtil.cpp.
Referenced by ossimCSLTokenizeString(), ossimCSLTokenizeString2(), and ossimCSLTokenizeStringComplex().
#define OSSIM_CSLT_PRESERVEESCAPES 0x0008 |
Definition at line 50 of file ossimCplUtil.cpp.
Referenced by ossimCSLTokenizeString2().
#define OSSIM_CSLT_PRESERVEQUOTES 0x0004 |
Definition at line 47 of file ossimCplUtil.cpp.
Referenced by ossimCSLTokenizeString2().
void* ossimCPLRealloc | ( | void * | pData, |
size_t | nNewSize | ||
) |
Definition at line 283 of file ossimCplUtil.cpp.
Referenced by ossimDDFModule::AddCloneRecord(), ossimDDFModule::AddField(), ossimCSLTokenizeString2(), and ossimDDFRecord::ResizeField().
int ossimCSLCount | ( | char ** | papszStrList | ) |
Definition at line 245 of file ossimCplUtil.cpp.
Referenced by ossimDDFFieldDefn::BuildSubfields().
void ossimCSLDestroy | ( | char ** | papszStrList | ) |
Definition at line 266 of file ossimCplUtil.cpp.
Referenced by ossimDDFFieldDefn::ApplyFormats(), and ossimDDFFieldDefn::BuildSubfields().
int ossimCSLFindString | ( | char ** | papszList, |
const char * | pszTarget | ||
) |
Definition at line 61 of file ossimCplUtil.cpp.
char** ossimCSLTokenizeString | ( | const char * | pszString | ) |
Definition at line 86 of file ossimCplUtil.cpp.
References OSSIM_CSLT_HONOURSTRINGS, and ossimCSLTokenizeString2().
char** ossimCSLTokenizeString2 | ( | const char * | pszString, |
const char * | pszDelimiters, | ||
int | nCSLTFlags | ||
) |
Definition at line 119 of file ossimCplUtil.cpp.
References OSSIM_CSLT_ALLOWEMPTYTOKENS, OSSIM_CSLT_HONOURSTRINGS, OSSIM_CSLT_PRESERVEESCAPES, OSSIM_CSLT_PRESERVEQUOTES, and ossimCPLRealloc().
Referenced by ossimCSLTokenizeString(), and ossimCSLTokenizeStringComplex().
char** ossimCSLTokenizeStringComplex | ( | const char * | pszString, |
const char * | pszDelimiters, | ||
int | bHonourStrings, | ||
int | bAllowEmptyTokens | ||
) |
Definition at line 97 of file ossimCplUtil.cpp.
References OSSIM_CSLT_ALLOWEMPTYTOKENS, OSSIM_CSLT_HONOURSTRINGS, and ossimCSLTokenizeString2().
Referenced by ossimDDFFieldDefn::ApplyFormats(), and ossimDDFFieldDefn::BuildSubfields().