16#ifndef CPL_KEYWORD_PARSER
17#define CPL_KEYWORD_PARSER
29class CPL_DLL CPLKeywordParser
31 char **papszKeywordList =
nullptr;
33 CPLString osHeaderText{};
34 const char *pszHeaderNext =
nullptr;
37 bool ReadWord(CPLString &osWord);
38 bool ReadPair(CPLString &osName, CPLString &osValue);
39 bool ReadGroup(
const char *pszPathPrefix,
int nRecLevel);
49 const char *GetKeyword(
const char *pszPath,
50 const char *pszDefault =
nullptr);
52 char **GetAllKeywords()
54 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:936
Various convenience functions for working with strings and string lists.
struct VSIVirtualHandle VSILFILE
Opaque type for a FILE that implements the VSIVirtualHandle API.
Definition cpl_vsi.h:141