Version: 8.3.0
YACS::ENGINE::CatalogLoader Class Referenceabstract

class for YACS catalog loader. More...

#include <Catalog.hxx>

Inheritance diagram for YACS::ENGINE::CatalogLoader:
Collaboration diagram for YACS::ENGINE::CatalogLoader:

Public Member Functions

 CatalogLoader ()
 
 CatalogLoader (const std::string &path)
 
virtual ~CatalogLoader ()
 
virtual CatalogLoadernewLoader (const std::string &path)=0
 
virtual void loadCata (Catalog *cata)=0
 
virtual void load (Catalog *cata, const std::string &path)
 

Protected Attributes

std::string _path
 

Detailed Description

class for YACS catalog loader.

Definition at line 62 of file Catalog.hxx.

Constructor & Destructor Documentation

CatalogLoader::CatalogLoader ( )

Definition at line 61 of file Catalog.cxx.

61  :_path("proto")
62 {
63 }
CatalogLoader::CatalogLoader ( const std::string &  path)

Definition at line 65 of file Catalog.cxx.

65  :_path(path)
66 {
67 }
CatalogLoader::~CatalogLoader ( )
virtual

Definition at line 69 of file Catalog.cxx.

References DEBTRACE.

70 {
71  DEBTRACE("CatalogLoader::~CatalogLoader");
72 }

Member Function Documentation

void CatalogLoader::load ( Catalog cata,
const std::string &  path 
)
virtual

Definition at line 74 of file Catalog.cxx.

References loadCata(), and newLoader().

Referenced by YACS::ENGINE::Runtime::loadCatalog().

75 {
76  CatalogLoader* CL=newLoader(path);
77  CL->loadCata(cata);
78  delete CL;
79 }
virtual void YACS::ENGINE::CatalogLoader::loadCata ( Catalog cata)
pure virtual
virtual CatalogLoader* YACS::ENGINE::CatalogLoader::newLoader ( const std::string &  path)
pure virtual

Member Data Documentation

std::string YACS::ENGINE::CatalogLoader::_path
protected

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