Xyce  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
N_DEV_Pars.h File Reference
#include <Sacado.hpp>
#include <algorithm>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <N_DEV_fwd.h>
#include <N_DEV_Units.h>
Include dependency graph for N_DEV_Pars.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Xyce::Device::baseSensitivity
 Base sensitivity functor. More...
 
class  Xyce::Device::ParameterBase
 Base class for all parameters. More...
 
class  Xyce::Device::ParametricData< C >
 Manages parameter binding for class C. More...
 
class  Xyce::Device::Entry< T >
 Class Entry<T> defines the parameter member variable access for parameter member variable of type T. More...
 
class  Xyce::Device::Entry< void >
 Class Entry<void> defines the parameter binding value entry interface. More...
 
class  Xyce::Device::Entry< T >
 Class Entry<T> defines the parameter member variable access for parameter member variable of type T. More...
 
class  Xyce::Device::Descriptor
 Class Descriptor describes the parameters stored in the ParametricData parameter map. More...
 
class  Xyce::Device::ParametricData< void >
 Class ParametricData<void> manages the configuration information and the parameter binding map. More...
 
class  Xyce::Device::ParametricData< C >
 Manages parameter binding for class C. More...
 

Namespaces

namespace  ParameterType
 ParameterType::ExprAccess is enumeration of parameter usage types and masks.
 
namespace  Xyce
 Root namespace for the Xyce project.
 
namespace  Xyce::Device
 Circuit Device Definitions.
 

Typedefs

typedef std::map< int, double > Xyce::Device::OriginalValueMap
 
typedef std::set< int > Xyce::Device::GivenValueSet
 

Enumerations

enum  ParameterType::ExprAccess {
  ParameterType::NO_DEP = 0x0,
  ParameterType::TIME_DEP = 0x1,
  ParameterType::SOLN_DEP = 0x2,
  ParameterType::LOG_T_DEP = 0x8,
  ParameterType::MIN_RES = 0x10,
  ParameterType::MIN_CAP = 0x20,
  ParameterType::NO_DOC = 0x40
}
 

Functions

template<class T >
std::ostream & Xyce::Device::printEntry (std::ostream &os, const Entry< T > &entry)
 Prints the entry default value to the output stream. More...
 
template<class T >
std::ostream & Xyce::Device::printEntry (std::ostream &os, const Entry< std::vector< T > > &entry)
 Prints the entry default values of a vectorized parameter. More...
 
template<>
std::ostream & Xyce::Device::printEntry (std::ostream &os, const Entry< std::string > &entry)
 Prints the entry default string value, within single quotes. More...
 
template<>
std::ostream & Xyce::Device::printEntry (std::ostream &os, const Entry< bool > &entry)
 Prints the entry default boolean value, printed as true or false. More...
 
std::ostream & Xyce::Device::printEntry (std::ostream &os, const Entry< CompositeMap > &entry)
 Prints the entry composite value as newline terminated list of colon separated name, value pairs. More...
 
void Xyce::Device::typeMismatch (const std::type_info &from_type, const std::type_info &to_type)
 Report casting error when attempting to cast from from_type to to_type. More...
 
void Xyce::Device::nonexistentParameter (const std::string &name, const std::type_info &entity_type)
 Report casting error when attempting to cast from from_type to to_type. More...
 
template<class T >
const Entry< T > & Xyce::Device::entry_cast (const Entry< void > &entry)
 Casts the entry to type T. More...
 
template<class T >
Entry< T > & Xyce::Device::entry_cast (Entry< void > &entry)
 Casts the entry to type T. More...
 
template<class T >
std::ostream & Xyce::Device::printEntry (std::ostream &os, const Entry< std::map< std::string, T > > &entry)
 Prints the entry default values of a map parameter. More...
 
template<class T >
const T & Xyce::Device::getDefaultValue (const Descriptor &descriptor)
 Gets the default value of the parameter. More...
 
template<class T >
void Xyce::Device::setDefaultValue (Descriptor &descriptor, const T &t)
 Sets the default value of the parameter. More...
 
template<class T >
const T & Xyce::Device::value (const ParameterBase &entity, const Descriptor &descriptor)
 Returns the value of the parameter for the entity. More...
 
template<class T >
T & Xyce::Device::value (ParameterBase &entity, const Descriptor &descriptor)
 Returns the value of the parameter for the entity. More...
 
template<class T , class U >
const T & Xyce::Device::getValue (const ParameterBase &entity, const Descriptor &descriptor)
 Gets the value of the parameter for the entity. More...
 
template<class T , class U >
void Xyce::Device::setValue (ParameterBase &entity, const Descriptor &descriptor, const T &value)
 Sets the value of the parameter. More...
 
void Xyce::Device::checkExprAccess (const std::string &name, ParameterType::ExprAccess &expr_access, const std::type_info &parameter_data_class)
 Report error if both MIN_CAP and MIN_RES have been specified. More...
 
void Xyce::Device::setDefaultParameters (ParameterBase &parameter_base, ParameterMap::const_iterator begin, ParameterMap::const_iterator end, const DeviceOptions &device_options)
 Set the default values for the parameter. More...
 
double Xyce::Device::getOriginalValue (ParameterBase &parameter_base, int serial_number)
 Retrieve a parameter's original value. More...
 
void Xyce::Device::setOriginalValue (ParameterBase &parameter_base, int serial_number, double value)
 Set a parameter's original value. More...
 
bool Xyce::Device::wasValueGiven (const ParameterBase &parameter_base, int serial_number)
 Return true if a value was provided for the device. More...
 
void Xyce::Device::setValueGiven (ParameterBase &parameter_base, int serial_number, bool value)
 Set the given value state of a parameter. More...
 
bool Xyce::Device::isTempParam (const std::string &name)
 Returns true if the name is TNOM or TEMP. More...