MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / elementAt

Method elementAt

qcustomplot.cpp:4600–4609  ·  view source on GitHub ↗

! \seebaseclassmethod Note that the association of the linear \a index to the row/column based cells depends on the current setting of \ref setFillOrder. \see rowColToIndex */

Source from the content-addressed store, hash-verified

4598 \see rowColToIndex
4599*/
4600QCPLayoutElement *QCPLayoutGrid::elementAt(int index) const
4601{
4602 if (index >= 0 && index < elementCount())
4603 {
4604 int row, col;
4605 indexToRowCol(index, row, col);
4606 return mElements.at(row).at(col);
4607 } else
4608 return 0;
4609}
4610
4611/*!
4612 \seebaseclassmethod

Callers

nothing calls this directly

Calls 3

elementCountFunction · 0.85
atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected