Quellcode durchsuchen

Add QueryAttribute for const char**

justnope vor 6 Jahren
Ursprung
Commit
5ee20feaf0
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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 );