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 a fixed size array of ordinary values. More...

#include <NamedValue.hpp>

Inheritance diagram for phdmesh::NamedValue< T * >:
phdmesh::NamedValue< void >

Public Member Functions

 NamedValue (const std::string &n, T *v, unsigned s)
 
void write (std::ostream &s) const
 
unsigned read (std::istream &s)
 
void tell (std::ostream &s) const
 
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 *const ref
 
const unsigned size
 
- 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)
 

Detailed Description

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

NamedValue to a fixed size array of ordinary values.

Definition at line 424 of file NamedValue.hpp.

Member Function Documentation

template<typename T >
unsigned phdmesh::NamedValue< T * >::pack ( void *  ) const
inlinevirtual

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

Implements phdmesh::NamedValue< void >.

Definition at line 442 of file NamedValue.hpp.

template<typename T >
unsigned phdmesh::NamedValue< T * >::unpack ( void *  )
inlinevirtual

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

Implements phdmesh::NamedValue< void >.

Definition at line 443 of file NamedValue.hpp.


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