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

Method sibling

src/eepp/ui/models/modelindex.cpp:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace EE { namespace UI { namespace Models {
5
6ModelIndex ModelIndex::sibling( int row, int column ) const {
7 if ( !isValid() )
8 return {};
9 eeASSERT( model() );
10 return model()->index( row, column, parent() );
11}
12
13ModelIndex ModelIndex::siblingAtColumn( int column ) const {
14 if ( !isValid() )

Callers

nothing calls this directly

Calls 3

modelFunction · 0.85
isValidFunction · 0.50
indexMethod · 0.45

Tested by

no test coverage detected