|
GCC Middle and Back End API Reference
|
#include <integer-with-unit.h>


Static Public Member Functions | |
| static int | cmp (const integer_with_unit< Unit > &lhs, const integer_with_unit< Unit > &rhs) |
Static Public Attributes | |
| static constexpr const char * | dump_type_name = Unit::dump_type_name |
Private Attributes | |
| integer | m_integer |
A unit-safe arbitrary precision integer e.g. "32_bytes" or "5_bits".
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inlinestatic |
| void ana::integer_with_unit< Unit >::dump | ( | ) | const |
| void ana::integer_with_unit< Unit >::dump_to_pp | ( | pretty_printer * | pp, |
| units::role | role = units::role::generic ) const |
|
inline |
|
inline |
|
inline |
Referenced by ana::bit_within_byte(), ana::bits_from_bytes(), and ana::round_bit_to_lowest_byte().
|
inline |
|
inline |
| std::unique_ptr< diagnostics::markup::node > ana::integer_with_unit< Unit >::make_markup_node | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::unique_ptr< json::object > ana::integer_with_unit< Unit >::to_json | ( | ) | const |
|
staticconstexpr |
|
private |