33 #ifndef CPL_KEYWORD_PARSER
34 #define CPL_KEYWORD_PARSER
46 class 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 );
58 CPL_DISALLOW_COPY_ASSIGN(CPLKeywordParser)
66 const
char *GetKeyword( const
char *pszPath, const
char *pszDefault=
nullptr );
67 char **GetAllKeywords() {
return papszKeywordList; }
FILE VSILFILE
Definition: cpl_vsi.h:156