Belle II Software  release-08-01-10
Variable Class Reference
Inheritance diagram for Variable:
Collaboration diagram for Variable:

Public Member Functions

def __init__ (self, ident, type, size)
 
def format_value (self, value, check=True)
 

Public Attributes

 ident
 Identifier used in VCD output stream.
 
 type
 VCD variable type; one of :const:VCDWriter.VAR_TYPES.
 
 size
 Size, in bits, of variable.
 

Static Private Attributes

tuple __slots__ = ('ident', 'type', 'size')
 variables
 

Detailed Description

VCD variable details needed to call :meth:`VCDWriter.change()`.

Definition at line 466 of file writer.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  ident,
  type,
  size 
)
Initialization of Variable function

Definition at line 472 of file writer.py.

Member Function Documentation

◆ format_value()

def format_value (   self,
  value,
  check = True 
)
Format value change for use in VCD stream.

Reimplemented in VectorVariable, RealVariable, and ScalarVariable.

Definition at line 481 of file writer.py.


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