All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DataObjectHandle.cpp
Go to the documentation of this file.
2 
3 #include <boost/algorithm/string.hpp>
4 #include <boost/lexical_cast.hpp>
5 #include <sstream>
6 #include <csignal>
7 #include <algorithm>
8 
9 //const char ADDR_SEP = '&';
10 //const char FIELD_SEP = '|';
11 //const char ITEM_SEP = '#';
12 
13 // const std::string DataObjectHandle::NULL_ = "NULL";
14 
15 // std::ostream& operator<<( std::ostream& stream ,
16 // const DataObjectHandle& di )
17 // { return stream << di.toString() ; }
18 
19 // const std::string DataObjectHandle::toString() const {
20 // std::stringstream str;
21 
22 // str << m_key << FIELD_SEP;
23 // str << boost::lexical_cast<std::string>(m_mode);
24 
25 // return str.str();
26 // }
27 
28 // const std::string DataObjectHandle::pythonRepr() const {
29 // return "DataObjectHandle(\"" + toString() + "\")";
30 // }
31 
32 // void DataObjectHandle::fromString(const std::string& s) {
33 
34 // if(s == "") //nothing to do
35 // return;
36 
37 // std::vector<std::string> items;
38 
39 // boost::split(items, s, boost::is_any_of(boost::lexical_cast<std::string>(FIELD_SEP)), boost::token_compress_on);
40 
41 // setKey(items[0]);
42 
43 // setMode(Gaudi::DataHandle::Mode(boost::lexical_cast<int>( items[1] )));
44 
45 // }
46 
47 
48 
49 
50 
51 
52