MCPcopy Create free account
hub / github.com/apache/thrift / set_string

Method set_string

compiler/cpp/src/thrift/parse/t_const_value.h:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 t_const_value(std::string val) : intVal_(0), doubleVal_(0.0f), enum_((t_enum*)nullptr), valType_(CV_UNKNOWN) { set_string(val); }
54
55 void set_string(std::string val) {
56 valType_ = CV_STRING;
57 stringVal_ = val;
58 }
59
60 std::string get_string() const { return stringVal_; }
61

Callers 3

resolve_const_valueMethod · 0.45

Calls

no outgoing calls

Tested by 2