nx_cloud_storage_sdk  1.0
Cloud Storage SDK
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
nx::sdk::cloud_storage::PluginManifest Struct Reference

#include <data.h>

Public Member Functions

 PluginManifest (const char *jsonStr) noexcept(false)
 
 PluginManifest (const nx::kit::Json &json) noexcept(false)
 
 PluginManifest (const std::string &id, const std::string &name, const std::string &description, const std::string &version, const std::string &vendor)
 
template<typename T >
 PluginManifest (const T &)=delete
 
bool operator== (const PluginManifest &) const
 
nx::kit::Json to_json () const
 

Static Public Member Functions

static ValueOrError< PluginManifestfromJson (const char *jsonStr) noexcept
 
static ValueOrError< PluginManifestfromJson (const nx::kit::Json &json) noexcept
 

Public Attributes

std::string id
 
std::string name
 
std::string description
 
std::string version
 
std::string vendor
 

Detailed Description

Every data structure here has two alternative ways of constructing from the string and json: 1) Constructors which throw exception on invalid data. 2) static fromJson functions which never throw and return error if parsing fails.


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