CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
IntegralHexFormatterGuard (std::ostream &out) | |
Creates a formatter guard around out. More... | |
template<typename T > | |
void | output (T value) |
Outputs value to the underlying stream. More... | |
Public Member Functions inherited from catapult::utils::StreamFormatGuard | |
StreamFormatGuard (std::ostream &out, std::ios_base::fmtflags flags, char fill) | |
Creates a guard around out that sets format flags and character fill. More... | |
~StreamFormatGuard () | |
Destroys the guard and restores original stream formatting settings. More... | |
Public Member Functions inherited from catapult::utils::NonCopyable | |
constexpr | NonCopyable ()=default |
Default constructor. More... | |
~NonCopyable ()=default | |
Default destructor. More... | |
NonCopyable (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Disabled assignment operator. More... | |
Static Private Member Functions | |
template<typename T > | |
static void | OutputValue (std::ostream &out, T value, int size) |
template<typename T > | |
static void | Output (std::ostream &out, const T &value) |
Private Attributes | |
std::ostream & | m_out |
RAII class that configures a stream to print out integral hex numbers.
|
inlineexplicit |
Creates a formatter guard around out.
|
inlinestaticprivate |
|
inline |
Outputs value to the underlying stream.
|
inlinestaticprivate |
|
private |