7 #include "fwDataIO/reader/TransformationMatrix3DReader.hpp" 9 #include "fwDataIO/reader/registry/macros.hpp" 11 #include <fwData/location/SingleFile.hpp> 13 #include <boost/filesystem/convenience.hpp> 40 assert( ::std::dynamic_pointer_cast< ::fwData::location::SingleFile >(
m_location) );
41 ::boost::filesystem::path file =
44 assert( ::boost::filesystem::exists(file) );
46 std::ifstream inFile(file.string().c_str(), std::ifstream::in );
47 assert( inFile.good() );
52 while ( !inFile.eof() && readedValue < 16 )
This class defines a single file location.
This namespace fwDataIO contains reader and writer for several framework's data.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
virtual std::shared_ptr< DataType > getConcreteObject()
m_object getter.
Base class for all object readers.
Contains the representation of the data objects used in the framework.
::fwData::location::ILocation::sptr m_location
Object location ( file path, directory path, url, etc )