xmscore  1.0
xms::StTemp2DigitExponents Class Reference

When constructed std::cout will temporarily output 2-digit exponents for floating point numbers. Destructor will revert back. Should be able to remove this upon changing to Visual Studio 2015. More...

Public Member Functions

 StTemp2DigitExponents ()
 Temporarily output 2-digit exponents for floating point numbers to match C++ standard. Should be able to remove all instances of this class upon moving to Visual Studio 2015.
 
 ~StTemp2DigitExponents ()
 Revert back to 3-digit exponents for pre-Visual Studio 2015.
 

Private Attributes

int m_oldOutputFormat
 Saved output format to restore to orignal value.
 

Detailed Description

When constructed std::cout will temporarily output 2-digit exponents for floating point numbers. Destructor will revert back. Should be able to remove this upon changing to Visual Studio 2015.

Definition at line 44 of file StringUtil.h.


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