* @param content_name [description]
* @param content_type [description]
* @param properties [description]
+ * @param attach [description]
* @return The created Storage
*/
- virtual StoragePtr createResource(const char* id, const char* type_id,
- const char* content_name, const char* content_type, xbt_dict_t properties)=0;
+ virtual StoragePtr createResource(const char* id,
+ const char* type_id,
+ const char* content_name,
+ const char* content_type,
+ xbt_dict_t properties,
+ const char *attach) = 0;
xbt_dynar_t p_storageList;
};
* @param content_name [description]
* @param content_type [description]
* @param size [description]
- * @param model_props Dictionary of model specific properties associated to this Storage
*/
Storage(ModelPtr model, const char *name, xbt_dict_t props,
const char* type_id, char *content_name, char *content_type,
* @param content_name [description]
* @param content_type [description]
* @param size [description]
+ * @param attach [description]
*/
Storage(ModelPtr model, const char *name, xbt_dict_t props,
lmm_system_t maxminSystem, double bread, double bwrite,
double bconnection,
const char* type_id, char *content_name, char *content_type,
- sg_size_t size);
+ sg_size_t size, char *attach);
/**
* @brief Storage destructor
sg_size_t m_size;
sg_size_t m_usedSize;
char * p_typeId;
+ char* p_attach;
/**
* @brief Open a file
*
* @return The StorageAction corresponding to the opening
*/
- virtual StorageActionPtr open(const char* mount, const char* path)=0;
+ virtual StorageActionPtr open(const char* mount, char* path)=0;
/**
* @brief Close a file