DVBLink Remote API Library documentation  0.2.0-Master
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
dvblinkremote::Program Class Reference

Represent a program in an electronic program guide (EPG). More...

Inheritance diagram for dvblinkremote::Program:
dvblinkremote::ItemMetadata

Public Member Functions

 Program ()
 Initializes a new instance of the dvblinkremote::Program class.
 Program (const std::string &id, const std::string &title, const long startTime, const long duration)
 Initializes a new instance of the dvblinkremote::Program class.
 Program (Program &program)
 Initializes a new instance of the dvblinkremote::Program class by coping another dvblinkremote::Program instance.
 ~Program ()
 Destructor for cleaning up allocated memory.
std::string & GetID ()
 Gets the identifier of the program.
void SetID (const std::string &id)
 Sets the identifier of the program.

Additional Inherited Members

Detailed Description

Represent a program in an electronic program guide (EPG).

See Also
ItemMetadata::ItemMetadata()

Constructor & Destructor Documentation

dvblinkremote::Program::Program ( )

Initializes a new instance of the dvblinkremote::Program class.

dvblinkremote::Program::Program ( const std::string &  id,
const std::string &  title,
const long  startTime,
const long  duration 
)

Initializes a new instance of the dvblinkremote::Program class.

Parameters
ida constant string reference representing the identifier of the program.
titlea constant string reference representing the title of the program.
startTimea constant long representing the start time of the program.
durationa constant long representing the duration of the program.
Remarks
startTime and duration is the number of seconds, counted from UNIX epoc: 00:00:00 UTC on 1 January 1970.
dvblinkremote::Program::Program ( Program program)

Initializes a new instance of the dvblinkremote::Program class by coping another dvblinkremote::Program instance.

Parameters
programa dvblinkremote::Program reference.
dvblinkremote::Program::~Program ( )

Destructor for cleaning up allocated memory.

Member Function Documentation

std::string& dvblinkremote::Program::GetID ( )

Gets the identifier of the program.

Returns
Program identifier
void dvblinkremote::Program::SetID ( const std::string &  id)

Sets the identifier of the program.

Parameters
ida constant string reference representing the identifier of the program.