Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ getEnum
Method
getEnum
valdi_protobuf/src/valdi_protobuf/Field.cpp:623–625 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
621
}
622
623
EnumValue Field::getEnum() const {
624
return static_cast<EnumValue>(getVarint());
625
}
626
627
void Field::setEnum(EnumValue v) {
628
setVarint(static_cast<uint64_t>(v));
Callers
3
TEST
Function · 0.45
getProtobufNonRepeatedField
Function · 0.45
checkVarintConformance
Method · 0.45
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.36
checkVarintConformance
Method · 0.36