Represents a field with a decimal display, usually indices into an array or similar, such as segment numbers.
More...
#include <dumper.h>
|
|
| DecDisplay (std::string suffix, bool enable_signed) |
| |
|
void | DisplayValue (Dumper &dump, std::tuple< offset_t > values) override |
| |
|
virtual bool | IsMissing (std::tuple< Ts... > &values) |
| | Returns true if the specified value is such that it should not be displayed.
|
| |
|
virtual void | DisplayValue (Dumper &dump, std::tuple< Ts... > values)=0 |
| | Prints the value through the Dumper, different types of fields can be displayed in different ways.
|
| |
|
| static std::shared_ptr< DecDisplay > | Make (bool enable_signed) |
| | Creates a decimal display.
|
| |
| static std::shared_ptr< DecDisplay > | Make (std::string suffix="", bool enable_signed=false) |
| | Creates a decimal display.
|
| |
|
|
std::string | suffix |
| |
|
bool | enable_signed = false |
| |
Represents a field with a decimal display, usually indices into an array or similar, such as segment numbers.
◆ Make() [1/2]
| static std::shared_ptr< DecDisplay > Dumper::DecDisplay::Make |
( |
bool | enable_signed | ) |
|
|
inlinestatic |
Creates a decimal display.
- Parameters
-
| [in] | enable_signed | Whether the value is treated as signed or unsigned |
- Returns
- A decimal display
◆ Make() [2/2]
| static std::shared_ptr< DecDisplay > Dumper::DecDisplay::Make |
( |
std::string | suffix = "", |
|
|
bool | enable_signed = false ) |
|
inlinestatic |
Creates a decimal display.
- Parameters
-
| [in] | suffix | Text to append to the end of the decimal number |
| [in] | enable_signed | Whether the value is treated as signed or unsigned |
- Returns
- A decimal display
The documentation for this class was generated from the following files:
- src/dumper/dumper.h
- src/dumper/dumper.cc