MySQL 8.0.39
Source Code Documentation
Integer_value Class Reference

Holds value/unsigned_flag for the result of val_int(), so that we can compare with operator<(), operator==() and operator<=() More...

#include <val_int_compare.h>

Public Member Functions

constexpr Integer_value (longlong val, bool unsigned_flag)
 
constexpr longlong val () const
 
constexpr bool is_unsigned () const
 
ulonglong val_unsigned () const
 
constexpr bool is_negative () const
 

Private Attributes

const longlong m_val
 
const bool m_unsigned_flag
 

Detailed Description

Holds value/unsigned_flag for the result of val_int(), so that we can compare with operator<(), operator==() and operator<=()

Constructor & Destructor Documentation

◆ Integer_value()

constexpr Integer_value::Integer_value ( longlong  val,
bool  unsigned_flag 
)
inlineconstexpr

Member Function Documentation

◆ is_negative()

constexpr bool Integer_value::is_negative ( ) const
inlineconstexpr

◆ is_unsigned()

constexpr bool Integer_value::is_unsigned ( ) const
inlineconstexpr

◆ val()

constexpr longlong Integer_value::val ( ) const
inlineconstexpr

◆ val_unsigned()

ulonglong Integer_value::val_unsigned ( ) const
inline

Member Data Documentation

◆ m_unsigned_flag

const bool Integer_value::m_unsigned_flag
private

◆ m_val

const longlong Integer_value::m_val
private

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