Vcsn  2.2
Be Rational
escape.hh File Reference
#include <iosfwd>
#include <sstream>
#include <string>
#include <vector>
#include <vcsn/misc/export.hh>
Include dependency graph for escape.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 vcsn
 

Functions

std::ostream & vcsn::str_escape (std::ostream &os, const std::string &str, const char *special=nullptr)
 Output a string, escaping special characters. More...
 
std::string vcsn::str_escape (const std::string &c, const char *special=nullptr)
 Likewise, but produces a string. More...
 
template<typename T >
std::string vcsn::str_escape (const std::vector< T > &s, const char *special=nullptr)
 A container of letters. More...
 
std::ostream & vcsn::str_escape (std::ostream &os, int c, const char *special=nullptr)
 Output a character, escaping special characters. More...
 
std::string vcsn::str_escape (int c, const char *special=nullptr)
 Likewise, but produces a string. More...