CIRCT 22.0.0git
|
Integers are bit vectors which may be signed or unsigned and are interpreted as numbers. More...
#include <Types.h>
Public Member Functions | |
BitVectorType (const ID &id, uint64_t width) | |
![]() | |
BitVectorType (const ID &id, uint64_t width) | |
uint64_t | getWidth () const |
std::ptrdiff_t | getBitWidth () const override |
![]() | |
Type (const ID &id) | |
virtual | ~Type ()=default |
ID | getID () const |
virtual MessageData | serialize (const std::any &obj) const |
Serialize an object to MessageData. | |
virtual std::pair< std::any, std::span< const uint8_t > > | deserialize (std::span< const uint8_t > data) const |
Deserialize from a span of bytes to an object. | |
virtual void | ensureValid (const std::any &obj) const |
Ensure that a std::any object is valid for this type. | |
std::optional< std::string > | isValid (const std::any &obj) const |
Additional Inherited Members | |
![]() | |
using | ID = std::string |
![]() | |
ID | id |
Integers are bit vectors which may be signed or unsigned and are interpreted as numbers.
|
inline |