summaryrefslogtreecommitdiff
path: root/src/packedintarray.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-16 10:50:07 -0600
committerMike Buland <mike@xagasoft.com>2013-04-16 10:50:07 -0600
commit25989c6d3911b1d29a5866e668bff52537893afb (patch)
treedd07375016a8a3836605cf4e2d9eca829193693f /src/packedintarray.h
parent44542adf023315d60a8ffc4863f2b161b3c1eb90 (diff)
downloadclic-25989c6d3911b1d29a5866e668bff52537893afb.tar.gz
clic-25989c6d3911b1d29a5866e668bff52537893afb.tar.bz2
clic-25989c6d3911b1d29a5866e668bff52537893afb.tar.xz
clic-25989c6d3911b1d29a5866e668bff52537893afb.zip
Added operators: -, ==, !=, <, >, <=, >=
Still working on division, needed some other operators to make it work.
Diffstat (limited to 'src/packedintarray.h')
-rw-r--r--src/packedintarray.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/packedintarray.h b/src/packedintarray.h
index 8fcf794..a865df5 100644
--- a/src/packedintarray.h
+++ b/src/packedintarray.h
@@ -17,8 +17,9 @@ public:
17 void remove(); 17 void remove();
18 Unit operator[]( int idx ) const { return get( idx ); } 18 Unit operator[]( int idx ) const { return get( idx ); }
19 Unit get( int idx ) const; 19 Unit get( int idx ) const;
20 Unit set( int idx, Unit i ); 20 void set( int idx, Unit i );
21 int getSize() const { return iCount; } 21 int getSize() const { return iCount; }
22 void set( const PackedIntArray &rSrc, int iStart, int iSize );
22 23
23 Bu::String toBitString() const; 24 Bu::String toBitString() const;
24 Bu::String toString() const; 25 Bu::String toString() const;