19 out <<
"theSatId = " << data.
theSatId << std::endl
20 <<
"theBandId = " << data.
theBandId << std::endl
21 <<
"theSpecId = " << data.
theSpecId << std::endl
22 <<
"theErrBias = " << data.
theErrBias << std::endl
30 <<
"theLatScale = " << data.
theLatScale << std::endl
31 <<
"theLonScale = " << data.
theLonScale << std::endl
34 out <<
"lineNumCoef = " << std::endl;
37 std::ostream_iterator<double>(out,
"\n"));
38 out <<
"lineDenCoef = " << std::endl;
41 std::ostream_iterator<double>(out,
"\n"));
42 out <<
"sampNumCoef = " << std::endl;
45 std::ostream_iterator<double>(out,
"\n"));
46 out <<
"sampDenCoef = " << std::endl;
49 std::ostream_iterator<double>(out,
"\n"));
78 in.read((
char*)test, 63);
100 else if(line.
contains(
"LINEDENCOEF"))
108 else if(line.
contains(
"SAMPNUMCOEF"))
116 else if(line.
contains(
"SAMPDENCOEF"))
141 std::vector<double>& coeff)
146 while(!in.eof()&&!in.bad()&&!done)
173 else if(lineCopy.
contains(
"BANDID"))
178 else if(lineCopy.
contains(
"SPECID"))
183 else if(lineCopy.
contains(
"BEGIN_GROUP"))
186 else if(lineCopy.
contains(
"ERRBIAS"))
188 lineCopy = lineCopy.
after(
"=");
191 else if(lineCopy.
contains(
"ERRRAND"))
193 lineCopy = lineCopy.
after(
"=");
196 else if(lineCopy.
contains(
"LINEOFFSET"))
198 lineCopy = lineCopy.
after(
"=");
201 else if(lineCopy.
contains(
"SAMPOFFSET"))
203 lineCopy = lineCopy.
after(
"=");
206 else if(lineCopy.
contains(
"LATOFFSET"))
208 lineCopy = lineCopy.
after(
"=");
211 else if(lineCopy.
contains(
"LONGOFFSET"))
213 lineCopy = lineCopy.
after(
"=");
216 else if(lineCopy.
contains(
"HEIGHTOFFSET"))
218 lineCopy = lineCopy.
after(
"=");
221 else if(lineCopy.
contains(
"LINESCALE"))
223 lineCopy = lineCopy.
after(
"=");
226 else if(lineCopy.
contains(
"SAMPSCALE"))
228 lineCopy = lineCopy.
after(
"=");
231 else if(lineCopy.
contains(
"LATSCALE"))
233 lineCopy = lineCopy.
after(
"=");
236 else if(lineCopy.
contains(
"LONGSCALE"))
238 lineCopy = lineCopy.
after(
"=");
241 else if(lineCopy.
contains(
"HEIGHTSCALE"))
243 lineCopy = lineCopy.
after(
"=");
246 else if(lineCopy.
contains(
"END_GROUP"))
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
std::istream & getline(std::istream &is, ossimString &str, char delim)
void push_back(char c)
Equivalent to insert(end(), c).
ossimString trim(const ossimString &valueToTrim=ossimString(" \\)) const
this will strip lead and trailing character passed in.
ossimErrorCode theErrorStatus
std::basic_istream< char > istream
Base class for char input streams.
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.
std::basic_ostream< char > ostream
Base class for char output streams.