vdr  2.2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cComponents Class Reference

#include <epg.h>

Collaboration diagram for cComponents:
[legend]

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

bool Realloc (int Index)
 

Private Attributes

int numComponents
 
tComponentcomponents
 

Detailed Description

Definition at line 51 of file epg.h.

Constructor & Destructor Documentation

cComponents::cComponents ( void  )

Definition at line 47 of file epg.c.

References components, and numComponents.

cComponents::~cComponents ( void  )

Definition at line 53 of file epg.c.

References components, and numComponents.

Member Function Documentation

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

Definition at line 62 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 98 of file epg.c.

References components, and numComponents.

Referenced by cRecordingInfo::cRecordingInfo().

int cComponents::NumComponents ( void  ) const
inline
bool cComponents::Realloc ( int  Index)
private

Definition at line 60 of file epg.c.

References components, esyslog, and numComponents.

Referenced by SetComponent().

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

Definition at line 78 of file epg.c.

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

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

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

Member Data Documentation

tComponent* cComponents::components
private

Definition at line 54 of file epg.h.

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

int cComponents::numComponents
private

Definition at line 53 of file epg.h.

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


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