Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::place_parts::number_t Class Reference

Public Types

enum  kind { kind::none, kind::integer, kind::real, kind::percent }
 

Public Member Functions

 number_t ()
 
void reset () noexcept
 
bool is_negative () const
 
bool empty () const noexcept
 
kind kind_of () const noexcept
 
double get_value (int ref_percent) const noexcept
 
int integer () const noexcept
 
double real () const noexcept
 
void assign (int i) noexcept
 
void assign (double d) noexcept
 
void assign_percent (double d) noexcept
 

Member Enumeration Documentation

Enumerator
none 
integer 
real 
percent 

Constructor & Destructor Documentation

nana::place_parts::number_t::number_t ( )
inline

Member Function Documentation

void nana::place_parts::number_t::assign ( int  i)
inlinenoexcept
void nana::place_parts::number_t::assign ( double  d)
inlinenoexcept
void nana::place_parts::number_t::assign_percent ( double  d)
inlinenoexcept
bool nana::place_parts::number_t::empty ( ) const
inlinenoexcept
double nana::place_parts::number_t::get_value ( int  ref_percent) const
inlinenoexcept
int nana::place_parts::number_t::integer ( ) const
inlinenoexcept
bool nana::place_parts::number_t::is_negative ( ) const
inline
kind nana::place_parts::number_t::kind_of ( ) const
inlinenoexcept
double nana::place_parts::number_t::real ( ) const
inlinenoexcept
void nana::place_parts::number_t::reset ( )
inlinenoexcept