Definition at line 318 of file leaf.
◆ leaf_object() [1/2]
tools::wroot::leaf_object::leaf_object |
( |
std::ostream & |
a_out, |
|
|
const std::string & |
a_name, |
|
|
const iobject & |
a_obj |
|
) |
| |
|
inline |
Definition at line 349 of file leaf.
350 :parent(a_out,a_name,a_obj.store_class_name())
◆ ~leaf_object()
virtual tools::wroot::leaf_object::~leaf_object |
( |
| ) |
|
|
inlinevirtual |
Definition at line 354 of file leaf.
◆ leaf_object() [2/2]
tools::wroot::leaf_object::leaf_object |
( |
const leaf_object & |
a_from | ) |
|
|
inlineprotected |
Definition at line 356 of file leaf.
356 :ibo(a_from),parent(a_from),
m_obj(a_from.m_obj),
fVirtual(
true){}
◆ cast()
virtual void* tools::wroot::leaf_object::cast |
( |
cid |
a_class | ) |
const |
|
inlinevirtual |
◆ fill_buffer()
virtual bool tools::wroot::leaf_object::fill_buffer |
( |
buffer & |
a_buffer | ) |
const |
|
inlinevirtual |
Implements tools::wroot::base_leaf.
Definition at line 338 of file leaf.
341 if(_class.size()>255)
return false;
342 unsigned char n = (
unsigned char)_class.size();
343 if(!a_buffer.write(n))
return false;
344 if(!a_buffer.write_fast_array(_class.c_str(),n+1))
return false;
◆ id_class()
static cid tools::wroot::leaf_object::id_class |
( |
| ) |
|
|
inlinestatic |
Definition at line 321 of file leaf.
◆ id_cls()
virtual cid tools::wroot::leaf_object::id_cls |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=()
Definition at line 357 of file leaf.
◆ store_cls()
virtual const std::string& tools::wroot::leaf_object::store_cls |
( |
| ) |
const |
|
inlinevirtual |
◆ stream()
virtual bool tools::wroot::leaf_object::stream |
( |
buffer & |
a_buffer | ) |
const |
|
inlinevirtual |
Reimplemented from tools::wroot::base_leaf.
Definition at line 329 of file leaf.
331 if(!a_buffer.write_version(4,c))
return false;
333 if(!a_buffer.write(
fVirtual))
return false;
334 if(!a_buffer.set_byte_count(c))
return false;
◆ fVirtual
bool tools::wroot::leaf_object::fVirtual |
|
protected |
Definition at line 363 of file leaf.
◆ m_obj
const iobject& tools::wroot::leaf_object::m_obj |
|
protected |
Definition at line 362 of file leaf.
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/wroot/leaf