Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

SparseBitvector.cpp

Go to the documentation of this file.
00001 /*
00002  * SparseBitvector.cpp
00003  *
00004  * Time-stamp: <05/05/11 13:42:27 lars>
00005  *
00006  */
00007 
00008 #include "SparseBitvector.hpp"
00009 
00010 // int __EMPTY_SPARSE_BITVECTOR[] = {};
00011 // int __EMPTY_SPARSE_BITVECTOR_LENGTH = 0;
00012 
00013 ostream& operator<< (ostream& out, SparseBitvector const & vector) {
00014   if (vector.length() == 0)
00015     out << "[empty]";
00016   else {
00017     out << vector[0];
00018     for (int i = 1; i < vector.length(); i++)
00019       out << " " << vector[i];
00020   }
00021   return out;
00022 }

Generated on Sun Sep 17 17:50:40 2006 for FIM environment by  doxygen 1.4.4