Back to index

lshw  02.16
jedec.h File Reference
#include <string>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


std::string jedec_resolve (const std::string &)

Function Documentation

std::string jedec_resolve ( const std::string &  )

Definition at line 77 of file

  string result = hw::strip(s);

  if(matches(result, "^0x"))
    result.erase(0, 2);
  if(!matches(result, "^[0-9a-fA-F]+$")) return s;

  for(int i=0; jedec_id[i]; i+=2) {
    if(matches(result, "^" + string(jedec_id[i]), REG_ICASE)) return string(jedec_id[i+1]);

  return s;

Here is the call graph for this function:

Here is the caller graph for this function: