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

Method getReferencedSchema

valdi_core/src/valdi_core/cpp/Schema/ValueSchema.cpp:623–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621 }
622 return ValueSchemaTypeReference();
623}
624
625const GenericValueSchemaTypeReference* ValueSchema::getGenericTypeReference() const {
626 return dynamic_cast<const GenericValueSchemaTypeReference*>(_ptr.get());
627}
628
629ValueSchema ValueSchema::getArrayItemSchema() const {
630 const auto* araraySchema = getArray();
631 if (araraySchema == nullptr) {
632 return ValueSchema::voidType();
633 }

Callers 2

TESTFunction · 0.80

Calls 1

getSchemaMethod · 0.45

Tested by 1

TESTFunction · 0.64