queso-0.57.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
QUESO::InterpolationSurrogateIOBase< V, M > Class Template Referenceabstract

#include <InterpolationSurrogateIOBase.h>

Inheritance diagram for QUESO::InterpolationSurrogateIOBase< V, M >:
QUESO::InterpolationSurrogateIOASCII< V, M >

Public Member Functions

 InterpolationSurrogateIOBase ()
 
virtual ~InterpolationSurrogateIOBase ()
 
virtual void read (const std::string &filename, const FullEnvironment &env, const std::string &vector_space_prefix, int reading_rank)=0
 
virtual void write (const std::string &filename, const InterpolationSurrogateData< V, M > &data, int writing_rank) const =0
 
const
InterpolationSurrogateData< V,
M > & 
data () const
 Reference to data object. More...
 

Protected Attributes

ScopedPtr< VectorSpace< V, M >
>::Type 
m_vector_space
 
ScopedPtr< BoxSubset< V, M >
>::Type 
m_domain
 
std::vector< unsigned int > m_n_points
 
ScopedPtr
< InterpolationSurrogateData
< V, M > >::Type 
m_data
 

Detailed Description

template<class V, class M>
class QUESO::InterpolationSurrogateIOBase< V, M >

Definition at line 35 of file InterpolationSurrogateIOBase.h.

Constructor & Destructor Documentation

template<class V , class M >
QUESO::InterpolationSurrogateIOBase< V, M >::InterpolationSurrogateIOBase ( )

Definition at line 35 of file InterpolationSurrogateIOBase.C.

36  {}
template<class V , class M >
virtual QUESO::InterpolationSurrogateIOBase< V, M >::~InterpolationSurrogateIOBase ( )
inlinevirtual

Definition at line 41 of file InterpolationSurrogateIOBase.h.

41 {};

Member Function Documentation

template<class V , class M >
const InterpolationSurrogateData<V,M>& QUESO::InterpolationSurrogateIOBase< V, M >::data ( ) const
inline

Reference to data object.

If we read the data, then use this method to grab a reference to the data in order to construct an InterpolationSurrogateBase subclass.

Definition at line 56 of file InterpolationSurrogateIOBase.h.

57  { return *(this->m_data.get()); };
ScopedPtr< InterpolationSurrogateData< V, M > >::Type m_data
template<class V , class M >
virtual void QUESO::InterpolationSurrogateIOBase< V, M >::read ( const std::string &  filename,
const FullEnvironment env,
const std::string &  vector_space_prefix,
int  reading_rank 
)
pure virtual
template<class V , class M >
virtual void QUESO::InterpolationSurrogateIOBase< V, M >::write ( const std::string &  filename,
const InterpolationSurrogateData< V, M > &  data,
int  writing_rank 
) const
pure virtual

Member Data Documentation

template<class V , class M >
ScopedPtr<InterpolationSurrogateData<V,M> >::Type QUESO::InterpolationSurrogateIOBase< V, M >::m_data
protected

Definition at line 67 of file InterpolationSurrogateIOBase.h.

template<class V , class M >
ScopedPtr<BoxSubset<V,M> >::Type QUESO::InterpolationSurrogateIOBase< V, M >::m_domain
protected

Definition at line 63 of file InterpolationSurrogateIOBase.h.

template<class V , class M >
std::vector<unsigned int> QUESO::InterpolationSurrogateIOBase< V, M >::m_n_points
protected

Definition at line 65 of file InterpolationSurrogateIOBase.h.

template<class V , class M >
ScopedPtr<VectorSpace<V,M> >::Type QUESO::InterpolationSurrogateIOBase< V, M >::m_vector_space
protected

Definition at line 57 of file InterpolationSurrogateIOBase.h.


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

Generated on Tue Jun 5 2018 19:49:41 for queso-0.57.1 by  doxygen 1.8.5