CIRCT  19.0.0git
Public Member Functions | List of all members
esi::AnyType Class Reference

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>

Inheritance diagram for esi::AnyType:
Inheritance graph
[legend]
Collaboration diagram for esi::AnyType:
Collaboration graph
[legend]

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
 

Additional Inherited Members

- Public Types inherited from esi::Type
using ID = std::string
 
- Protected Attributes inherited from esi::Type
ID id
 

Detailed Description

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.

Definition at line 85 of file Types.h.

Constructor & Destructor Documentation

◆ AnyType()

esi::AnyType::AnyType ( const ID id)
inline

Definition at line 87 of file Types.h.

Member Function Documentation

◆ getBitWidth()

std::ptrdiff_t esi::AnyType::getBitWidth ( ) const
inlineoverridevirtual

Reimplemented from esi::Type.

Definition at line 88 of file Types.h.


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