vdr 2.7.6
|
#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 20 of file util.c.
Referenced by CharArray(), operator+(), operator=(), and operator==().
SI::CharArray::CharArray | ( | const CharArray & | source | ) |
Definition at line 30 of file util.c.
References CharArray(), data_, and off.
|
inline |
Definition at line 65 of file util.h.
References off.
Referenced by SI::StructureLoop< T >::getNext(), and SI::StructureLoop< T >::getNextAsPointer().
void SI::CharArray::assign | ( | const unsigned char * | data, |
int | size, | ||
bool | doCopy = true ) |
|
inline |
|
inline |
|
inline |
Definition at line 51 of file util.h.
Referenced by cCaDescriptors::AddCaDescriptor(), cEIT::cEIT(), SI::Descriptor::getDescriptor(), and setPointerAndOffset().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 58 of file util.h.
References data_.
Referenced by cCaDescriptors::AddCaDescriptor(), and cEIT::cEIT().
|
inline |
CharArray SI::CharArray::operator+ | ( | const int | offset | ) | const |
Definition at line 85 of file util.c.
References CharArray(), and off.
Definition at line 35 of file util.c.
References CharArray(), SI::CharArray::Data::count_, data_, and off.
bool SI::CharArray::operator== | ( | const char * | string | ) | const |
bool SI::CharArray::operator== | ( | const CharArray & | other | ) | const |
Definition at line 71 of file util.c.
References CharArray(), SI::CharArray::Data::data, data_, and SI::CharArray::Data::size.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 120 of file util.h.
Referenced by assign(), CharArray(), CharArray(), checkSize(), FourBytes(), getData(), getData(), getLength(), isValid(), operator=(), operator==(), operator==(), operator[](), TwoBytes(), and ~CharArray().
|
private |
Definition at line 121 of file util.h.
Referenced by addOffset(), CharArray(), CharArray(), checkSize(), FourBytes(), getData(), getData(), operator+(), operator=(), operator[](), and TwoBytes().