Xyce  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Xyce::Device::Entry< void > Class Template Referenceabstract

Class Entry<void> defines the parameter binding value entry interface. More...

#include <N_DEV_Pars.h>

Public Member Functions

virtual ~Entry ()
 Destroys Entry. More...
 
virtual const std::type_info & type () const =0
 Returns the type_info of the data type being stored in the entry. More...
 
std::ostream & print (std::ostream &os) const
 Prints the value of the entry to the output stream. More...
 

Protected Member Functions

 Entry ()
 Constructs the Entry base class. More...
 

Private Member Functions

 Entry (const Entry &)
 
Entryoperator= (const Entry &)
 
virtual std::ostream & doPrint (std::ostream &os) const =0
 Prints the value of the entry to the output stream. More...
 

Detailed Description

template<>
class Xyce::Device::Entry< void >

Class Entry<void> defines the parameter binding value entry interface.

This defines the interface to check the data type of an Entry<T> object and to print the value. Type specific Entry classes inherit from this class. The entry_cast<T>() function is used to cast an object of this type to the derived Entry<T> class safely.

Definition at line 251 of file N_DEV_Pars.h.

Constructor & Destructor Documentation

Xyce::Device::Entry< void >::Entry ( )
inlineprotected

Constructs the Entry base class.

Note
The construct is protected so it may only be constructed by Entry<T> classes.
Author
David G. Baur Raytheon Sandia National Laboratories 1355
Date
Fri Aug 9 08:32:36 2013

Definition at line 262 of file N_DEV_Pars.h.

virtual Xyce::Device::Entry< void >::~Entry ( )
inlinevirtual

Destroys Entry.

Author
David G. Baur Raytheon Sandia National Laboratories 1355
Date
Fri Aug 9 08:34:16 2013

Definition at line 271 of file N_DEV_Pars.h.

Xyce::Device::Entry< void >::Entry ( const Entry< void > &  )
private

Member Function Documentation

virtual std::ostream& Xyce::Device::Entry< void >::doPrint ( std::ostream &  os) const
privatepure virtual

Prints the value of the entry to the output stream.

Parameters
osoutput stream to write to
Returns
reference to the output stream
Author
David G. Baur Raytheon Sandia National Laboratories 1355
Date
Wed Aug 7 11:29:29 2013
Entry& Xyce::Device::Entry< void >::operator= ( const Entry< void > &  )
private
std::ostream& Xyce::Device::Entry< void >::print ( std::ostream &  os) const
inline

Prints the value of the entry to the output stream.

Parameters
osoutput stream to write to
Returns
reference to the output stream
Author
David G. Baur Raytheon Sandia National Laboratories 1355
Date
Wed Aug 7 11:28:02 2013

Definition at line 295 of file N_DEV_Pars.h.

virtual const std::type_info& Xyce::Device::Entry< void >::type ( ) const
pure virtual

Returns the type_info of the data type being stored in the entry.

Returns
const reference to the type_info of the data type being stored in the entry.

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