7 #ifndef __FWDATA_LOCATION_MULTIFILES_HPP__ 8 #define __FWDATA_LOCATION_MULTIFILES_HPP__ 10 #include "fwData/config.hpp" 11 #include "fwData/location/ILocation.hpp" 13 #include <boost/filesystem/path.hpp> 36 FWDATA_API
void setPaths( VectPathType paths );
39 FWDATA_API VectPathType getPaths();
42 FWDATA_API
void cachedDeepCopy(
const Object::csptr& _source, DeepCopyCacheType& cache)
override;
73 getLocation<MultiFiles>(m_rw)->setPaths(paths);
79 return getLocation<MultiFiles>(m_rw)->getPaths();
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
void setFiles(ILocation::VectPathType paths)
Set file system paths.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
#define SLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...
Abstract class to define a location ( fileSystem, directory(IES) etc.... )
This class defines a multi files location.
ILocation::VectPathType getFiles()
Get file system paths.
Contains the representation of the data objects used in the framework.
enableMultiFiles(RW *rw)
constructor
This class is derived by reader/writer.
VectPathType m_paths
file system paths