MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMcpSettings.h File Reference
#include "exports.h"
#include <filesystem>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  MR::McpSettings::CmdLineOverrides

Namespaces

namespace  MR
 only for bindings generation
namespace  MR::McpSettings
 Those functions act on the default MCP settings in the config file.

Functions

CmdLineOverrides MR::McpSettings::parseCmdLineOverrides (const std::vector< std::string > &commandArgs)
int MR::McpSettings::getPort ()
void MR::McpSettings::setPort (int port)
bool MR::McpSettings::getEnableByDefault ()
 Returns whether the MCP server should start on program startup, according to the config file.
void MR::McpSettings::setEnableByDefault (bool enable)
 Sets whether the MCP server should start on program startup, in the config file.
void MR::McpSettings::applyToServer ()
bool MR::McpSettings::isPortLockedFromCmdLine ()