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

Public Member Functions

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__ = ()
 variables
 

Detailed Description

Real (IEEE-754 double-precision floating point) variable.

Values must be numeric and cannot be 'x' or 'z' states.

Definition at line 517 of file writer.py.

Member Function Documentation

◆ format_value()

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

:param value: Numeric changed value.
:param type: float or int
:raises ValueError: for invalid real *value*.
:returns: string representing value change for use in a VCD stream.

Reimplemented from Variable.

Definition at line 527 of file writer.py.


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