CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
esi::IndexedPorts< T > Class Template Reference

#include <TypedPorts.h>

Collaboration diagram for esi::IndexedPorts< T >:
Collaboration graph
[legend]

Public Member Functions

 IndexedPorts (std::map< int, T > &&ports)
 
 IndexedPorts (IndexedPorts &&)=default
 
IndexedPortsoperator= (IndexedPorts &&)=default
 
 IndexedPorts (const IndexedPorts &)=delete
 
IndexedPortsoperator= (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 1438 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 1440 of file TypedPorts.h.

◆ IndexedPorts() [2/3]

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

◆ IndexedPorts() [3/3]

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

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 1448 of file TypedPorts.h.

References esi::IndexedPorts< T >::ports_.

◆ begin() [2/2]

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

Definition at line 1450 of file TypedPorts.h.

References esi::IndexedPorts< T >::ports_.

◆ contains()

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

Definition at line 1453 of file TypedPorts.h.

References esi::IndexedPorts< T >::ports_.

◆ end() [1/2]

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

Definition at line 1449 of file TypedPorts.h.

References esi::IndexedPorts< T >::ports_.

◆ end() [2/2]

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

Definition at line 1451 of file TypedPorts.h.

References esi::IndexedPorts< T >::ports_.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator[]() [1/2]

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

Definition at line 1446 of file TypedPorts.h.

References esi::IndexedPorts< T >::ports_.

◆ operator[]() [2/2]

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

Definition at line 1447 of file TypedPorts.h.

References esi::IndexedPorts< T >::ports_.

◆ size()

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

Member Data Documentation

◆ ports_

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

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