Lines Matching full:blob
36 // Create an empty blob cache. The blob cache will cache key/value pairs
116 // A Blob is an immutable sized unstructured data blob.
117 class Blob {
119 Blob(const void* data, size_t size, bool copyData);
120 ~Blob();
122 bool operator<(const Blob& rhs) const;
129 Blob(const Blob&);
130 void operator=(const Blob&);
132 // mData points to the buffer containing the blob data.
135 // mSize is the size of the blob data in bytes.
138 // mOwnsData indicates whether or not this Blob object should free the
139 // memory pointed to by mData when the Blob gets destructed.
147 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value);
153 std::shared_ptr<Blob> getKey() const;
154 std::shared_ptr<Blob> getValue() const;
156 void setValue(const std::shared_ptr<Blob>& value);
161 std::shared_ptr<Blob> mKey;
164 std::shared_ptr<Blob> mValue;