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

Public Member Functions

 BinaryContext (const std::string &fname, IO::Mode mode)
 Construct populating strategies.
 
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...
 
template<class T >
IO::Status Write (const NDData< T > &data, const char *urn, const char *url="")
 
template<class T >
IO::Status Read (NDData< T > &data, const std::string &urn, const std::string &url="")
 
template<class T >
IO::Status Read (NDData< T > &data, const char *urn, const char *url="")
 
IO::Status Status () const
 Get last status. More...
 

Private Attributes

std::vector< BinaryIO * > m_strategies
 
BinaryIOm_strategy
 
IO::Status m_status
 

Member Function Documentation

IO::Status BinaryContext::Status ( ) const

Get last status.

Returns
Status

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Write data from container to file.

Parameters
outOutput container
Returns
Status

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

IO::Status BinaryContext::m_status
private

Status

std::vector<BinaryIO*> BinaryContext::m_strategies
private

List of available strategies

BinaryIO* BinaryContext::m_strategy
private

Concrete strategy


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

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