cComponents Class Reference

#include <epg.h>

Collaboration diagram for cComponents:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cComponents (void)
 ~cComponents (void)
int NumComponents (void) const
void SetComponent (int Index, const char *s)
void SetComponent (int Index, uchar Stream, uchar Type, const char *Language, const char *Description)
tComponentComponent (int Index) const
tComponentGetComponent (int Index, uchar Stream, uchar Type)

Private Member Functions

void Realloc (int Index)

Private Attributes

int numComponents
tComponentcomponents


Detailed Description

Definition at line 33 of file epg.h.


Constructor & Destructor Documentation

cComponents::cComponents ( void   ) 

Definition at line 45 of file epg.c.

References components, and numComponents.

cComponents::~cComponents ( void   ) 

Definition at line 51 of file epg.c.

References components, and numComponents.


Member Function Documentation

void cComponents::Realloc ( int  Index  )  [private]

Definition at line 58 of file epg.c.

References components, and numComponents.

Referenced by SetComponent().

int cComponents::NumComponents ( void   )  const [inline]

Definition at line 41 of file epg.h.

References numComponents.

Referenced by cEIT::cEIT(), cRecordingInfo::cRecordingInfo(), cEvent::Dump(), cEvent::FixEpgBugs(), cEvent::Parse(), and SetTrackDescriptions().

void cComponents::SetComponent ( int  Index,
const char *  s 
)

Definition at line 68 of file epg.c.

References components, tComponent::FromString(), and Realloc().

Referenced by cEIT::cEIT(), cRecordingInfo::cRecordingInfo(), and cEvent::Parse().

Here is the call graph for this function:

void cComponents::SetComponent ( int  Index,
uchar  Stream,
uchar  Type,
const char *  Language,
const char *  Description 
)

Definition at line 74 of file epg.c.

References components, tComponent::description, isempty(), tComponent::language, Realloc(), strcpyrealloc(), tComponent::stream, strn0cpy(), and tComponent::type.

Here is the call graph for this function:

tComponent* cComponents::Component ( int  Index  )  const [inline]

Definition at line 44 of file epg.h.

References components, and numComponents.

Referenced by cEvent::Dump(), cEvent::FixEpgBugs(), and SetTrackDescriptions().

tComponent * cComponents::GetComponent ( int  Index,
uchar  Stream,
uchar  Type 
)

Definition at line 87 of file epg.c.

References components, and numComponents.

Referenced by cRecordingInfo::cRecordingInfo().


Member Data Documentation

int cComponents::numComponents [private]

Definition at line 35 of file epg.h.

Referenced by cComponents(), Component(), GetComponent(), NumComponents(), Realloc(), and ~cComponents().

tComponent* cComponents::components [private]

Definition at line 36 of file epg.h.

Referenced by cComponents(), Component(), GetComponent(), Realloc(), SetComponent(), and ~cComponents().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:06:34 2007 for VDR by  doxygen 1.5.3-20071008