MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetString

Function GetString

Source/Engine/Serialization/JsonTools.h:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 FORCE_INLINE static String GetString(const Value& node, const char* name, const String& defaultValue)
123 {
124 auto member = node.FindMember(name);
125 return member != node.MemberEnd() ? member->value.GetText() : defaultValue;
126 }
127
128#define DECLARE_GETTER(type) \
129 FORCE_INLINE static type Get##type(const Value& node, const char* name, const type& defaultValue) \

Callers 15

DeserializeMethod · 0.50
DeserializeMethod · 0.50
LogMethod · 0.50
LogErrorMethod · 0.50
LogWarningMethod · 0.50
loadAssetMethod · 0.50
ToStringMethod · 0.50
loadAssetMethod · 0.50
GetImportMetadataMethod · 0.50
UpdateLayoutMethod · 0.50
DeserializeMethod · 0.50

Calls 3

FindMemberMethod · 0.80
MemberEndMethod · 0.80
GetTextMethod · 0.45

Tested by

no test coverage detected