PVData C++ 8.0.7
Loading...
Searching...
No Matches
epics::pvData::escape Struct Reference

#include <misc/pv/typeCast.h>

Public Types

enum  style_t { C , CSV }
 

Public Member Functions

 escape (const std::string &orig)
 
escapestyle (style_t s)
 Change escaping style.
 
std::string str () const
 print to string and return. (alloc and copy)
 

Friends

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

Detailed Description

Helper to print a string with escaping

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

Definition at line 218 of file typeCast.h.

Member Enumeration Documentation

◆ style_t

enum epics::pvData::escape::style_t

Definition at line 220 of file typeCast.h.

Constructor & Destructor Documentation

◆ escape()

epics::pvData::escape::escape ( const std::string & orig)
inline

Definition at line 228 of file typeCast.h.

Member Function Documentation

◆ style()

escape & epics::pvData::escape::style ( style_t s)
inline

Change escaping style.

Definition at line 231 of file typeCast.h.


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