summaryrefslogtreecommitdiff
path: root/include/String.h
diff options
context:
space:
mode:
authorpixel <pixel>2002-11-29 20:39:44 +0000
committerpixel <pixel>2002-11-29 20:39:44 +0000
commited0ed93bc9a64412c04a73938b04079cad95c4af (patch)
tree985cbfc9e800d0ee6d28ebb542d6ee79c9a4cc96 /include/String.h
parenta69ef2131749e05bb43106d48139638de0144f69 (diff)
Yeah... reworking on it!
Diffstat (limited to 'include/String.h')
-rw-r--r--include/String.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/String.h b/include/String.h
index f8db2c7..27a7f2c 100644
--- a/include/String.h
+++ b/include/String.h
@@ -10,11 +10,16 @@ class String : public Base {
public:
String(const String &);
String(const char * = "");
+#if 0
+ String(const char * = "", ...);
+#endif
String(char);
String(int);
String(unsigned int);
+#ifdef USE_LONG_LONG
String(long long);
String(unsigned long long);
+#endif
String(double);
~String();
const char * set(const char *, ...);
@@ -48,6 +53,8 @@ class String : public Base {
bool operator<(const String &) const;
bool operator>(const String &) const;
char operator[](size_t i) const;
+ String & toupper();
+ String & tolower();
private:
String(int hs, const char *);
@@ -59,6 +66,8 @@ class String : public Base {
std::ostream & operator<<(std::ostream &, const String &);
std::istream & operator>>(std::istream &, String &);
+String operator+(const char *, const String &);
+
#else
#error This only works with a C++ compiler
#endif