JEMRIS  2.8.1
open-source MRI simulations
List of all members | Public Member Functions
SimpleIO Class Reference
+ Inheritance diagram for SimpleIO:
+ Collaboration diagram for SimpleIO:

Public Member Functions

 SimpleIO (const std::string &fname, const IO::Mode mode)
 Contructor.
 
 ~SimpleIO ()
 Destructor.
 
template<class T >
IO::Status Read (NDData< T > &data, const std::string &urn, const std::string &url="")
 
template<class T >
IO::Status Write (const NDData< T > &data, const std::string &urn, const std::string &url="")
 Write data from container to file. More...
 
- Public Member Functions inherited from BinaryIO
 BinaryIO (const std::string &fname, const IO::Mode mode)
 Contructor.
 
virtual ~BinaryIO ()
 Destructor.
 
const std::string GetFileName ()
 Get file name. More...
 
IO::Strategy IOStrategy () const
 
template<class T >
IO::Status Read (NDData< T > &data, const std::string &urn, const std::string &url="")
 Read data from file to container. More...
 
template<class T >
IO::Status Write (const NDData< T > &dc, const std::string &urn, const std::string &url="")
 Write data from container to file. More...
 
virtual IO::Status FileAccess ()
 File access?
 
const IO::Status Status ()
 Get last status.
 

Additional Inherited Members

- Protected Attributes inherited from BinaryIO
std::string m_fname
 
NDData< double > m_data
 
IO::Mode m_mode
 
IO::Status m_status
 
IO::Strategy m_type
 

Member Function Documentation

template<class T >
IO::Status SimpleIO::Write ( const NDData< T > &  data,
const std::string &  urn,
const std::string &  url = "" 
)
inline

Write data from container to file.

Parameters
dcData container

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

-- last change 17.06.2016 | Tony Stoecker | Imprint --