Procházet zdrojové kódy

Add QueryAttribute for const char**

justnope před 5 roky
rodič
revize
5ee20feaf0
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      tinyxml2.h

+ 4 - 0
tinyxml2.h

@@ -1456,6 +1456,10 @@ public:
 		return QueryFloatAttribute( name, value );
 	}
 
+	XMLError QueryAttribute(const char* name, const char** value) const {
+		return QueryStringAttribute(name, value);
+		}
+
 	/// Sets the named attribute to value.
     void SetAttribute( const char* name, const char* value )	{
         XMLAttribute* a = FindOrCreateAttribute( name );