Handle all operations on an unsigned integer EBML element. More...
#include <EbmlUInteger.h>
Public Member Functions | |
EbmlUInteger (uint64 DefaultValue) | |
EbmlUInteger (const EbmlUInteger &ElementToClone) | |
EbmlUInteger & | operator= (uint64 NewValue) |
virtual void | SetDefaultSize (uint64 nDefaultSize=DEFAULT_UINT_SIZE) |
virtual bool | ValidateSize () const |
filepos_t | RenderData (IOCallback &output, bool bForceRender, bool bWithDefault=false) |
filepos_t | ReadData (IOCallback &input, ScopeMode ReadFully=SCOPE_ALL_DATA) |
return the size of the data stored in the element, on reading | |
filepos_t | UpdateSize (bool bWithDefault=false, bool bForceRender=false) |
virtual bool | IsSmallerThan (const EbmlElement *Cmp) const |
default comparison for elements that can't be compared | |
operator uint8 () const | |
operator uint16 () const | |
operator uint32 () const | |
operator uint64 () const | |
void | SetDefaultValue (uint64) |
uint64 | DefaultVal () const |
bool | IsDefaultValue () const |
Protected Attributes | |
uint64 | Value |
uint64 | DefaultValue |
The actual value of the element. |
Handle all operations on an unsigned integer EBML element.
filepos_t EbmlUInteger::RenderData | ( | IOCallback & | output, | |
bool | bForceRender, | |||
bool | bWithDefault = false | |||
) | [virtual] |
Implements EbmlElement.
virtual void EbmlUInteger::SetDefaultSize | ( | uint64 | nDefaultSize = DEFAULT_UINT_SIZE |
) | [inline, virtual] |
Set the default size of the integer (usually 1,2,4 or 8)
Reimplemented from EbmlElement.