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 46 of file epg.c.

References components, and numComponents.

cComponents::~cComponents ( void   ) 

Definition at line 52 of file epg.c.

References components, and numComponents.


Member Function Documentation

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

Definition at line 59 of file epg.c.

References components, and numComponents.

Referenced by SetComponent().

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

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

Definition at line 69 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 75 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 88 of file epg.c.

References components, and numComponents.

Referenced by cRecordingInfo::cRecordingInfo().


Member Data Documentation

Definition at line 35 of file epg.h.

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

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 4 19:57:55 2008 for VDR by  doxygen 1.5.6