ewmscp  ..
Public Member Functions | Protected Attributes | List of all members
options::originalStringKeeper Class Reference

interface class that is used for options where the original string rather than the streamed value is to be written into config files. More...

#include <Options.h>

Inheritance diagram for options::originalStringKeeper:
[legend]
Collaboration diagram for options::originalStringKeeper:
[legend]

Public Member Functions

void fWriteOriginalString (std::ostream &aStream) const
 
const std::string & fGetOriginalString () const
 

Protected Attributes

std::string lOriginalString
 

Detailed Description

interface class that is used for options where the original string rather than the streamed value is to be written into config files.

This is to be used when the streaming would loose important information, like having a time point given as 'yesterday' which would loose its relative meaning.

Definition at line 864 of file Options.h.

Member Function Documentation

◆ fGetOriginalString()

const std::string& options::originalStringKeeper::fGetOriginalString ( ) const
inline

Definition at line 869 of file Options.h.

869  {
870  return lOriginalString;
871  };

◆ fWriteOriginalString()

void options::originalStringKeeper::fWriteOriginalString ( std::ostream &  aStream) const

Definition at line 989 of file Options.cpp.

989  {
990  aStream << lOriginalString;
991  }

References lOriginalString.

Referenced by options::base::fWriteCfgLines().

Here is the caller graph for this function:

Member Data Documentation

◆ lOriginalString

std::string options::originalStringKeeper::lOriginalString
protected

Definition at line 866 of file Options.h.

Referenced by fWriteOriginalString().


The documentation for this class was generated from the following files:
options::originalStringKeeper::lOriginalString
std::string lOriginalString
Definition: Options.h:866