Public Member Functions | Data Fields
EBMLNumber Class Reference

#include <EBMLNumber.hh>

Inheritance diagram for EBMLNumber:
Inheritance graph

Public Member Functions

 EBMLNumber (Boolean stripLeading1=True)
virtual ~EBMLNumber ()
u_int64_t val () const
char * hexString () const
Boolean operator== (u_int64_t arg2) const
Boolean operator!= (u_int64_t arg2) const

Data Fields

Boolean stripLeading1
unsigned len
u_int8_t data [EBML_NUMBER_MAX_LEN]

Detailed Description

Definition at line 30 of file EBMLNumber.hh.

Constructor & Destructor Documentation

◆ EBMLNumber()

EBMLNumber::EBMLNumber ( Boolean  stripLeading1 = True)

◆ ~EBMLNumber()

virtual EBMLNumber::~EBMLNumber ( )

Member Function Documentation

◆ hexString()

char * EBMLNumber::hexString ( ) const

◆ operator!=()

Boolean EBMLNumber::operator!= ( u_int64_t  arg2) const

Definition at line 38 of file EBMLNumber.hh.

38{ return !(*this == arg2); }

◆ operator==()

Boolean EBMLNumber::operator== ( u_int64_t  arg2) const

Definition at line 37 of file EBMLNumber.hh.

37{ return val() == arg2; }
u_int64_t val() const

References val().

◆ val()

u_int64_t EBMLNumber::val ( ) const

Referenced by operator==().

Field Documentation

◆ data

u_int8_t EBMLNumber::data[EBML_NUMBER_MAX_LEN]

Definition at line 43 of file EBMLNumber.hh.

◆ len

unsigned EBMLNumber::len

Definition at line 42 of file EBMLNumber.hh.

◆ stripLeading1

Boolean EBMLNumber::stripLeading1

Definition at line 41 of file EBMLNumber.hh.

The documentation for this class was generated from the following file: