载入中...
搜索中...
未找到
SchemaTypes.h
浏览该文件的文档.
22EVENGINE_API_FOUNDATION const char* schemaRegistrationStatusName(SchemaRegistrationStatus status);
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
Definition DefinitionForm.h:8
std::ostream & operator<<(std::ostream &stream, SchemaRegistrationStatus status)
Writes the stable schema-registration status name.
Definition SchemaTypes.h:25
std::optional< ValueType > valueTypeFromString(const std::string &name)
Converts a stable schema type name to its enum value.
Definition SchemaRegistry.cpp:796
const char * valueTypeName(ValueType type)
Returns the stable lowercase name of a schema value type.
Definition SchemaRegistry.cpp:808
@ String
@ Boolean
@ Object
@ Integer
@ Number
const char * schemaRegistrationStatusName(SchemaRegistrationStatus status)
Returns the stable lowercase name of a registration outcome.
Definition SchemaRegistry.cpp:822
Metadata and validation constraints for one object member.
Definition SchemaTypes.h:77
std::string reference
Legacy display/category reference; use ref for schema refs.
Definition SchemaTypes.h:83
std::vector< FieldDefinition > fields
Definition SchemaTypes.h:99
Recursive node in the deliberately small Eve Schema language.
Definition SchemaTypes.h:47
std::map< std::string, std::string > discriminatorMapping
Discriminator value to ref or zero-based variant index.
Definition SchemaTypes.h:65
std::vector< std::string > enumValues
String enum values accepted by this node.
Definition SchemaTypes.h:67
std::string discriminator
Object member used to select a union alternative.
Definition SchemaTypes.h:63
std::vector< SchemaNode > variants
Union alternatives; at least one alternative is required.
Definition SchemaTypes.h:61
std::shared_ptr< const SchemaNode > itemSchema
Recursive schema for every array item.
Definition SchemaTypes.h:59
std::shared_ptr< const SchemaDefinition > objectSchema
Inline object shape for an object node.
Definition SchemaTypes.h:57