GetFittingResources(const resourceParams& params) throw(ResourcesException);
std::string Find(const std::string& policy,
- const std::vector<std::string>& listOfResources);
+ const std::vector<std::string>& listOfResources);
- int AddResourceInCatalog (const resourceParams& paramsOfNewResources,
- const std::vector<std::string>& componentsOnNewResources,
- const char *userName,
- AccessModeType mode,
- AccessProtocolType prot,
- AccessProtocolType iprot) throw(ResourcesException);
+ void AddResourceInCatalog (const ParserResourcesType & new_resource) throw(ResourcesException);
void DeleteResourceInCatalog(const char * name);
- void WriteInXmlFile(std::string & xml_file);
+ void WriteInXmlFile(std::string xml_file);
const MapOfParserResourcesType& ParseXmlFiles();
void SelectOnlyResourcesWithOS(std::vector<std::string>& resources, std::string OS);
void KeepOnlyResourcesWithComponent(std::vector<std::string>& resources,
- const std::vector<std::string>& componentList);
+ const std::vector<std::string>& componentList);
//! will contain the path to the ressources catalog
std::list<std::string> _path_resources;