cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::protocol::FieldDescriptor< Struct, Field > Struct Template Reference

Describes a single DTO field: its JSON wire name, pointer-to-member, and optional post-deserialization validator. More...

#include <reflect.hpp>

Public Types

using field_type = Field
 
using struct_type = Struct
 

Public Attributes

const char * wire_name
 
Field Struct::* pointer
 
core::Result< core::Unit >(* post_validate )(const Field &) = nullptr
 
bool absent_as_monostate = false
 
bool absent_as_default = false
 

Detailed Description

template<typename Struct, typename Field>
struct mcp::protocol::FieldDescriptor< Struct, Field >

Describes a single DTO field: its JSON wire name, pointer-to-member, and optional post-deserialization validator.


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