Searched defs:TypedData (Results 1 – 2 of 2) sorted by relevance
164 struct TypedData : public Data { struct165 explicit TypedData(const T& value) : value_(value) {} in TypedData() function167 explicit TypedData(T&& value) : value_(std::move(value)) {} in TypedData() function169 const char* GetTypeTag() const override { return brillo::GetTypeTag<T>(); } in GetTypeTag()172 bool IsConvertibleToInteger() const override { in IsConvertibleToInteger()175 intmax_t GetAsInteger() const override { in GetAsInteger()201 static_cast<const TypedData<T>*>(other_data)->value_); in CompareEqual() argument206 void FastAssign(const T& source) { value_ = source; } in FastAssign()208 void FastAssign(T&& source) { value_ = std::move(source); } in FastAssign()210 T value_;
181 struct TypedData struct183 TypedData() {} in TypedData() function186 T *object = nullptr;187 ResourceManager11 *manager = nullptr;