phdMesh  Version of the Day
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Public Member Functions | Public Attributes | List of all members
phdmesh::NamedValue< T > Class Template Reference

NamedValue to an ordinary value. More...

#include <NamedValue.hpp>

Public Member Functions

 NamedValue (const std::string &n)
 Constructor.
 
 NamedValue (const std::string &n, const T &v)
 
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

value
 

Detailed Description

template<typename T = void>
class phdmesh::NamedValue< T >

NamedValue to an ordinary value.

Definition at line 43 of file NamedValue.hpp.


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