Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CNfoFile Class Reference

#include <NfoFile.h>

Public Member Functions

virtual ~CNfoFile ()
 
CInfoScanner::INFO_TYPE Create (const std::string &, const ADDON::ScraperPtr &, int episode=-1)
 
template<class T >
bool GetDetails (T &details, const char *document=NULL, bool prioritise=false)
 
void Close ()
 
void SetScraperInfo (ADDON::ScraperPtr info)
 
ADDON::ScraperPtr GetScraperInfo ()
 
const CScraperUrlScraperUrl () const
 

Static Public Member Functions

static int Scrape (ADDON::ScraperPtr &scraper, CScraperUrl &url, const std::string &content)
 
static std::vector< ADDON::ScraperPtrGetScrapers (ADDON::TYPE type, ADDON::ScraperPtr selectedScraper)
 

Constructor & Destructor Documentation

◆ ~CNfoFile()

virtual CNfoFile::~CNfoFile ( )
inlinevirtual

Member Function Documentation

◆ Close()

void CNfoFile::Close ( void  )

◆ Create()

CInfoScanner::INFO_TYPE CNfoFile::Create ( const std::string &  strPath,
const ADDON::ScraperPtr info,
int  episode = -1 
)

◆ GetDetails()

template<class T >
bool CNfoFile::GetDetails ( T &  details,
const char *  document = NULL,
bool  prioritise = false 
)
inline

◆ GetScraperInfo()

ADDON::ScraperPtr CNfoFile::GetScraperInfo ( )
inline

◆ GetScrapers()

std::vector< ScraperPtr > CNfoFile::GetScrapers ( ADDON::TYPE  type,
ADDON::ScraperPtr  selectedScraper 
)
static

◆ Scrape()

int CNfoFile::Scrape ( ADDON::ScraperPtr scraper,
CScraperUrl url,
const std::string &  content 
)
static

◆ ScraperUrl()

const CScraperUrl & CNfoFile::ScraperUrl ( ) const
inline

◆ SetScraperInfo()

void CNfoFile::SetScraperInfo ( ADDON::ScraperPtr  info)
inline

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