77 std::string prefix =
"";
86 if ( (c !=
'[') && (c !=
'(') )
106 const std::string& prefix,
107 const std::string&
object,
112 result =
parseName( is, prefix,
object, kwl );
114 if ( result && is.good() )
126 parseParam( is, prefix,
object, myObjectIndex, paramIndex, kwl );
128 else if ( (c ==
']') || (c ==
')') )
141 const std::string& prefix,
142 const std::string&
object,
197 const std::string& prefix,
198 const std::string&
object,
212 if ( (i ==
',') || (i ==
']') || (i ==
')') )
239 if ( (c ==
'[') || (c ==
'(') )
241 std::string myPrefix;
254 if ( name ==
"PARAMETER" )
Represents serializable keyword/value map.
static ossimString toString(bool aValue)
Numeric to string methods.
void addPair(const std::string &key, const std::string &value, bool overwrite=true)
ossimWkt()
default constructor
unsigned int ossim_uint32
bool parseParam(std::istringstream &is, const std::string &prefix, const std::string &object, ossim_uint32 &objectIndex, ossim_uint32 ¶mIndex, ossimKeywordlist &kwl)
bool parseName(std::istringstream &is, const std::string &prefix, const std::string &object, ossimKeywordlist &kwl)
bool parseObject(std::istringstream &is, const std::string &prefix, const std::string &object, ossimKeywordlist &kwl)
bool parseWktGroup(std::istringstream &is, ossimKeywordlist &kwl)
std::basic_istringstream< char > istringstream
Class for char input memory streams.
bool parse(const std::string &wkt)
Parses string to keyword list.
const ossimKeywordlist & getKwl() const
const std::string & string() const