|
inlib
1.2.0
|


Public Member Functions | |
| virtual const std::string & | store_cls () const |
| virtual bool | stream (buffer &a_buffer) const |
| virtual bool | fill_basket (buffer &a_buffer) const |
| leaf (std::ostream &a_out, wroot::branch &a_branch, const std::string &a_name, const std::string &a_title) | |
| virtual | ~leaf () |
| void | fill (const T &a_value) |
Protected Member Functions | |
| leaf (const leaf &a_from) | |
| leaf & | operator= (const leaf &) |
Protected Attributes | |
| T | m_min |
| T | m_max |
| T | m_value |
| inlib::wroot::leaf< T >::leaf | ( | std::ostream & | a_out, |
| wroot::branch & | a_branch, | ||
| const std::string & | a_name, | ||
| const std::string & | a_title | ||
| ) | [inline] |
| virtual inlib::wroot::leaf< T >::~leaf | ( | ) | [inline, virtual] |
| inlib::wroot::leaf< T >::leaf | ( | const leaf< T > & | a_from | ) | [inline, protected] |
| void inlib::wroot::leaf< T >::fill | ( | const T & | a_value | ) | [inline] |
| virtual bool inlib::wroot::leaf< T >::fill_basket | ( | buffer & | a_buffer | ) | const [inline, virtual] |
Implements inlib::wroot::base_leaf.
Definition at line 49 of file leaf.
{
return a_buffer.write<T>(m_value);
}
| leaf& inlib::wroot::leaf< T >::operator= | ( | const leaf< T > & | ) | [inline, protected] |
| virtual const std::string& inlib::wroot::leaf< T >::store_cls | ( | ) | const [inline, virtual] |
| virtual bool inlib::wroot::leaf< T >::stream | ( | buffer & | a_buffer | ) | const [inline, virtual] |
Reimplemented from inlib::wroot::base_leaf.
Definition at line 39 of file leaf.
{
unsigned int c;
if(!a_buffer.write_version(1,c)) return false;
if(!base_leaf::stream(a_buffer)) return false;
if(!a_buffer.write(m_min)) return false;
if(!a_buffer.write(m_max)) return false;
if(!a_buffer.set_byte_count(c)) return false;
return true;
}
T inlib::wroot::leaf< T >::m_max [protected] |
T inlib::wroot::leaf< T >::m_min [protected] |
T inlib::wroot::leaf< T >::m_value [protected] |
1.7.5.1