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

Method pointer

Fleece/Mutable/ValueSlot.hh:80–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 bool isPointer() const noexcept FLPURE {return _tag != kInlineTag;}
79 bool isInline() const noexcept FLPURE {return !isPointer();}
80 const Value* pointer() const noexcept FLPURE {return (const Value*)_pointer;}
81 const Value* asPointer() const noexcept FLPURE {return (isPointer() ? pointer() : nullptr);}
82 const Value* inlinePointer() const noexcept FLPURE {return (const Value*)&_inlineVal;}
83 void setPointer(const Value*);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected