MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / sessionCount

Method sessionCount

app/src/Sessions/DatabaseManager.cpp:262–265  ·  view source on GitHub ↗

* @brief Returns the number of sessions in the open database. */

Source from the content-addressed store, hash-verified

260 * @brief Returns the number of sessions in the open database.
261 */
262int Sessions::DatabaseManager::sessionCount() const
263{
264 return m_sessionList.size();
265}
266
267/**
268 * @brief Returns the currently selected session id, or -1.

Callers 1

listMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected