Xyce  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
N_DEV_Algorithm.h File Reference
#include <iterator>
#include <vector>
#include <N_DEV_fwd.h>
#include <N_DEV_Device.h>
Include dependency graph for N_DEV_Algorithm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Xyce::Device::DeviceInstanceOutIteratorOp< Out >
 Operator to populate a container via an output iterator with device instances. More...
 
struct  Xyce::Device::DeviceModelOutIteratorOp< Out >
 Operator to populate a container via an output iterator with device models. More...
 
struct  Xyce::Device::DeviceInstanceNameOp< Out >
 Operator to populate a container of strings with the names of the device instances. More...
 
struct  Xyce::Device::MapOp< C >
 operator to populate a map from device instance name to device instance pointer More...
 

Namespaces

namespace  Xyce
 Root namespace for the Xyce project.
 
namespace  Xyce::Device
 Circuit Device Definitions.
 

Functions

template<class D , class Op >
void Xyce::Device::forEachInstance (const D &d, Op op)
 Call forEachInstance on object d, passing operator op. More...
 
template<class D , class Op >
void Xyce::Device::forEachModel (const D &d, Op op)
 Call forEachModel on object d, passing operator op. More...
 
template<class C >
const std::string & Xyce::Device::getName (const C *c)
 Returns the name of the specified object. More...
 
template<class D , class Out >
void Xyce::Device::getDeviceInstances (const D &d, Out it)
 Calls forEachInstance() on d which iterates through all the instances copies them to the output iterator. More...
 
template<class D , class Out >
void Xyce::Device::getDeviceModels (const D &d, Out it)
 Calls forEachModel() on d which iterates through all the models copies them to the output iterator. More...
 
template<class D , class Out >
void Xyce::Device::getDeviceInstanceNames (const D &d, Out it)
 Calls forEachInstance() on d which iterates through all the instance and copies the name to the output iterator. More...
 
template<class D , class X >
void Xyce::Device::mapDeviceInstances (const D &d, std::map< std::string, X * > &map)
 Calls forEachInstance() on d which iterates through all the instances and inserts the device instance name to pointer mapping. More...