SASC-NG
DVBSoftCAM

cProviderConax Class Reference

#include <parse.h>

Inheritance diagram for cProviderConax:

List of all members.

Public Member Functions

 cProviderConax (const unsigned char *a)
virtual bool MatchID (const unsigned char *data)
virtual bool MatchEMM (const unsigned char *data)
virtual unsigned long long ProvId (void)

Public Attributes

unsigned char addr [7]

Detailed Description

Definition at line 236 of file parse.h.


Constructor & Destructor Documentation

cProviderConax::cProviderConax ( const unsigned char *  a)

Definition at line 532 of file parse.c.

References addr.

{
  memcpy(addr,a,sizeof(addr));
}

Member Function Documentation

bool cProviderConax::MatchEMM ( const unsigned char *  data) [virtual]

Implements cProvider.

Definition at line 542 of file parse.c.

References addr.

Referenced by MatchID().

{
  return !memcmp(&data[3],addr,sizeof(addr));
}
bool cProviderConax::MatchID ( const unsigned char *  data) [virtual]

Implements cProvider.

Definition at line 537 of file parse.c.

References MatchEMM().

{
  return MatchEMM(data);
}
unsigned long long cProviderConax::ProvId ( void  ) [virtual]

Implements cProvider.

Definition at line 547 of file parse.c.

References addr, and Bin2LongLong().

{
  return Bin2LongLong(addr,sizeof(addr));
}

Member Data Documentation

unsigned char cProviderConax::addr[7]

Definition at line 238 of file parse.h.

Referenced by cProviderConax(), MatchEMM(), and ProvId().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines