34 #ifndef NASAKEYWORDHANDLER_H
35 #define NASAKEYWORDHANDLER_H
50 class CPL_DLL NASAKeywordHandler
55 const char *pszHeaderNext =
nullptr;
59 bool m_bStripSurroundingQuotes =
false;
63 bool bStripSurroundingQuotes =
false,
64 bool bParseList =
false,
65 bool* pbIsString =
nullptr);
67 int ReadGroup(
const std::string& osPathPrefix,
CPLJSONObject &oCur,
int nRecLevel );
69 NASAKeywordHandler(
const NASAKeywordHandler&) =
delete;
70 NASAKeywordHandler& operator=(
const NASAKeywordHandler&) =
delete;
74 ~NASAKeywordHandler();
76 void SetStripSurroundingQuotes(
bool bStripSurroundingQuotes )
77 { m_bStripSurroundingQuotes = bStripSurroundingQuotes; }
79 int Ingest(
VSILFILE *fp,
int nOffset );
81 const char *GetKeyword(
const char *pszPath,
const char *pszDefault );
82 char **GetKeywordList();
The CPLJSONArray class holds JSON object from CPLJSONDocument.
Definition: cpl_json.h:54
String list class designed around our use of C "char**" string lists.
Definition: cpl_string.h:442
Convenient string class based on std::string.
Definition: cpl_string.h:333
Interface for read and write JSON documents.
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