| Tide 0.1.0 | 
Unsigned integer primitive element. More...
#include <tide/uint_element.h>


| Public Member Functions | |
| UIntElement (uint32_t id, uint64_t value) | |
| Create a new unsigned integer element with no default. | |
| UIntElement (uint32_t id, uint64_t value, uint64_t default_value) | |
| Create a new unsigned integer element with a default value. | |
| virtual UIntElement & | operator= (uint64_t const &rhs) | 
| Value assignment operator. | |
| virtual std::streamsize | write_body (std::ostream &output) | 
| Element body writing. | |
| Protected Member Functions | |
| virtual std::streamsize | body_size () const | 
| Get the size of the body of this element. | |
| virtual std::streamsize | read_body (std::istream &input, std::streamsize size) | 
| Element body loading. | |
Unsigned integer primitive element.
This element stores an unsigned integer. The maximum size of the value is 2^64.
Definition at line 46 of file uint_element.h.
| tide::UIntElement::UIntElement | ( | uint32_t | id, | 
| uint64_t | value | ||
| ) | 
Create a new unsigned integer element with no default.
| [in] | id | The element's ID, as an unsigned integer up to 28 bits. | 
| [in] | value | The element's value. | 
| tide::UIntElement::UIntElement | ( | uint32_t | id, | 
| uint64_t | value, | ||
| uint64_t | default_value | ||
| ) | 
Create a new unsigned integer element with a default value.
| [in] | id | The element's ID, as an unsigned integer up to 28 bits. | 
| [in] | value | The element's value. | 
| [in] | default_value | The default value of the element. | 
| virtual std::streamsize tide::UIntElement::body_size | ( | ) | const  [protected, virtual] | 
Get the size of the body of this element.
Implements tide::Element.
| virtual UIntElement& tide::UIntElement::operator= | ( | uint64_t const & | rhs | ) |  [virtual] | 
Value assignment operator.
Reimplemented from tide::PrimitiveElement< uint64_t >.
| virtual std::streamsize tide::UIntElement::read_body | ( | std::istream & | input, | 
| std::streamsize | size | ||
| ) |  [protected, virtual] | 
Element body loading.
Implements tide::Element.
| virtual std::streamsize tide::UIntElement::write_body | ( | std::ostream & | output | ) |  [virtual] | 
Element body writing.
Implements tide::Element.
 1.7.3
 1.7.3