Alexandria  2.16
Please provide a description of the project.
Public Member Functions | List of all members
Euclid::Table::ToStringVisitor Struct Reference

#include <AsciiWriterHelper.h>

Inheritance diagram for Euclid::Table::ToStringVisitor:
[legend]
Collaboration diagram for Euclid::Table::ToStringVisitor:
[legend]

Public Member Functions

std::string operator() (const std::string &from) const
 
template<typename T >
std::string operator() (const T &from) const
 

Detailed Description

This visitor will wrap strings between quotes so spaces (and quotes) can be used within strings. Other types will have their usual representation.

Definition at line 79 of file AsciiWriterHelper.h.

Member Function Documentation

◆ operator()() [1/2]

std::string Euclid::Table::ToStringVisitor::operator() ( const std::string from) const
inline

Definition at line 80 of file AsciiWriterHelper.h.

References Euclid::Table::quoted(), and std::stringstream::str().

Here is the call graph for this function:

◆ operator()() [2/2]

template<typename T >
std::string Euclid::Table::ToStringVisitor::operator() ( const T &  from) const
inline

Definition at line 87 of file AsciiWriterHelper.h.

References std::stringstream::str().

Here is the call graph for this function:

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