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

#include <epg.h>

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)
 
 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)
 
bool Realloc (int Index)
 

Private Attributes

int numComponents
 
tComponentcomponents
 

Detailed Description

Definition at line 53 of file epg.h.

Constructor & Destructor Documentation

◆ cComponents() [1/2]

cComponents::cComponents ( void  )

Definition at line 46 of file epg.c.

References components, and numComponents.

◆ ~cComponents() [1/2]

cComponents::~cComponents ( void  )

Definition at line 52 of file epg.c.

References components, and numComponents.

◆ cComponents() [2/2]

cComponents::cComponents ( void  )

◆ ~cComponents() [2/2]

cComponents::~cComponents ( void  )

Member Function Documentation

◆ Component() [1/2]

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

Definition at line 64 of file epg.h.

References components, and numComponents.

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

◆ Component() [2/2]

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

Definition at line 64 of file include/vdr/epg.h.

References components, and numComponents.

◆ GetComponent() [1/2]

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

Definition at line 97 of file epg.c.

References components, and numComponents.

Referenced by cRecordingInfo::cRecordingInfo().

◆ GetComponent() [2/2]

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

◆ NumComponents() [1/2]

int cComponents::NumComponents ( void  ) const
inline

◆ NumComponents() [2/2]

int cComponents::NumComponents ( void  ) const
inline

Definition at line 61 of file include/vdr/epg.h.

References numComponents.

◆ Realloc() [1/2]

bool cComponents::Realloc ( int  Index)
private

Definition at line 59 of file epg.c.

References components, esyslog, and numComponents.

Referenced by SetComponent().

◆ Realloc() [2/2]

bool cComponents::Realloc ( int  Index)
private

◆ SetComponent() [1/4]

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

Definition at line 77 of file epg.c.

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

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

◆ SetComponent() [2/4]

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

◆ SetComponent() [3/4]

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

◆ SetComponent() [4/4]

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

Member Data Documentation

◆ components

tComponent * cComponents::components
private

Definition at line 56 of file epg.h.

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

◆ numComponents

int cComponents::numComponents
private

Definition at line 55 of file epg.h.

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


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