Struct escape

Struct Documentation

struct escape

Helper to print a string with escaping

strm<<'"'<<escape(astring)<<'"' 

Public Types

enum style_t

Values:

enumerator C
enumerator CSV

Public Functions

inline escape(const std::string &orig)
~escape()
inline escape &style(style_t s)

Change escaping style.

std::string str() const

print to string and return. (alloc and copy)

Friends

friend epicsShareFunc std::ostream & operator<< (std::ostream &strm, const escape &Q)