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

Method getEnumRef

valdi_core/src/valdi_core/cpp/Schema/ValueSchema.cpp:563–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561
562const ClassSchema* ValueSchema::getClass() const {
563 return dynamic_cast<const ClassSchema*>(_ptr.get());
564}
565
566Ref<ClassSchema> ValueSchema::getClassRef() const {
567 return castOrNull<ClassSchema>(_ptr);
568}

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected