CIRCT 24.0.0git
Loading...
Searching...
No Matches
esi::AppID Struct Reference

#include <Common.h>

Collaboration diagram for esi::AppID:

Public Member Functions

 AppID (const std::string &name, std::optional< uint32_t > idx=std::nullopt)
bool operator== (const AppID &other) const
bool operator!= (const AppID &other) const
std::string toString () const

Public Attributes

std::string name
std::optional< uint32_t > idx

Friends

std::ostream & operator<< (std::ostream &os, const AppID &id)

Detailed Description

Definition at line 36 of file Common.h.

Constructor & Destructor Documentation

◆ AppID()

esi::AppID::AppID ( const std::string & name,
std::optional< uint32_t > idx = std::nullopt )
inline

Definition at line 40 of file Common.h.

References idx, and name.

Referenced by operator!=(), operator<<, and operator==().

Member Function Documentation

◆ operator!=()

bool esi::AppID::operator!= ( const AppID & other) const
inline

Definition at line 46 of file Common.h.

References AppID().

◆ operator==()

bool esi::AppID::operator== ( const AppID & other) const
inline

Definition at line 43 of file Common.h.

References AppID(), idx, and name.

◆ toString()

std::string esi::AppID::toString ( ) const
inline

Definition at line 49 of file Common.h.

References idx, and name.

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const AppID & id )
friend

Definition at line 836 of file Manifest.cpp.

References AppID(), and idx.

Member Data Documentation

◆ idx

std::optional<uint32_t> esi::AppID::idx

Definition at line 38 of file Common.h.

Referenced by AppID(), esi::operator<(), operator<<, operator==(), and toString().

◆ name

std::string esi::AppID::name

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