1 //******************************************************************* 2 // 3 // License: See top level LICENSE.txt file. 4 // 5 // Author: Garrett Potts (gpotts@imagelinks.com) 6 // 7 //************************************************************************* 8 // $Id: ossimTextProperty.h 9968 2006-11-29 14:01:53Z gpotts $ 9 #ifndef ossimTextProperty_HEADER 10 #define ossimTextProperty_HEADER 11 #include <ossim/base/ossimProperty.h> 12 13 class OSSIMDLLEXPORT ossimTextProperty : public ossimProperty 14 { 15 public: 16 ossimTextProperty(const ossimString& name = ossimString(""), 17 const ossimString& value = ossimString(""), 18 bool isMultiLine = false); 19 ossimTextProperty(const ossimTextProperty& rhs); 20 virtual ossimObject* dup()const; 21 22 bool isMulitLine()const; 23 void setMultiLineFlag(bool flag); 24 25 virtual void valueToString(ossimString& valueResult)const; 26 virtual bool setValue(const ossimString& value); 27 virtual const ossimProperty& assign(const ossimProperty& rhs); 28 29 protected: 30 ossimString theValue; 31 bool theMultiLineFlag; 32 33 TYPE_DATA 34 }; 35 36 #endif 37