26 <<
"ossimQuickbirdTile::open entered:" 27 <<
"\ntileFile: " << tileFile
45 in.read((
char*)testBuf, 50);
48 testString = testString.
upcase();
49 if(testString.
contains(
"BEGIN_GROUP")||
58 while(!in.eof()&&!in.bad()&&(in.good())&&
67 if(name ==
"BEGIN_GROUP")
71 else if(name ==
"BANDID")
75 else if(name ==
"NUMTILES")
79 else if(name ==
"TILESIZE")
84 <<
"Key " << name <<
" not parsed!" 88 else if(name ==
"TILESIZEX")
93 <<
"Key " << name <<
" not parsed!" 97 else if(name ==
"TILESIZEY")
102 <<
"Key " << name <<
" not parsed!" 106 else if(name ==
"TILEOVERLAP")
111 <<
"Key " << name <<
" not parsed!" 115 else if(name ==
"TILEUNITS")
120 <<
"Key " << name <<
" not parsed!" 124 else if (name ==
"END;")
133 <<
"key " << name <<
" not parsed! Exiting with error..." 145 <<
"ossimQuickbirdTile::open return value:" void parseTileGroup(std::istream &in, const ossimString &tileName)
ossimString before(const ossimString &str, std::string::size_type pos=0) const
METHOD: before(str, pos) Returns string beginning at pos and ending one before the token str If strin...
static ossimString upcase(const ossimString &aString)
static const ossimErrorCode OSSIM_OK
std::basic_ifstream< char > ifstream
Class for char input file streams.
bool contains(char aChar) const
ossim_int32 theNumberOfTiles
std::istream & getline(std::istream &is, ossimString &str, char delim)
void parseNameValue(ossimString &name, ossimString &value, const ossimString &line) const
ossim_int32 toInt32() const
ossimString trim(const ossimString &valueToTrim=ossimString(" \\)) const
this will strip lead and trailing character passed in.
ossimErrorCode theErrorStatus
virtual void setErrorStatus() const
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
ossimString after(const ossimString &str, std::string::size_type pos=0) const
METHOD: after(str, pos) Returns string immediately after the token str.
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
const std::string & string() const