phdmesh::NamedValue< T & > Class Template Reference

#include <NamedValue.hpp>

Inheritance diagram for phdmesh::NamedValue< T & >:

phdmesh::NamedValue< void > List of all members.

Detailed Description

template<typename T>
class phdmesh::NamedValue< T & >

NamedValue to an ordinary reference.

Definition at line 310 of file NamedValue.hpp.

Public Member Functions

 ~NamedValue ()
 NamedValue (const std::string &n, T &v)
 Constructor.
void tell (std::ostream &s) const
 Tell the type to a stream.
void write (std::ostream &s) const
 Write value to stream.
unsigned read (std::istream &s)
 Read value from stream.
unsigned pack (void *b) const
unsigned unpack (void *b)

Public Attributes

T & ref


Member Function Documentation

template<typename T>
unsigned phdmesh::NamedValue< T & >::pack ( void *  b  )  const [inline, virtual]

Pack referenced value into a buffer, return the number of bytes

Implements phdmesh::NamedValue< void >.

Definition at line 331 of file NamedValue.hpp.

template<typename T>
unsigned phdmesh::NamedValue< T & >::unpack ( void *  b  )  [inline, virtual]

Unpack referenced value from a buffer, return the number of bytes

Implements phdmesh::NamedValue< void >.

Definition at line 332 of file NamedValue.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:22:43 2010 for phdMesh by  doxygen 1.4.7