ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::constant_accessor< ConstantType > Class Template Reference

An accessor which returns a constant value independent of the object passed. More...

#include <accessors.hpp>

Public Types

typedef ConstantType value_type
 

Public Member Functions

 constant_accessor (ConstantType const &c)
 
template<typename T >
value_type operator() (T const &) const
 

Detailed Description

template<typename ConstantType>
class viennashe::constant_accessor< ConstantType >

An accessor which returns a constant value independent of the object passed.

Definition at line 90 of file accessors.hpp.

Member Typedef Documentation

◆ value_type

template<typename ConstantType >
typedef ConstantType viennashe::constant_accessor< ConstantType >::value_type

Definition at line 93 of file accessors.hpp.

Constructor & Destructor Documentation

◆ constant_accessor()

template<typename ConstantType >
viennashe::constant_accessor< ConstantType >::constant_accessor ( ConstantType const &  c)
inline

Definition at line 95 of file accessors.hpp.

Member Function Documentation

◆ operator()()

template<typename ConstantType >
template<typename T >
value_type viennashe::constant_accessor< ConstantType >::operator() ( T const &  ) const
inline

Definition at line 98 of file accessors.hpp.


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