GATE
numbers.hpp File Reference

Number encapsulation and numeric attribute combines. More...

Classes

class  gate::Number< T, ATTRIB >
 
class  gate::BuiltInNumber< T, ATTRIB >
 

Typedefs

typedef BuiltInNumber< int8_t > gate::Int8
 
typedef BuiltInNumber< int16_t > gate::Int16
 
typedef BuiltInNumber< int32_t > gate::Int32
 
typedef BuiltInNumber< int64_t > gate::Int64
 
typedef BuiltInNumber< uint8_t > gate::UInt8
 
typedef BuiltInNumber< uint16_t > gate::UInt16
 
typedef BuiltInNumber< uint32_t > gate::UInt32
 
typedef BuiltInNumber< uint64_t > gate::UInt64
 
typedef BuiltInNumber< real32_t > gate::Real32
 
typedef BuiltInNumber< real64_t > gate::Real64
 

Functions

String gate::numbers::to_string (int8_t const &n)
 
String gate::numbers::to_string (int16_t const &n)
 
String gate::numbers::to_string (int32_t const &n)
 
String gate::numbers::to_string (uint8_t const &n)
 
String gate::numbers::to_string (uint16_t const &n)
 
String gate::numbers::to_string (uint32_t const &n)
 
String gate::numbers::to_string (uint64_t const &n)
 
String gate::numbers::to_string (real32_t const &n, unsigned intlen, unsigned decimallen, unsigned grouplen)
 
String gate::numbers::to_string (real64_t const &n, unsigned intlen, unsigned decimallen, unsigned grouplen)
 

Detailed Description

Number encapsulation and numeric attribute combines.