vdr 2.6.3
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)
 
tComponent * Component (int Index) const
 
tComponent * GetComponent (int Index, uchar Stream, uchar Type)
 

Private Member Functions

bool Realloc (int Index)
 

Private Attributes

int numComponents
 
tComponent * components
 

Detailed Description

Definition at line 53 of file epg.h.

Constructor & Destructor Documentation

◆ cComponents()

cComponents::cComponents ( void  )

Definition at line 46 of file epg.c.

References components, and numComponents.

◆ ~cComponents()

cComponents::~cComponents ( void  )

Definition at line 52 of file epg.c.

References components, and numComponents.

Member Function Documentation

◆ Component()

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().

◆ GetComponent()

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().

◆ NumComponents()

int cComponents::NumComponents ( void  ) const
inline

◆ Realloc()

bool cComponents::Realloc ( int  Index)
private

Definition at line 59 of file epg.c.

References components, esyslog, and numComponents.

Referenced by SetComponent().

◆ SetComponent() [1/2]

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/2]

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: