Wolframe, 0.0.3

printFormats.hpp File Reference

Templates describing printing of structures. More...

#include <string>
#include "types/variant.hpp"

Go to the source code of this file.

Classes

class  _Wolframe::utils::PrintFormat
 Structure with info for uniform printing for a type of message (log format as compact one liner, text as multi liner) More...
 

Namespaces

 _Wolframe
 Toplevel Wolframe namespace.
 
 _Wolframe::utils
 Utility functions for parsing, handling files, allocating memory, etc. (implemented in the core library libwolframe)
 

Functions

const PrintFormat * _Wolframe::utils::logPrintFormat ()
 Get the print format for logger output. More...
 
const PrintFormat * _Wolframe::utils::ptreePrintFormat ()
 Get the print format for readable multi line output similar to property tree format. More...
 
std::string _Wolframe::utils::getLogString (const types::Variant &val, std::size_t maxsize=60)
 Get a string to log out of a variant structure with a restriction of the size of the atomic elements. More...
 

Detailed Description

Templates describing printing of structures.