CIRCT  20.0.0git
Classes | Namespaces | Typedefs | Functions
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

 esi
 

Typedefs

using ServiceTable = AcceleratorConnection::ServiceTable
 

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 & operator<< (std::ostream &os, const AppID &id)
 
std::ostream & operator<< (std::ostream &os, const AppIDPath &path)
 

Typedef Documentation

◆ ServiceTable

using ServiceTable = AcceleratorConnection::ServiceTable

Definition at line 23 of file Manifest.cpp.

Function Documentation

◆ operator<<() [1/3]

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

Definition at line 729 of file Manifest.cpp.

◆ operator<<() [2/3]

std::ostream& operator<< ( std::ostream &  os,
const AppIDPath &  path 
)

Definition at line 735 of file Manifest.cpp.

◆ operator<<() [3/3]

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

Definition at line 643 of file Manifest.cpp.

◆ parseID()

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

Definition at line 119 of file Manifest.cpp.

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

◆ parseIDChecked()

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

◆ parseIDPath()

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

Definition at line 136 of file Manifest.cpp.

References parseIDChecked().

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

◆ parseServicePort()

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

Definition at line 143 of file Manifest.cpp.

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