SASC
DVBSoftCAM

cSmartCardDatas Class Reference

Inheritance diagram for cSmartCardDatas:

List of all members.

Public Member Functions

 cSmartCardDatas (void)
cSmartCardData * Find (cSmartCardData *param)
 cSmartCardDatas (void)
cSmartCardData * Find (cSmartCardData *param)

Protected Member Functions

virtual cStructItem * ParseLine (char *line)
virtual cStructItem * ParseLine (char *line)

Detailed Description

Definition at line 1877 of file smartcard.c.


Constructor & Destructor Documentation

cSmartCardDatas::cSmartCardDatas ( void  )

Definition at line 1887 of file smartcard.c.

:cStructList<cSmartCardData>("smartcard data","smartcard.conf",SL_MISSINGOK|SL_WATCH|SL_VERBOSE)
{}
cSmartCardDatas::cSmartCardDatas ( void  )

Member Function Documentation

cSmartCardData * cSmartCardDatas::Find ( cSmartCardData *  param)
cSmartCardData* cSmartCardDatas::Find ( cSmartCardData *  param)
virtual cStructItem* cSmartCardDatas::ParseLine ( char *  line) [protected, virtual]

Implements cStructLoader.

cStructItem * cSmartCardDatas::ParseLine ( char *  line) [protected, virtual]

Implements cStructLoader.

Definition at line 1901 of file smartcard.c.

References cSmartCards::First(), cSmartCards::Next(), cSmartCardData::Parse(), and smartcards.

{
  char *r=index(line,':');
  if(r)
    for(cSmartCardLink *scl=smartcards.First(); scl; scl=smartcards.Next(scl))
      if(!strncasecmp(scl->Name(),line,r-line)) {
        cSmartCardData *scd=scl->CreateData();
        if(scd && scd->Parse(r+1)) return scd;
        delete scd;
        break;
        }
  return 0;
}

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