The Gaudi Framework
v27r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
DataObjectHandle.cpp
Go to the documentation of this file.
1
#include "
GaudiKernel/DataObjectHandle.h
"
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
ADDR_SEP
const char ADDR_SEP
Definition:
DataObjectHandle.cpp:9
FIELD_SEP
const char FIELD_SEP
Definition:
DataObjectHandle.cpp:10
ITEM_SEP
const char ITEM_SEP
Definition:
DataObjectHandle.cpp:11
DataObjectHandle.h
GaudiKernel
src
Lib
DataObjectHandle.cpp
Generated on Tue Mar 15 2016 17:04:19 for The Gaudi Framework by
1.8.9.1