Add SetText() as analog to GetText().
This commit is contained in:
@@ -116,9 +116,9 @@ inline int TIXML_SNPRINTF( char* buffer, size_t size, const char* format, ... )
|
||||
#define TIXML_SSCANF sscanf
|
||||
#endif
|
||||
|
||||
static const int TIXML2_MAJOR_VERSION = 1;
|
||||
static const int TIXML2_MINOR_VERSION = 0;
|
||||
static const int TIXML2_PATCH_VERSION = 13;
|
||||
static const int TIXML2_MAJOR_VERSION = 1;
|
||||
static const int TIXML2_MINOR_VERSION = 0;
|
||||
static const int TIXML2_PATCH_VERSION = 13;
|
||||
|
||||
namespace tinyxml2
|
||||
{
|
||||
@@ -1369,6 +1369,8 @@ public:
|
||||
*/
|
||||
const char* GetText() const;
|
||||
|
||||
void SetText( const char* inText );
|
||||
|
||||
/**
|
||||
Convenience method to query the value of a child text node. This is probably best
|
||||
shown by example. Given you have a document is this form:
|
||||
|
||||
Reference in New Issue
Block a user