Go to the documentation of this file.
4 #ifndef tools_wroot_named
5 #define tools_wroot_named
17 if(!a_buffer.
write((
unsigned int)0))
return false;
18 static const unsigned int kNotDeleted = 0x02000000;
19 if(!a_buffer.
write(kNotDeleted))
return false;
23 inline bool Named_stream(
buffer& a_buffer,
const std::string& a_name,
const std::string& a_title) {
27 if(!a_buffer.
write(a_name))
return false;
28 if(!a_buffer.
write(a_title))
return false;
35 static unsigned int kNullTag() {
return 0;}
38 static const std::string s_v(
"TObjArray");
45 if(!a_buffer.
write(std::string(
"")))
return false;
47 if(!a_buffer.
write(nobjects))
return false;
49 if(!a_buffer.
write(lowerBound))
return false;
51 typedef typename std::vector<T*>::const_iterator it_t;
57 if(!a_buffer.
write(kNullTag()))
return false;
68 typedef typename std::vector<T*>::const_iterator it_t;
70 for(it=a_from.begin();it!=a_from.end();++it) {
71 std::vector<T*>::push_back((*it)->copy());
75 if(&a_from==
this)
return *
this;
78 typedef typename std::vector<T*>::const_iterator it_t;
80 for(it=a_from.begin();it!=a_from.end();++it) {
81 std::vector<T*>::push_back((*it)->copy());
93 static const std::string s_v(
"TList");
100 if(!a_buffer.
write(std::string(
"")))
return false;
102 if(!a_buffer.
write(nobjects))
return false;
104 typedef typename std::vector<T*>::const_iterator it_t;
109 unsigned char nch = (
unsigned char)opt.size();
110 if(!a_buffer.
write(nch))
return false;
125 short fLineColor = 1;
126 short fLineStyle = 1;
127 short fLineWidth = 1;
130 if(!a_buffer.
write(fLineColor))
return false;
131 if(!a_buffer.
write(fLineStyle))
return false;
132 if(!a_buffer.
write(fLineWidth))
return false;
138 short fFillColor = 0;
139 short fFillStyle = 101;
142 if(!a_buffer.
write(fFillColor))
return false;
143 if(!a_buffer.
write(fFillStyle))
return false;
149 short fMarkerColor = 1;
150 short fMarkerStyle = 1;
151 float fMarkerWidth = 1;
154 if(!a_buffer.
write(fMarkerColor))
return false;
155 if(!a_buffer.
write(fMarkerStyle))
return false;
156 if(!a_buffer.
write(fMarkerWidth))
return false;