MCPcopy Create free account
hub / github.com/SpartanJ/eepp / isValid

Method isValid

include/eepp/ui/models/persistentmodelindex.hpp:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 PersistentModelIndex& operator=( PersistentModelIndex&& ) = default;
30
31 bool isValid() const { return hasValidHandle() && mHandle.lock()->mIndex.isValid(); }
32 bool hasValidHandle() const { return !mHandle.expired(); }
33
34 int row() const;

Callers 5

rowCountMethod · 0.45
indexMethod · 0.45
parentMethod · 0.45
dataMethod · 0.45
hasParentFunction · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected