CIRCT 24.0.0git
Loading...
Searching...
No Matches
esi::IndexedPorts< T > Class Template Reference

#include <TypedPorts.h>

Collaboration diagram for esi::IndexedPorts< T >:

Public Member Functions

 IndexedPorts (std::map< int, T > &&ports)
 IndexedPorts (IndexedPorts &&)=default
IndexedPorts & operator= (IndexedPorts &&)=default
 IndexedPorts (const IndexedPorts &)=delete
IndexedPorts & operator= (const IndexedPorts &)=delete
T & operator[] (int idx)
const T & operator[] (int idx) const
auto begin ()
auto end ()
auto begin () const
auto end () const
size_t size () const
bool contains (int idx) const

Private Attributes

std::map< int, T > ports_

Detailed Description

template<typename T>
class esi::IndexedPorts< T >

Definition at line 1453 of file TypedPorts.h.

Constructor & Destructor Documentation

◆ IndexedPorts() [1/3]

template<typename T>
esi::IndexedPorts< T >::IndexedPorts ( std::map< int, T > && ports)
inlineexplicit

Definition at line 1455 of file TypedPorts.h.

References ports_.

Referenced by IndexedPorts(), IndexedPorts(), operator=(), and operator=().

◆ IndexedPorts() [2/3]

template<typename T>
esi::IndexedPorts< T >::IndexedPorts ( IndexedPorts< T > && )
default

References IndexedPorts().

◆ IndexedPorts() [3/3]

template<typename T>
esi::IndexedPorts< T >::IndexedPorts ( const IndexedPorts< T > & )
delete

References IndexedPorts().

Member Function Documentation

◆ begin() [1/2]

template<typename T>
auto esi::IndexedPorts< T >::begin ( )
inline

Definition at line 1463 of file TypedPorts.h.

References ports_.

◆ begin() [2/2]

template<typename T>
auto esi::IndexedPorts< T >::begin ( ) const
inline

Definition at line 1465 of file TypedPorts.h.

References ports_.

◆ contains()

template<typename T>
bool esi::IndexedPorts< T >::contains ( int idx) const
inline

Definition at line 1468 of file TypedPorts.h.

References ports_.

◆ end() [1/2]

template<typename T>
auto esi::IndexedPorts< T >::end ( )
inline

Definition at line 1464 of file TypedPorts.h.

References ports_.

◆ end() [2/2]

template<typename T>
auto esi::IndexedPorts< T >::end ( ) const
inline

Definition at line 1466 of file TypedPorts.h.

References ports_.

◆ operator=() [1/2]

template<typename T>
IndexedPorts & esi::IndexedPorts< T >::operator= ( const IndexedPorts< T > & )
delete

References IndexedPorts().

◆ operator=() [2/2]

template<typename T>
IndexedPorts & esi::IndexedPorts< T >::operator= ( IndexedPorts< T > && )
default

References IndexedPorts().

◆ operator[]() [1/2]

template<typename T>
T & esi::IndexedPorts< T >::operator[] ( int idx)
inline

Definition at line 1461 of file TypedPorts.h.

References ports_.

◆ operator[]() [2/2]

template<typename T>
const T & esi::IndexedPorts< T >::operator[] ( int idx) const
inline

Definition at line 1462 of file TypedPorts.h.

References ports_.

◆ size()

template<typename T>
size_t esi::IndexedPorts< T >::size ( ) const
inline

Definition at line 1467 of file TypedPorts.h.

References ports_.

Member Data Documentation

◆ ports_

template<typename T>
std::map<int, T> esi::IndexedPorts< T >::ports_
private

Definition at line 1471 of file TypedPorts.h.

Referenced by begin(), begin(), contains(), end(), end(), IndexedPorts(), operator[](), operator[](), and size().


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