Searched refs:TableColumnType (Results 1 – 5 of 5) sorted by relevance
47 static std::string getTitle(TableColumnType type) { in getTitle()49 case TableColumnType::INTERFACE_NAME: return "Interface"; in getTitle()50 case TableColumnType::TRANSPORT: return "Transport"; in getTitle()51 case TableColumnType::SERVER_PID: return "Server"; in getTitle()52 case TableColumnType::SERVER_CMD: return "Server CMD"; in getTitle()53 case TableColumnType::SERVER_ADDR: return "PTR"; in getTitle()54 case TableColumnType::CLIENT_PIDS: return "Clients"; in getTitle()55 case TableColumnType::CLIENT_CMDS: return "Clients CMD"; in getTitle()56 case TableColumnType::ARCH: return "Arch"; in getTitle()57 case TableColumnType::THREADS: return "Thread Use"; in getTitle()[all …]
718 thiz->mSelectedColumns.push_back(TableColumnType::INTERFACE_NAME); in registerAllOptions()722 thiz->mSelectedColumns.push_back(TableColumnType::RELEASED); in registerAllOptions()726 thiz->mSelectedColumns.push_back(TableColumnType::TRANSPORT); in registerAllOptions()730 thiz->mSelectedColumns.push_back(TableColumnType::ARCH); in registerAllOptions()734 thiz->mSelectedColumns.push_back(TableColumnType::HASH); in registerAllOptions()738 thiz->mSelectedColumns.push_back(TableColumnType::SERVER_PID); in registerAllOptions()742 thiz->mSelectedColumns.push_back(TableColumnType::SERVER_ADDR); in registerAllOptions()746 thiz->mSelectedColumns.push_back(TableColumnType::CLIENT_PIDS); in registerAllOptions()750 thiz->mSelectedColumns.push_back(TableColumnType::THREADS); in registerAllOptions()888 mSelectedColumns = {TableColumnType::RELEASED, in parseArgs()[all …]
51 enum class TableColumnType : unsigned int { enum102 std::string getField(TableColumnType type) const;108 using SelectedColumns = std::vector<TableColumnType>;
228 EXPECT_EQ(SelectedColumns({TableColumnType::SERVER_PID, TableColumnType::INTERFACE_NAME, in TEST_F()229 TableColumnType::SERVER_ADDR, TableColumnType::CLIENT_PIDS}), in TEST_F()237 EXPECT_THAT(table.getSelectedColumns(), Not(Contains(TableColumnType::SERVER_PID))) in TEST_F()239 EXPECT_THAT(table.getSelectedColumns(), Not(Contains(TableColumnType::CLIENT_PIDS))) in TEST_F()241 EXPECT_THAT(table.getSelectedColumns(), Contains(TableColumnType::SERVER_CMD)) in TEST_F()243 EXPECT_THAT(table.getSelectedColumns(), Contains(TableColumnType::CLIENT_CMDS)) in TEST_F()
155 std::vector<TableColumnType> mSelectedColumns;