|
CIRCT 22.0.0git
|
The "any" type is a special type which can be used to represent any type, as identified by the type id. More...
#include <Types.h>


Public Member Functions | |
| AnyType (const ID &id) | |
| std::ptrdiff_t | getBitWidth () const override |
Public Member Functions inherited from esi::Type | |
| Type (const ID &id) | |
| virtual | ~Type ()=default |
| ID | getID () const |
| virtual MutableBitVector | serialize (const std::any &obj) const |
| Serialize an object to a MutableBitVector (LSB-first stream). | |
| virtual std::any | deserialize (BitVector &data) const |
| Deserialize from a BitVector stream (LSB-first). | |
| std::any | deserialize (const MessageData &data) const |
| 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 | |
Public Types inherited from esi::Type | |
| using | ID = std::string |
Protected Attributes inherited from esi::Type | |
| ID | id |
The "any" type is a special type which can be used to represent any type, as identified by the type id.
Said type id is guaranteed to be present in the manifest. Importantly, the "any" type id over the wire may not be a string as it is in software.
|
inlineoverridevirtual |