Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
559
const EnumSchema* ValueSchema::getEnum() const {
560
return dynamic_cast<const EnumSchema*>(_ptr.get());
561
}
562
563
Ref<EnumSchema> ValueSchema::getEnumRef() const {
564
return castOrNull<EnumSchema>(_ptr);
Callers
5
RegisteredCppGeneratedClass.cpp
File · 0.45
visitNestedType
Function · 0.45
operator==
Method · 0.45
registerSchema
Method · 0.45
getJavaTypeSignatureFromValueSchema
Function · 0.45
Calls
1
get
Method · 0.65
Tested by
no test coverage detected