Handle all operations on a signed integer EBML element. More...
#include <EbmlSInteger.h>
Public Member Functions | |
EbmlSInteger (int64 DefaultValue) | |
EbmlSInteger (const EbmlSInteger &ElementToClone) | |
EbmlSInteger & | operator= (int64 NewValue) |
virtual void | SetDefaultSize (uint64 nDefaultSize=DEFAULT_INT_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 int8 () | |
operator int16 () | |
operator int32 () | |
operator int64 () | |
void | SetDefaultValue (int64 aValue) |
int64 | DefaultVal () const |
bool | IsDefaultValue () const |
Protected Attributes | |
int64 | Value |
int64 | DefaultValue |
The actual value of the element. |
Handle all operations on a signed integer EBML element.
filepos_t EbmlSInteger::RenderData | ( | IOCallback & | output, | |
bool | bForceRender, | |||
bool | bWithDefault = false | |||
) | [virtual] |
Implements EbmlElement.
virtual void EbmlSInteger::SetDefaultSize | ( | uint64 | nDefaultSize = DEFAULT_INT_SIZE |
) | [inline, virtual] |
Set the default size of the integer (usually 1,2,4 or 8)
Reimplemented from EbmlElement.