# MI - Fimex: MetNoFimex::ReplaceStringObject Class Reference

# MetNoFimex::ReplaceStringObject Class Reference

`#include <ReplaceStringObject.h>`

Inheritance diagram for MetNoFimex::ReplaceStringObject:

List of all members.

## Public Member Functions

virtual | ~ReplaceStringObject ()=0
virtual std::ostream & | put (std::ostream &s) const =0
virtual void | setFormatString (const std::string &format)=0
| set the formatting string for this object
virtual void | setFormatStringAndOptions (const std::string &format, const std::vector< std::string > &options)=0
| set the formatting string and additional options for this object

## Detailed Description

Interface for objects which might be converted to different strings

## Constructor & Destructor Documentation

virtual MetNoFimex::ReplaceStringObject::~ReplaceStringObject | ( |  | ) | `[pure virtual]`

## Member Function Documentation

virtual std::ostream& MetNoFimex::ReplaceStringObject::put | ( | std::ostream & | s | ) | const`[pure virtual]`

put the formatted string to the stream

implementors are asked to implement operator<<

Implemented in MetNoFimex::ReplaceStringTimeObject.

virtual void MetNoFimex::ReplaceStringObject::setFormatString | ( | const std::string & | format | ) | `[pure virtual]`

set the formatting string for this object

Implemented in MetNoFimex::ReplaceStringTimeObject.

virtual void MetNoFimex::ReplaceStringObject::setFormatStringAndOptions | ( | const std::string & | format,
|  | const std::vector< std::string > & | options |
| ) |  |  | `[pure virtual]`

set the formatting string and additional options for this object

Implemented in MetNoFimex::ReplaceStringTimeObject.

The documentation for this class was generated from the following file:

- include/fimex/ReplaceStringObject.h