MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::Mcp::Schema::String Struct Reference

A schema describing a string. More...

#include <MRMcp/MRMcp.h>

Inheritance diagram for MR::Mcp::Schema::String:

Public Member Functions

 String ()
 String (std::vector< std::string > allowedValues)
 A string limited to one of allowedValues.
Public Member Functions inherited from MR::Mcp::Schema::Base
const nlohmann::json & asJson () const &
nlohmann::json && asJson () &&

Additional Inherited Members

Protected Member Functions inherited from MR::Mcp::Schema::Base
 Base (nlohmann::json json)
Protected Attributes inherited from MR::Mcp::Schema::Base
nlohmann::json json

Detailed Description

A schema describing a string.

Constructor & Destructor Documentation

◆ String() [1/2]

MR::Mcp::Schema::String::String ( )
inline

◆ String() [2/2]

MR::Mcp::Schema::String::String ( std::vector< std::string > allowedValues)
inlineexplicit

A string limited to one of allowedValues.


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