Subversion Repositories spk

Rev

Rev 94 | Rev 104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 94 Rev 101
Line 57... Line 57...
57
	inline operator const std::string &() const		{ return (const std::string &)*this; }
57
	inline operator const std::string &() const		{ return (const std::string &)*this; }
58
	inline operator const int () const				{ return this->toLong(); }
58
	inline operator const int () const				{ return this->toLong(); }
59
	inline operator const long () const				{ return this->toLong(); }
59
	inline operator const long () const				{ return this->toLong(); }
60
	inline operator const double () const			{ return this->toDouble(); }
60
	inline operator const double () const			{ return this->toDouble(); }
61
	inline operator const float () const			{ return this->toFloat(); }
61
	inline operator const float () const			{ return this->toFloat(); }
62
	inline operator const bool () const				{ return (this->toLong()) ? true : false; }
62
	inline operator const bool () const				{ return (this->empty() ? false : ((this->toLong()) ? true : false)); }
63
 
63
 
64
	// assignment operators
64
	// assignment operators
65
	const String &operator= ( const String &str );
65
	const String &operator= ( const String &str );
66
	const String &operator= ( const std::string &str );
66
	const String &operator= ( const std::string &str );
67
	const String &operator= ( const char *str );
67
	const String &operator= ( const char *str );
Line 109... Line 109...
109
 
109
 
110
	bool operator!= ( const char *str ) const;
110
	bool operator!= ( const char *str ) const;
111
	bool operator!= ( const unsigned char *str ) const;
111
	bool operator!= ( const unsigned char *str ) const;
112
	bool operator!= ( const std::string &str ) const;
112
	bool operator!= ( const std::string &str ) const;
113
	bool operator!= ( const String &str ) const;
113
	bool operator!= ( const String &str ) const;
-
 
114
 
-
 
115
	bool operator !() const;
114
 
116
 
115
	bool Compare(const String &str, bool bCaseSensative = false) const;
117
	bool Compare(const String &str, bool bCaseSensative = false) const;
116
	bool Compare(const unsigned char *str, bool bCaseSensative = false) const;
118
	bool Compare(const unsigned char *str, bool bCaseSensative = false) const;
117
	bool Compare(const char *str, bool bCaseSensative = false) const;
119
	bool Compare(const char *str, bool bCaseSensative = false) const;
118
 
120