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

Base class for references provides access to anonymous type. More...

#include <NamedValue.hpp>

Inheritance diagram for phdmesh::NamedValue< void >:
phdmesh::NamedValue< const std::vector< T > & > phdmesh::NamedValue< const T & > phdmesh::NamedValue< const T * > phdmesh::NamedValue< std::vector< T > > phdmesh::NamedValue< T & > phdmesh::NamedValue< T * > phdmesh::NamedValue< T[N] >

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
 

Detailed Description

template<>
class phdmesh::NamedValue< void >

Base class for references provides access to anonymous type.

Definition at line 81 of file NamedValue.hpp.

Member Function Documentation

virtual unsigned phdmesh::NamedValue< void >::pack ( void *  ) const
pure virtual
virtual unsigned phdmesh::NamedValue< void >::unpack ( void *  )
pure virtual

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