17 ExpandedIdentifier::element_vector::const_iterator
it;
21 for (
it =
v.begin ();
it !=
v.end (); ++
it)
24 else std::cout <<
".";
47 if (
text.empty())
return;
48 const char* ctext =
text.c_str ();
55 sep = strchr (ctext,
'/');
58 sscanf (ctext,
"%80d", &
value);
62 if (
sep ==
nullptr)
break;
80 while ((
field < my_fields) &&
81 (
field < other_fields))
86 if (my_field < other_field)
return (1);
87 if (my_field > other_field)
return (0);
96 ExpandedIdentifier::operator std::string ()
const
103 if (my_fields == 0)
return (
result);
106 for (
size_type field_number = 0; field_number < my_fields; field_number++)
110 if (field_number > 0)
result +=
"/";
112 sprintf (temp,
"%d",
value);