MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getEnum

Method getEnum

valdi_core/src/valdi_core/cpp/Schema/ValueSchema.cpp:559–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559const EnumSchema* ValueSchema::getEnum() const {
560 return dynamic_cast<const EnumSchema*>(_ptr.get());
561}
562
563Ref<EnumSchema> ValueSchema::getEnumRef() const {
564 return castOrNull<EnumSchema>(_ptr);

Callers 5

visitNestedTypeFunction · 0.45
operator==Method · 0.45
registerSchemaMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected