9 const std::vector<double>& )
11 theMinNumberOfCols(-1),
12 theMaxNumberOfCols(-1),
13 theMinNumberOfRows(-1),
14 theMaxNumberOfRows(-1)
21 theMinNumberOfCols(rhs.theMinNumberOfCols),
22 theMaxNumberOfCols(rhs.theMaxNumberOfCols),
23 theMinNumberOfRows(rhs.theMinNumberOfRows),
24 theMaxNumberOfRows(rhs.theMaxNumberOfRows),
25 theValues(rhs.theValues)
69 numberOfCols = nCols.toInt32();
72 for(rowIdx = 0; rowIdx < numberOfRows; ++rowIdx)
75 for(colIdx = 0; colIdx < numberOfCols; ++ colIdx)
99 valueResult = out.str();
virtual void valueToString(ossimString &valueResult) const =0
std::basic_ostringstream< char > ostringstream
Class for char output memory streams.
void setColConstraints(int minNumberOfCols, int maxNumberOfCols)
RTTI_DEF1(ossimDoubleGridProperty, "ossimDoubleGridProperty", ossimProperty)
ossimObject * dup() const
static ossimString toString(bool aValue)
Numeric to string methods.
virtual ~ossimDoubleGridProperty()
virtual const ossimProperty & assign(const ossimProperty &rhs)
virtual ossimString valueToString() const
void setContraints(int minNumberOfRows, int maxNumberOfRows, int minNumberOfCols, int maxNumberOfCols)
ossim_int32 toInt32() const
virtual const ossimProperty & assign(const ossimProperty &rhs)
virtual bool setValue(const ossimString &value)
std::vector< std::vector< double > > theValues
unsigned int ossim_uint32
ossim_uint32 getNumberOfRows() const
void setRowConstraints(int minNumberOfRows, int maxNumberOfRows)
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
std::basic_istringstream< char > istringstream
Class for char input memory streams.
double getValue(ossim_uint32 row, ossim_uint32 col) const
ossim_uint32 getNumberOfCols() const
ossimDoubleGridProperty(const ossimString &name=ossimString(""), int numberOfRows=0, int numberOfCols=0, const std::vector< double > &values=std::vector< double >())