16 name = strrchr(name,
'_');
19 if (0 == name)
return false;
20 if (
'X' != *(++name))
return false;
21 x = strtol(++name, const_cast<char**>(&name), 10);
24 if (0 == name)
return false;
25 if (
'Y' != *(name++))
return false;
26 y = strtol(name, const_cast<char**>(&name), 10);
29 return ((0 != name) && (0 == *name));