33#ifndef CPL_KEYWORD_PARSER
34#define CPL_KEYWORD_PARSER
46class CPL_DLL CPLKeywordParser
48 char **papszKeywordList =
nullptr;
50 CPLString osHeaderText{};
51 const char *pszHeaderNext =
nullptr;
54 bool ReadWord( CPLString &osWord );
55 bool ReadPair( CPLString &osName, CPLString &osValue );
56 bool ReadGroup(
const char *pszPathPrefix,
int nRecLevel );
66 const char *GetKeyword(
const char *pszPath,
const char *pszDefault=
nullptr );
67 char **GetAllKeywords() {
return papszKeywordList; }
#define CPL_DISALLOW_COPY_ASSIGN(ClassName)
Helper to remove the copy and assignment constructors so that the compiler will not generate the defa...
Definition cpl_port.h:955
Various convenience functions for working with strings and string lists.
FILE VSILFILE
Opaque type for a FILE that implements the VSIVirtualHandle API.
Definition cpl_vsi.h:156