Class Wire::state_t

Nested Relationships

This class is a nested type of Class Wire.

Class Documentation

class state_t

Public Functions

inline state_t()
inline constexpr state_t(StateEnum s, double v = 0.0)
state_t(const state_t &other) = default
inline bool is_digital() const
inline bool is_driven() const
inline bool digital_value() const
std::string to_string() const

Returns a string representation of the wire state

inline bool operator==(StateEnum s) const
inline bool operator!=(StateEnum s) const
inline bool operator==(const state_t &s) const
inline bool operator!=(const state_t &s) const
inline StateEnum value() const
inline double level() const
state_t &operator=(const state_t &other) = default