Namespaces | |
namespace | param |
Functions | |
bool | isSame (const std::vector< std::string > &lhs, const std::vector< std::string > &rhs) |
Checks to see if sets are the same(same members, same order) Wraps std::equal method. | |
bool | isSimilar (std::vector< std::string > lhs, std::vector< std::string > rhs) |
Checks to see if sets are similar(same members, any order) NOTE: Vectors are passed by copy because they are modified by the function(i.e. ordered). This function should not be used for large vectors or in loops (it is slow!) |
bool industrial_utils::isSame | ( | const std::vector< std::string > & | lhs, |
const std::vector< std::string > & | rhs | ||
) |
bool industrial_utils::isSimilar | ( | std::vector< std::string > | lhs, |
std::vector< std::string > | rhs | ||
) |
Checks to see if sets are similar(same members, any order) NOTE: Vectors are passed by copy because they are modified by the function(i.e. ordered). This function should not be used for large vectors or in loops (it is slow!)
lhs | first vector |
rhs | second vector |