MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / IsLogicDataType

Method IsLogicDataType

DSView/pv/storesession.cpp:1746–1759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1744}
1745
1746bool StoreSession::IsLogicDataType()
1747{
1748 std::set<int> type_set;
1749 for(auto sig : _session->get_signals()) {
1750 type_set.insert(sig->get_type());
1751 }
1752
1753 if (type_set.size()){
1754 int type = *(type_set.begin());
1755 return type == SR_CHANNEL_LOGIC;
1756 }
1757
1758 return false;
1759}
1760
1761void StoreSession::MakeChunkName(char *chunk_name, int chunk_num, int index, int type, int version)
1762{

Callers 3

acceptMethod · 0.80
save_runMethod · 0.80
export_runMethod · 0.80

Calls 2

sizeMethod · 0.80
get_typeMethod · 0.45

Tested by

no test coverage detected