MCPcopy Create free account
hub / github.com/couchbase/fleece / impl

Class impl

Fleece/Core/Array.hh:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 /** A Value that's an array. */
24 class Array : public Value {
25 struct impl {
26 const Value* _first;
27 uint32_t _count;
28 uint8_t _width;
29
30 impl(const Value*) noexcept;
31 const Value* second() const noexcept FLPURE {return offsetby(_first, _width);}
32 const Value* firstValue() const noexcept FLPURE;
33 const Value* deref(const Value*) const noexcept FLPURE;
34 const Value* operator[] (unsigned index) const noexcept FLPURE;
35 size_t indexOf(const Value *v) const noexcept FLPURE;
36 void offset(uint32_t n);
37 bool isMutableArray() const noexcept FLPURE {return _width > 4;}
38 };
39
40 public:
41

Callers 5

dataSizeMethod · 0.85
countMethod · 0.85
getMethod · 0.85
dictImplMethod · 0.85
rawCountMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected