|
μHAL (v2.7.9)
Part of the IPbus software repository
|
Go to the documentation of this file.
30 #ifndef _uhal_detail_utilities_hpp_
31 #define _uhal_detail_utilities_hpp_
41 class ClientInterface;
47 std::string
getAddressDescription(
const Node& aNode,
const uint32_t aAddress,
const size_t& aMaxListSize);
50 std::string
getAddressDescription(
const ClientInterface& aClient,
const uint32_t aAddress,
const size_t& aMaxListSize);
54 std::vector<std::pair<const Node*, const Node*> >
getAddressOverlaps(
const Node& aNode);
58 bool writeNodeOverlapReport(
const std::string& aFilePath,
const std::vector<std::pair<const Node*, const Node*> >& aNodes,
const std::string& aHeader);
bool compareNodeAddr(const Node *aNodeL, const Node *aNodeR)
std::vector< std::pair< const Node *, const Node * > > getAddressOverlaps(const Node &aNode)
void printNodeOverlapDescription(std::ostream &aStream, const Node &aNode1, const Node &aNode2)
bool writeNodeOverlapReport(const std::string &aFilePath, const std::vector< std::pair< const Node *, const Node * > > &aNodes, const std::string &aHeader)
std::string getAddressDescription(const ClientInterface &, const uint32_t, const size_t &)
Generates a short string summarising which nodes match the specified address.