aboutsummaryrefslogtreecommitdiff
path: root/src/variable.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/variable.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/variable.h b/src/variable.h
index c8679a8..260c96a 100644
--- a/src/variable.h
+++ b/src/variable.h
@@ -30,7 +30,7 @@ public:
30 Variable( int iVal ); 30 Variable( int iVal );
31 Variable( double fVal ); 31 Variable( double fVal );
32 Variable( bool bVal ); 32 Variable( bool bVal );
33 Variable( const Bu::FString &sVal ); 33 Variable( const Bu::String &sVal );
34 Variable( const char *sVal ); 34 Variable( const char *sVal );
35 Variable( const Variable &v ); 35 Variable( const Variable &v );
36 Variable( const class AstLeaf &l ); 36 Variable( const class AstLeaf &l );
@@ -43,7 +43,7 @@ public:
43 Variable( const VarList &lst ); 43 Variable( const VarList &lst );
44 virtual ~Variable(); 44 virtual ~Variable();
45 45
46 static Variable mkRef( const Bu::FString &sVal ); 46 static Variable mkRef( const Bu::String &sVal );
47 47
48 Type getType() const; 48 Type getType() const;
49 49
@@ -52,7 +52,7 @@ public:
52 int getInt() const; 52 int getInt() const;
53 double getFloat() const; 53 double getFloat() const;
54 bool getBool() const; 54 bool getBool() const;
55 const Bu::FString &getString() const; 55 const Bu::String &getString() const;
56 const VarList &getList() const; 56 const VarList &getList() const;
57 57
58 // Conversion functions, they'll return the requested type, maybe an error 58 // Conversion functions, they'll return the requested type, maybe an error
@@ -60,7 +60,7 @@ public:
60 int toInt() const; 60 int toInt() const;
61 double toFloat() const; 61 double toFloat() const;
62 bool toBool() const; 62 bool toBool() const;
63 Bu::FString toString() const; 63 Bu::String toString() const;
64 VarList toList() const; 64 VarList toList() const;
65 65
66 Variable toType( Type eNewType ) const; 66 Variable toType( Type eNewType ) const;
@@ -76,7 +76,7 @@ public:
76 const Variable &operator=( const int &rhs ); 76 const Variable &operator=( const int &rhs );
77 const Variable &operator=( const double &rhs ); 77 const Variable &operator=( const double &rhs );
78 const Variable &operator=( const bool &rhs ); 78 const Variable &operator=( const bool &rhs );
79 const Variable &operator=( const Bu::FString &rhs ); 79 const Variable &operator=( const Bu::String &rhs );
80 80
81 const Variable &operator+=( const Variable &rhs ); 81 const Variable &operator+=( const Variable &rhs );
82 const Variable &operator<<( const Variable &rhs ); 82 const Variable &operator<<( const Variable &rhs );
@@ -100,7 +100,7 @@ private:
100 int iVal; 100 int iVal;
101 double fVal; 101 double fVal;
102 bool bVal; 102 bool bVal;
103 Bu::FString *sVal; 103 Bu::String *sVal;
104 VarList *lVal; 104 VarList *lVal;
105 } uVal; 105 } uVal;
106 106