Represents a single value found in a VCD File. More...
#include <VCDValue.hpp>
Data Structures | |
| union | valstore |
| The actual value stored, as identified by type. More... | |
Public Member Functions | |
| VCDValue (VCDBit value) | |
| Create a new VCDValue with the type VCD_SCALAR. More... | |
| VCDValue (VCDBitVector *value) | |
| Create a new VCDValue with the type VCD_VECTOR. More... | |
| VCDValue (VCDReal value) | |
| Create a new VCDValue with the type VCD_VECTOR. More... | |
| ~VCDValue () | |
| VCDValueType | get_type () |
| Return the type of value stored by this class instance. More... | |
| VCDBit | get_value_bit () |
| Get the bit value of the instance. More... | |
| VCDBitVector * | get_value_vector () |
| Get the vector value of the instance. More... | |
| VCDReal | get_value_real () |
| Get the real value of the instance. More... | |
Protected Attributes | |
| VCDValueType | type |
| The type of value this instance stores. More... | |
| union VCDValue::valstore | value |
Represents a single value found in a VCD File.
Can contain a single bit (a scalar), a bti vector, or an IEEE floating point number.
Definition at line 12 of file VCDValue.hpp.
| VCDValue::VCDValue | ( | VCDBit | value | ) |
Create a new VCDValue with the type VCD_SCALAR.
Definition at line 7 of file VCDValue.cpp.
| VCDValue::VCDValue | ( | VCDBitVector * | value | ) |
Create a new VCDValue with the type VCD_VECTOR.
Definition at line 16 of file VCDValue.cpp.
| VCDValue::VCDValue | ( | VCDReal | value | ) |
Create a new VCDValue with the type VCD_VECTOR.
Definition at line 25 of file VCDValue.cpp.
|
inline |
| VCDValueType VCDValue::get_type | ( | ) |
Return the type of value stored by this class instance.
Definition at line 33 of file VCDValue.cpp.
| VCDBit VCDValue::get_value_bit | ( | ) |
Get the bit value of the instance.
Definition at line 40 of file VCDValue.cpp.
| VCDReal VCDValue::get_value_real | ( | ) |
Get the real value of the instance.
Definition at line 54 of file VCDValue.cpp.
| VCDBitVector * VCDValue::get_value_vector | ( | ) |
Get the vector value of the instance.
Definition at line 47 of file VCDValue.cpp.
|
protected |
The type of value this instance stores.
Definition at line 77 of file VCDValue.hpp.
|
protected |