예제 #1
0
  Value 
  ValueIteratorBase::key () const
  {
    const Value::CZString czstring = (*current_).first;
    if (czstring.c_str ())
      {
	if (czstring.isStaticString ())
	  return Value (StaticString (czstring.c_str ()));
	return Value (czstring.c_str ());
      }
    return Value (czstring.index ());
  }
예제 #2
0
 unsigned 
 ValueIteratorBase::index () const
 {
   const Value::CZString czstring = (*current_).first;
   if (!czstring.c_str ())
     return czstring.index ();
   return unsigned (-1);
 }