CIRCT  18.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
circt::moore::PackedRangeDim Class Reference

A packed range dimension, like [a:b]. More...

#include <MooreTypes.h>

Inheritance diagram for circt::moore::PackedRangeDim:
Inheritance graph
[legend]
Collaboration diagram for circt::moore::PackedRangeDim:
Collaboration graph
[legend]

Public Member Functions

Range getRange () const
 Get the range of this dimension. More...
 
 operator Range () const
 Allow implicit casts from PackedRangeDim to the actual range. More...
 

Static Public Member Functions

static PackedRangeDim get (PackedType inner, Range range)
 
template<typename... Args>
static PackedRangeDim get (PackedType inner, Args... args)
 Get a packed range with arguments forwarded to the Range constructor. More...
 

Friends

struct detail::DimStorage
 

Detailed Description

A packed range dimension, like [a:b].

Definition at line 828 of file MooreTypes.h.

Member Function Documentation

◆ get() [1/2]

template<typename... Args>
static PackedRangeDim circt::moore::PackedRangeDim::get ( PackedType  inner,
Args...  args 
)
inlinestatic

Get a packed range with arguments forwarded to the Range constructor.

See Range::Range for details.

Definition at line 837 of file MooreTypes.h.

References get().

◆ get() [2/2]

PackedRangeDim PackedRangeDim::get ( PackedType  inner,
Range  range 
)
static

◆ getRange()

Range PackedRangeDim::getRange ( ) const

Get the range of this dimension.

Definition at line 793 of file MooreTypes.cpp.

Referenced by operator Range().

◆ operator Range()

circt::moore::PackedRangeDim::operator Range ( ) const
inline

Allow implicit casts from PackedRangeDim to the actual range.

Definition at line 845 of file MooreTypes.h.

References getRange().

Friends And Related Function Documentation

◆ detail::DimStorage

friend struct detail::DimStorage
friend

Definition at line 849 of file MooreTypes.h.


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