vdr
2.4.1
|
#include <util.h>
Classes | |
class | Data |
class | DataForeignData |
class | DataOwnData |
Public Member Functions | |
CharArray () | |
CharArray (const CharArray &source) | |
CharArray & | operator= (const CharArray &source) |
~CharArray () | |
void | assign (const unsigned char *data, int size, bool doCopy=true) |
bool | operator== (const char *string) const |
bool | operator== (const CharArray &other) const |
CharArray | operator+ (const int offset) const |
const unsigned char * | getData () const |
const unsigned char * | getData (int offset) const |
template<typename T > | |
const T * | getData () const |
template<typename T > | |
const T * | getData (int offset) const |
template<typename T > | |
void | setPointerAndOffset (const T *&p, int &offset) const |
unsigned char | operator[] (const int index) const |
int | getLength () const |
u_int16_t | TwoBytes (const int index) const |
u_int32_t | FourBytes (const int index) const |
bool | isValid () const |
bool | checkSize (int offset) |
void | addOffset (int offset) |
Private Attributes | |
Data * | data_ |
int | off |
SI::CharArray::CharArray | ( | ) |
Definition at line 30 of file util.c.
References SI::CharArray::Data::count_, and data_.
|
inline |
void SI::CharArray::assign | ( | const unsigned char * | data, |
int | size, | ||
bool | doCopy = true |
||
) |
|
inline |
Definition at line 63 of file util.h.
References data_, off, and SI::CharArray::Data::valid.
Referenced by SI::Object::Object().
|
inline |
Definition at line 60 of file util.h.
References SI::CharArray::Data::data, data_, SI::CharArray::Data::FourBytes(), and off.
|
inline |
Definition at line 51 of file util.h.
References SI::CharArray::Data::data, data_, and off.
Referenced by cCaDescriptors::AddCaDescriptor(), cEIT::cEIT(), SI::CaDescriptor::Parse(), SI::ComponentDescriptor::Parse(), SI::LocalTimeOffsetDescriptor::LocalTimeOffset::Parse(), SI::MHP_TransportProtocolDescriptor::UrlExtensionEntry::Parse(), SI::MHP_SimpleApplicationLocationDescriptor::Parse(), and setPointerAndOffset().
|
inline |
Definition at line 53 of file util.h.
References SI::CharArray::Data::data, data_, and off.
|
inline |
Definition at line 52 of file util.h.
References SI::CharArray::Data::data, data_, and off.
|
inline |
Definition at line 54 of file util.h.
References SI::CharArray::Data::data, data_, and off.
|
inline |
Definition at line 58 of file util.h.
References data_, and SI::CharArray::Data::size.
Referenced by cCaDescriptors::AddCaDescriptor(), and cEIT::cEIT().
|
inline |
Definition at line 62 of file util.h.
References data_, and SI::CharArray::Data::valid.
bool SI::CharArray::operator== | ( | const CharArray & | other | ) | const |
|
inline |
Definition at line 57 of file util.h.
References SI::CharArray::Data::data, data_, and off.
|
inline |
Definition at line 56 of file util.h.
References getData().
Referenced by SI::EIT::isPresentFollowing(), SI::PAT::Association::Parse(), SI::TDT::Parse(), SI::MultilingualComponentDescriptor::Parse(), SI::LocalTimeOffsetDescriptor::LocalTimeOffset::Parse(), and SI::MHP_SimpleApplicationLocationDescriptor::Parse().
|
inline |
Definition at line 59 of file util.h.
References SI::CharArray::Data::data, data_, off, and SI::CharArray::Data::TwoBytes().
|
private |
Definition at line 120 of file util.h.
Referenced by CharArray(), checkSize(), FourBytes(), getData(), getLength(), isValid(), operator[](), and TwoBytes().
|
private |
Definition at line 121 of file util.h.
Referenced by addOffset(), checkSize(), FourBytes(), getData(), operator[](), and TwoBytes().