Celeritas  0.5.0-86+4a8eea4
Macros | Functions
DeviceIO.json.cc File Reference
#include "DeviceIO.json.hh"
#include <map>
#include "corecel/Config.hh"
#include "Device.hh"
#include "Stream.hh"

Macros

#define CELER_DIO_PAIR(ATTR)   {#ATTR, d.ATTR()}
 

Functions

void celeritas::to_json (nlohmann::json &j, Device const &d)
 Write device diagnostics out to JSON.