Remove long long stuff again.
This commit is contained in:
22
tinyxml2.h
22
tinyxml2.h
@@ -540,7 +540,6 @@ public:
|
||||
|
||||
// converts primitive types to strings
|
||||
static void ToStr( int v, char* buffer, int bufferSize );
|
||||
static void ToStr( long long v, char* buffer, int bufferSize );
|
||||
static void ToStr( unsigned v, char* buffer, int bufferSize );
|
||||
static void ToStr( bool v, char* buffer, int bufferSize );
|
||||
static void ToStr( float v, char* buffer, int bufferSize );
|
||||
@@ -548,7 +547,6 @@ public:
|
||||
|
||||
// converts strings to primitive types
|
||||
static bool ToInt( const char* str, int* value );
|
||||
static bool ToLongLong( const char* str, long long* value );
|
||||
static bool ToUnsigned( const char* str, unsigned* value );
|
||||
static bool ToBool( const char* str, bool* value );
|
||||
static bool ToFloat( const char* str, float* value );
|
||||
@@ -1095,8 +1093,6 @@ public:
|
||||
/// Set the attribute to value.
|
||||
void SetAttribute( int value );
|
||||
/// Set the attribute to value.
|
||||
void SetAttribute( long long value );
|
||||
/// Set the attribute to value.
|
||||
void SetAttribute( unsigned value );
|
||||
/// Set the attribute to value.
|
||||
void SetAttribute( bool value );
|
||||
@@ -1312,11 +1308,6 @@ public:
|
||||
a->SetAttribute( value );
|
||||
}
|
||||
/// Sets the named attribute to value.
|
||||
void SetAttribute( const char* name, long long value ) {
|
||||
XMLAttribute* a = FindOrCreateAttribute( name );
|
||||
a->SetAttribute( value );
|
||||
}
|
||||
/// Sets the named attribute to value.
|
||||
void SetAttribute( const char* name, unsigned value ) {
|
||||
XMLAttribute* a = FindOrCreateAttribute( name );
|
||||
a->SetAttribute( value );
|
||||
@@ -1425,9 +1416,6 @@ public:
|
||||
/// Convenience method for setting text inside and element. See SetText() for important limitations.
|
||||
void SetText( float value );
|
||||
|
||||
/// Sets the text to the given long long.
|
||||
void SetText( long long inNum );
|
||||
|
||||
/// Convenience for QueryIntText when you don't care if the text won't convert.
|
||||
int IntText()
|
||||
{
|
||||
@@ -1436,14 +1424,6 @@ public:
|
||||
return i;
|
||||
}
|
||||
|
||||
/// Convenience for QueryLongLongText when you don't care if the text won't convert.
|
||||
long long LongLongText()
|
||||
{
|
||||
long long i = 0;
|
||||
QueryLongLongText( &i );
|
||||
return i;
|
||||
}
|
||||
|
||||
/// Convenience for QueryUnsignedText when you don't care if the text won't convert.
|
||||
unsigned UnsignedText()
|
||||
{
|
||||
@@ -1509,8 +1489,6 @@ public:
|
||||
*/
|
||||
XMLError QueryIntText( int* ival ) const;
|
||||
/// See QueryIntText()
|
||||
XMLError QueryLongLongText( long long* ival ) const;
|
||||
/// See QueryIntText()
|
||||
XMLError QueryUnsignedText( unsigned* uval ) const;
|
||||
/// See QueryIntText()
|
||||
XMLError QueryBoolText( bool* bval ) const;
|
||||
|
||||
Reference in New Issue
Block a user