15 #if defined(WIN32) || defined(_MSC_VER) && !defined(__CYGWIN__) && !defined(__MWERKS__) 17 #define ISATTY _isatty 18 #define FILENO _fileno 33 thePrecision(precision),
34 theFlushStreamFlag(flushStream),
35 theRunningInConsoleFlag(
true)
43 if ( stdOutConsole.
size() )
70 double p =
event.getPercentComplete();
72 << std::setiosflags(std::ios::fixed)
ossimStdOutProgress theStdOutProgress
ossim_uint32 thePrecision
RTTI_DEF1(ossimStdOutProgress, "ossimStdOutProgress", ossimProcessListener)
virtual void processProgressEvent(ossimProcessProgressEvent &event)
const char * findPreference(const char *key) const
std::string::size_type size() const
bool toBool() const
String to numeric methods.
virtual void setFlushStreamFlag(bool flag)
unsigned int ossim_uint32
ossimStdOutProgress(ossim_uint32 precision=0, bool flushStream=false)
static ossimPreferences * instance()
bool getOutputMessageFlag() const
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
bool theRunningInConsoleFlag
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)