|
phdMesh Version of the Day
|
Base class for references provides access to anonymous type. More...
#include <NamedValue.hpp>
Public Member Functions | |
| virtual unsigned | get_max () const =0 |
| virtual unsigned | put_max () const =0 |
| virtual void * | put_void (unsigned)=0 |
| virtual const void * | get_void (unsigned) const =0 |
| virtual void | tell (std::ostream &) const =0 |
| virtual void | write (std::ostream &) const =0 |
| virtual unsigned | read (std::istream &)=0 |
| template<typename T > | |
| const T & | get (unsigned i=0) const |
| template<typename T > | |
| T & | put (unsigned i=0) |
| virtual unsigned | pack (void *) const =0 |
| virtual unsigned | unpack (void *)=0 |
|
const std::vector < NamedValueSet * > | references () const |
Public Attributes | |
| const std::string | name |
| const std::type_info & | type |
Protected Member Functions | |
| NamedValue (const std::string &n, const std::type_info &t) | |
Friends | |
| class | NamedValueSet |
Base class for references provides access to anonymous type.
Definition at line 81 of file NamedValue.hpp.
| virtual unsigned phdmesh::NamedValue< void >::pack | ( | void * | ) | const [pure virtual] |
Pack referenced value into a buffer, return the number of bytes
Implemented in phdmesh::NamedValue< T & >, phdmesh::NamedValue< const T & >, phdmesh::NamedValue< T[N] >, phdmesh::NamedValue< T * >, phdmesh::NamedValue< const T * >, phdmesh::NamedValue< std::vector< T > >, and phdmesh::NamedValue< const std::vector< T > & >.
| virtual unsigned phdmesh::NamedValue< void >::unpack | ( | void * | ) | [pure virtual] |
Unpack referenced value from a buffer, return the number of bytes
Implemented in phdmesh::NamedValue< T & >, phdmesh::NamedValue< const T & >, phdmesh::NamedValue< T[N] >, phdmesh::NamedValue< T * >, phdmesh::NamedValue< const T * >, phdmesh::NamedValue< std::vector< T > >, and phdmesh::NamedValue< const std::vector< T > & >.
1.7.4