bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Loading...
Searching...
No Matches
bux::C_IntegerLex Class Reference

#include <LexBase.h>

Inheritance diagram for bux::C_IntegerLex:

Public Member Functions

 C_IntegerLex (std::string_view numstr, int _radix) noexcept
 
void negate ()
 
void prependPlus ()
 
auto radix () const noexcept
 
auto & str () const noexcept
 
template<class T >
requires std::is_arithmetic_v<T>
auto value () const
 
- Public Member Functions inherited from bux::I_LexAttr
virtual ~I_LexAttr ()=0
 

Detailed Description

Definition at line 157 of file LexBase.h.

Constructor & Destructor Documentation

◆ C_IntegerLex()

bux::C_IntegerLex::C_IntegerLex ( std::string_view numstr,
int _radix )
noexcept

Definition at line 138 of file LexBase.cpp.

Member Function Documentation

◆ negate()

void bux::C_IntegerLex::negate ( )

Definition at line 143 of file LexBase.cpp.

◆ prependPlus()

void bux::C_IntegerLex::prependPlus ( )

Definition at line 148 of file LexBase.cpp.

◆ radix()

auto bux::C_IntegerLex::radix ( ) const
inlinenoexcept

Definition at line 165 of file LexBase.h.

◆ str()

auto & bux::C_IntegerLex::str ( ) const
inlinenoexcept

Definition at line 166 of file LexBase.h.

◆ value()

template<class T >
requires std::is_arithmetic_v<T>
auto bux::C_IntegerLex::value ( ) const
inline

Definition at line 168 of file LexBase.h.

References RUNTIME_ERROR.

Referenced by bux::toInt().

Here is the caller graph for this function:

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