MeshLib C++ Docs
Loading...
Searching...
No Matches

A common base class for the different schemas. Functions can accept this by value, it's fine to slice it. More...

#include <MRMcp/MRMcp.h>

Inheritance diagram for MR::Mcp::Schema::Base:

Public Member Functions

const nlohmann::json & asJson () const &
nlohmann::json && asJson () &&

Protected Member Functions

 Base (nlohmann::json json)

Protected Attributes

nlohmann::json json

Detailed Description

A common base class for the different schemas. Functions can accept this by value, it's fine to slice it.

Constructor & Destructor Documentation

◆ Base()

MR::Mcp::Schema::Base::Base ( nlohmann::json json)
inlineprotected

Member Function Documentation

◆ asJson() [1/2]

nlohmann::json && MR::Mcp::Schema::Base::asJson ( ) &&
inlinenodiscard

◆ asJson() [2/2]

const nlohmann::json & MR::Mcp::Schema::Base::asJson ( ) const &
inlinenodiscard

Member Data Documentation

◆ json

nlohmann::json MR::Mcp::Schema::Base::json
protected

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