#include <exception>
#include <map>
#include <sstream>
#include <string>
#include <typeinfo>
#include <vector>
Go to the source code of this file.
◆ SniperJSON::toCppVar< std::string >()
template<>
| void SniperJSON::toCppVar< std::string > |
( |
std::string & | var | ) |
const |
|
inline |
Definition at line 173 of file Event/RawDataCnv/include/RawDataCnv/SniperJSON.h.
173 {
174 if ( m_type == 3 )
175 {
176 var = m_jvar.substr( 1, m_jvar.size() - 2 );
177 return;
178 }
179
180 throw Exception( std::string( "cannot set <std::string> with '" ) + m_jvar + "'" );
181}