MCPcopy Create free account
hub / github.com/axmolengine/axmol / asStringRef

Method asStringRef

core/base/Value.cpp:765–770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765std::string_view Value::asStringRef() const
766{
767 if (_type == Type::STRING)
768 return *_field.strVal;
769 return Value::EmptyString;
770}
771
772ValueVector& Value::asValueVector()
773{

Callers 3

MyXMLVisitorMethod · 0.80
ccvalue_to_luavalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected