Hi, i would like to have these functions:
bool HasAttribute(std::string const & name)
{
ValidatePointer();
return m_tiXmlPointer->Attribute( name.c_str() );
}
Default-value-way isn't enough, because any value can be in attribute-
value, and it's expensive to use exceptions to check only existence.
And second function:
void RemoveAttribute(std::string const & name)
{
ValidatePointer();
m_tiXmlPointer->RemoveAttribute()
}
For now i don't see any way to do this, so i added this function.
Thanks.
Original issue reported on code.google.com by VoidE...@gmail.com on 5 Jul 2008 at 11:11
Original issue reported on code.google.com by
VoidE...@gmail.com
on 5 Jul 2008 at 11:11