phdMesh
Version of the Day
|
NamedValue to an ordinary reference. More...
#include <NamedValue.hpp>
Public Member Functions | |
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 Member Functions inherited from phdmesh::NamedValue< void > | |
template<typename T > | |
const T & | get (unsigned i=0) const |
template<typename T > | |
T & | put (unsigned i=0) |
const std::vector < NamedValueSet * > | references () const |
Public Attributes | |
T & | ref |
Public Attributes inherited from phdmesh::NamedValue< void > | |
const std::string | name |
const std::type_info & | type |
Additional Inherited Members | |
Protected Member Functions inherited from phdmesh::NamedValue< void > | |
NamedValue (const std::string &n, const std::type_info &t) | |
NamedValue to an ordinary reference.
Definition at line 310 of file NamedValue.hpp.
|
inlinevirtual |
Pack referenced value into a buffer, return the number of bytes
Implements phdmesh::NamedValue< void >.
Definition at line 331 of file NamedValue.hpp.
|
inlinevirtual |
Unpack referenced value from a buffer, return the number of bytes
Implements phdmesh::NamedValue< void >.
Definition at line 332 of file NamedValue.hpp.