Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
inexor::util::quoted Struct Reference

A simple helper class to allow you writing inexor::util::quoted(string) which automatically adds quotation marks. More...

#include <Logging.hpp>

Inheritance diagram for inexor::util::quoted:
inexor::util::embraced

Public Member Functions

 quoted (const char *text)
 
 operator std::string () const
 Construct a std::string from this class. More...
 

Public Attributes

const std::string _text
 
const char * _leading
 
const char * _trailing
 

Detailed Description

A simple helper class to allow you writing inexor::util::quoted(string) which automatically adds quotation marks.

When either constructing an std::string from it or << it into a stream (e.g. LOG()).

Constructor & Destructor Documentation

inexor::util::quoted::quoted ( const char *  text)
inline

Member Function Documentation

inexor::util::embraced::operator std::string ( ) const
inlineinherited

Construct a std::string from this class.

References inexor::util::embraced::_leading, inexor::util::embraced::_text, and inexor::util::embraced::_trailing.

Member Data Documentation

const char* inexor::util::embraced::_leading
inherited
const std::string inexor::util::embraced::_text
inherited
const char * inexor::util::embraced::_trailing
inherited

The documentation for this struct was generated from the following file: