Lines Matching defs:ArgumentValue

72 class ArgumentValue final {
74 static ArgumentValue MakeNull() { return ArgumentValue(); }
76 static ArgumentValue MakeInt32(int32_t value) { return ArgumentValue(value); }
78 static ArgumentValue MakeUint32(uint32_t value) {
79 return ArgumentValue(value);
82 static ArgumentValue MakeInt64(int64_t value) { return ArgumentValue(value); }
84 static ArgumentValue MakeUint64(uint64_t value) {
85 return ArgumentValue(value);
88 static ArgumentValue MakeDouble(double value) { return ArgumentValue(value); }
90 static ArgumentValue MakeString(fbl::String value) {
91 return ArgumentValue(fbl::move(value));
94 static ArgumentValue MakePointer(uint64_t value) {
95 return ArgumentValue(PointerTag(), value);
98 static ArgumentValue MakeKoid(zx_koid_t value) {
99 return ArgumentValue(KoidTag(), value);
102 ArgumentValue(ArgumentValue&& other) { MoveFrom(fbl::move(other)); }
104 ~ArgumentValue() { Destroy(); }
106 ArgumentValue& operator=(ArgumentValue&& other) {
160 ArgumentValue()
163 explicit ArgumentValue(int32_t int32)
166 explicit ArgumentValue(uint32_t uint32)
169 explicit ArgumentValue(int64_t int64)
172 explicit ArgumentValue(uint64_t uint64)
175 explicit ArgumentValue(double d)
178 explicit ArgumentValue(fbl::String string)
183 explicit ArgumentValue(PointerTag, uint64_t pointer)
186 explicit ArgumentValue(KoidTag, zx_koid_t koid)
190 void MoveFrom(ArgumentValue&& other);
204 DISALLOW_COPY_AND_ASSIGN_ALLOW_MOVE(ArgumentValue);
210 explicit Argument(fbl::String name, ArgumentValue value)
223 const ArgumentValue& value() const { return value_; }
229 ArgumentValue value_;