]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/scalar.hh
release: 1.1.60
[lilypond.git] / flower / include / scalar.hh
index f78776709e0589ca7aa641da5ca5230bb4b809f3..e76841b561099b16b6e27f358702461e9dbc4a9f 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the Flower Library
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
@@ -18,6 +18,7 @@ struct Scalar : public String
 {
   Scalar (Real r) { *this = to_str (r); }
   Scalar (int i) { *this = to_str (i); }
+  Scalar (long l) { *this = to_str (l); }
   Scalar (char c) { *this = to_str (c); }
   Scalar (char const *c) : String (c) {}    
   Scalar (String s) : String (s) {}
@@ -25,6 +26,8 @@ struct Scalar : public String
   operator Rational();
   Scalar() {}
   bool isnum_b() const;
+  bool isdir_b() const;
+  bool isint_b() const;
   operator Real();
   operator int();
   bool to_bool () const;