bool GetSuitNode(const int nID, NFIVirtualNode& node) { std::string strData = boost::lexical_cast<std::string>(nID); if (GetSuitNode(strData, node)) { return true; } return false; }
bool GetSuitNode(const std::string& str, NFIVirtualNode& node) { boost::crc_32_type ret; ret.process_bytes(str.c_str(), str.length()); uint32_t nCRC32 = ret.checksum(); if (GetSuitNode(nCRC32, node)) { return true; } return false; }
bool GetSuitNode(NFIVirtualNode& node) { int nID = 0; return GetSuitNode(nID, node); }
bool GetSuitNode(NFCMachineNode& node) { int nID = 0; return GetSuitNode(nID, node); }