CIRCT 24.0.0git
Loading...
Searching...
No Matches
Manifest.cpp File Reference
#include "esi/Manifest.h"
#include "esi/Accelerator.h"
#include "esi/Services.h"
#include <nlohmann/json.hpp>
#include <sstream>
Include dependency graph for Manifest.cpp:

Go to the source code of this file.

Classes

class  Manifest::Impl

Namespaces

namespace  esi

Functions

static std::optional< AppID > parseID (const nlohmann::json &jsonID)
static AppID parseIDChecked (const nlohmann::json &jsonID)
static AppIDPath parseIDPath (const nlohmann::json &jsonIDPath)
static ServicePortDesc parseServicePort (const nlohmann::json &jsonPort)
std::ostream & operator<< (std::ostream &os, const ModuleInfo &m)
bool esi::operator< (const AppID &a, const AppID &b)
bool esi::operator< (const AppIDPath &a, const AppIDPath &b)
std::ostream & esi::operator<< (std::ostream &os, const AppID &id)
std::ostream & esi::operator<< (std::ostream &os, const AppIDPath &path)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const ModuleInfo & m )

Definition at line 742 of file Manifest.cpp.

◆ parseID()

std::optional< AppID > parseID ( const nlohmann::json & jsonID)
static

Definition at line 130 of file Manifest.cpp.

Referenced by Manifest::Impl::getAny(), and parseIDChecked().

◆ parseIDChecked()

AppID parseIDChecked ( const nlohmann::json & jsonID)
static

◆ parseIDPath()

AppIDPath parseIDPath ( const nlohmann::json & jsonIDPath)
static

Definition at line 147 of file Manifest.cpp.

References parseIDChecked().

Referenced by Manifest::Impl::getService().

◆ parseServicePort()

ServicePortDesc parseServicePort ( const nlohmann::json & jsonPort)
static

Definition at line 154 of file Manifest.cpp.

Referenced by Manifest::Impl::getBundlePorts(), and Manifest::Impl::getService().