ViennaGrid - The Vienna Grid Library  2.1.0
Public Member Functions | Friends
mesh_serializer< MeshT > Struct Template Reference

Mesh wrapper which models the Boost serialization concept. More...

#include <serialization.hpp>

Public Member Functions

MeshT & get ()
 The get function enables to retrieve the mesh pointer.
MeshT const & get () const
void load (MeshT &mesh_obj)
 The load function enables to associate a mesh with the serialzer after a serializer object has been constructed.
 mesh_serializer ()
 The default constructor.
 mesh_serializer (MeshT &mesh_obj)
 The constructor expects a shared pointer on a mesh object and sets the state.
MeshT & operator() ()
 The functor returns a reference to the mesh state.
MeshT const & operator() () const

Friends

class boost::serialization::access

Detailed Description

template<typename MeshT>
struct viennagrid::io::mesh_serializer< MeshT >

Mesh wrapper which models the Boost serialization concept.


Constructor & Destructor Documentation

mesh_serializer ( ) [inline]

The default constructor.

mesh_serializer ( MeshT &  mesh_obj) [inline]

The constructor expects a shared pointer on a mesh object and sets the state.


Member Function Documentation

MeshT& get ( ) [inline]

The get function enables to retrieve the mesh pointer.

MeshT const& get ( ) const [inline]
void load ( MeshT &  mesh_obj) [inline]

The load function enables to associate a mesh with the serialzer after a serializer object has been constructed.

MeshT& operator() ( ) [inline]

The functor returns a reference to the mesh state.

MeshT const& operator() ( ) const [inline]

Friends And Related Function Documentation

friend class boost::serialization::access [friend]

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