bpf::Int class

Public static variables

static fint MaxValue constexpr
static fint MinValue constexpr

Public static functions

static auto Parse(const String& str) -> fint
static auto TryParse(const String& str, fint& res) -> bool

Function documentation

static fint bpf::Int::Parse(const String& str)

Parameters
str the string to parse
Returns 32 bits int parsed from string
Exceptions
ParseException when the string cannot be converted to a number

Parse a 32 bits int from a string

static bool bpf::Int::TryParse(const String& str, fint& res)

Parameters
str the string to parse
res 32 bits int parsed from string
Returns true if successfull, false otherwise

Parse a 32 bits int from a string

Variable documentation

static fint bpf::Int::MaxValue constexpr

32 bits int max value

static fint bpf::Int::MinValue constexpr

32 bits int min value