Xyce
6.1
|
InstanceBlock represent a device instance line from the netlist. More...
#include <N_DEV_DeviceBlock.h>
Public Member Functions | |
InstanceBlock (const std::string &name=std::string()) | |
InstanceBlock (const InstanceBlock &right) | |
InstanceBlock & | operator= (const InstanceBlock &right) |
~InstanceBlock () | |
const InstanceName & | getInstanceName () const |
void | setInstanceName (const InstanceName &name) |
const ModelName & | getModelName () const |
void | setModelName (const ModelName &modelName) |
const NetlistLocation & | getNetlistLocation () const |
void | setNetlistLocation (const NetlistLocation &netlist_location) |
bool | operator== (const InstanceBlock &right) const |
bool | operator!= (const InstanceBlock &right) const |
void | clear () |
Packable * | instance () const |
int | packedByteCount () const |
void | pack (char *buf, int bsize, int &pos, N_PDS_Comm *comm) const |
void | unpack (char *pB, int bsize, int &pos, N_PDS_Comm *comm) |
Public Attributes | |
std::vector< Param > | params |
int | iNumNodes |
int | numIntVars |
int | numExtVars |
int | numStateVars |
bool | modelFlag |
bool | sourceFlag |
bool | bsourceFlag |
bool | offFlag |
bool | off |
Private Attributes | |
InstanceName | name_ |
Device instance name. More... | |
ModelName | modelName_ |
Model name if provided. More... | |
NetlistLocation | netlistLocation_ |
Path and line number of .MODEL command. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const InstanceBlock &ib) |
InstanceBlock represent a device instance line from the netlist.
Definition at line 163 of file N_DEV_DeviceBlock.h.
Xyce::Device::InstanceBlock::InstanceBlock | ( | const std::string & | name = std::string() | ) |
Definition at line 360 of file N_DEV_DeviceBlock.C.
Xyce::Device::InstanceBlock::InstanceBlock | ( | const InstanceBlock & | right | ) |
Definition at line 384 of file N_DEV_DeviceBlock.C.
Xyce::Device::InstanceBlock::~InstanceBlock | ( | ) |
Definition at line 408 of file N_DEV_DeviceBlock.C.
void Xyce::Device::InstanceBlock::clear | ( | ) |
Definition at line 450 of file N_DEV_DeviceBlock.C.
|
inline |
Definition at line 175 of file N_DEV_DeviceBlock.h.
|
inline |
Definition at line 185 of file N_DEV_DeviceBlock.h.
|
inline |
Definition at line 195 of file N_DEV_DeviceBlock.h.
Packable * Xyce::Device::InstanceBlock::instance | ( | ) | const |
Definition at line 517 of file N_DEV_DeviceBlock.C.
|
inline |
Definition at line 209 of file N_DEV_DeviceBlock.h.
InstanceBlock & Xyce::Device::InstanceBlock::operator= | ( | const InstanceBlock & | right | ) |
Definition at line 420 of file N_DEV_DeviceBlock.C.
|
inline |
Definition at line 204 of file N_DEV_DeviceBlock.h.
void Xyce::Device::InstanceBlock::pack | ( | char * | buf, |
int | bsize, | ||
int & | pos, | ||
N_PDS_Comm * | comm | ||
) | const |
Definition at line 605 of file N_DEV_DeviceBlock.C.
int Xyce::Device::InstanceBlock::packedByteCount | ( | ) | const |
Definition at line 530 of file N_DEV_DeviceBlock.C.
|
inline |
Definition at line 180 of file N_DEV_DeviceBlock.h.
|
inline |
Definition at line 190 of file N_DEV_DeviceBlock.h.
|
inline |
Definition at line 199 of file N_DEV_DeviceBlock.h.
void Xyce::Device::InstanceBlock::unpack | ( | char * | pB, |
int | bsize, | ||
int & | pos, | ||
N_PDS_Comm * | comm | ||
) |
Definition at line 695 of file N_DEV_DeviceBlock.C.
|
friend |
Definition at line 476 of file N_DEV_DeviceBlock.C.
bool Xyce::Device::InstanceBlock::bsourceFlag |
Definition at line 238 of file N_DEV_DeviceBlock.h.
int Xyce::Device::InstanceBlock::iNumNodes |
Definition at line 231 of file N_DEV_DeviceBlock.h.
bool Xyce::Device::InstanceBlock::modelFlag |
Definition at line 236 of file N_DEV_DeviceBlock.h.
|
private |
Model name if provided.
Definition at line 225 of file N_DEV_DeviceBlock.h.
|
private |
Device instance name.
Definition at line 224 of file N_DEV_DeviceBlock.h.
|
private |
Path and line number of .MODEL command.
Definition at line 226 of file N_DEV_DeviceBlock.h.
int Xyce::Device::InstanceBlock::numExtVars |
Definition at line 233 of file N_DEV_DeviceBlock.h.
int Xyce::Device::InstanceBlock::numIntVars |
Definition at line 232 of file N_DEV_DeviceBlock.h.
int Xyce::Device::InstanceBlock::numStateVars |
Definition at line 234 of file N_DEV_DeviceBlock.h.
bool Xyce::Device::InstanceBlock::off |
Definition at line 240 of file N_DEV_DeviceBlock.h.
bool Xyce::Device::InstanceBlock::offFlag |
Definition at line 239 of file N_DEV_DeviceBlock.h.
std::vector<Param> Xyce::Device::InstanceBlock::params |
Definition at line 229 of file N_DEV_DeviceBlock.h.
bool Xyce::Device::InstanceBlock::sourceFlag |
Definition at line 237 of file N_DEV_DeviceBlock.h.