The Battle for Wesnoth  1.15.5+dev
Public Member Functions | Private Attributes | List of all members
mariadb::decimal Class Reference

#include <decimal.hpp>

Public Member Functions

 decimal (std::string str="")
 
std::string str () const
 
f32 float32 () const
 
f64 double64 () const
 

Private Attributes

std::string mStr
 

Detailed Description

Definition at line 17 of file decimal.hpp.

Constructor & Destructor Documentation

◆ decimal()

mariadb::decimal::decimal ( std::string  str = "")
inlineexplicit

Definition at line 19 of file decimal.hpp.

Member Function Documentation

◆ double64()

f64 mariadb::decimal::double64 ( ) const
inline

Definition at line 29 of file decimal.hpp.

References mStr, and string_cast().

Referenced by TEST_F().

◆ float32()

f32 mariadb::decimal::float32 ( ) const
inline

Definition at line 25 of file decimal.hpp.

References mStr, and string_cast().

◆ str()

std::string mariadb::decimal::str ( ) const
inline

Definition at line 21 of file decimal.hpp.

References mStr.

Referenced by TEST_F().

Member Data Documentation

◆ mStr

std::string mariadb::decimal::mStr
private

Definition at line 34 of file decimal.hpp.

Referenced by double64(), float32(), and str().


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