A display for a fixed or variable length string field with formatting.
More...
#include <dumper.h>
|
|
| RichTextDisplay (std::string open_quote, std::string close_quote) |
| |
|
bool | IsMissing (std::tuple< RichText > &values) override |
| |
|
void | DisplayValue (Dumper &dump, std::tuple< RichText > values) override |
| |
|
bool | IsMissing (std::tuple< offset_t > &values) |
| |
|
void | DisplayValue (Dumper &dump, std::tuple< offset_t > values) |
| |
|
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< RichTextDisplay > | Make (std::string open_quote, std::string close_quote) |
| | Create a string display.
|
| |
| static std::shared_ptr< RichTextDisplay > | Make (std::string quote="") |
| | Create a string display.
|
| |
|
|
std::string | open_quote |
| |
|
std::string | close_quote |
| |
A display for a fixed or variable length string field with formatting.
◆ Make() [1/2]
| static std::shared_ptr< RichTextDisplay > Dumper::RichTextDisplay::Make |
( |
std::string |
open_quote, |
|
|
std::string |
close_quote |
|
) |
| |
|
inlinestatic |
Create a string display.
- Parameters
-
| [in] | open_quote | String to prefix to the string |
| [in] | close_quote | String to sufffix to the string |
- Returns
- A string display
◆ Make() [2/2]
| static std::shared_ptr< RichTextDisplay > Dumper::RichTextDisplay::Make |
( |
std::string |
quote = "" | ) |
|
|
inlinestatic |
Create a string display.
- Parameters
-
| [in] | quote | String to use to prefix and suffix to the string |
- Returns
- A string display
The documentation for this class was generated from the following files:
- src/dumper/dumper.h
- src/dumper/dumper.cc