BitVectUtils.h File Reference

#include "BitVects.h"
#include <string>

Go to the source code of this file.

Functions

template<typename T>
void FromDaylightString (T &sbv, std::string s)
 Construct a BitVect from the ASCII representation of a Daylight fingerprint string.
template<typename T>
void FromBitString (T &sbv, const std::string &s)
 Construct a BitVect from the ASCII representation of a bit string (i.e. a bunch of zeros and ones).
ExplicitBitVectconvertToExplicit (const SparseBitVect *sbv)
 Convert a SparseBitVector to an ExplicitBitVector.


Function Documentation

ExplicitBitVect* convertToExplicit ( const SparseBitVect sbv  ) 

Convert a SparseBitVector to an ExplicitBitVector.

Returns:
a pointer to an ExplicitBitVector Note: the caller is responsible for deleteing this.

template<typename T>
void FromBitString ( T &  sbv,
const std::string &  s 
) [inline]

Construct a BitVect from the ASCII representation of a bit string (i.e. a bunch of zeros and ones).

template<typename T>
void FromDaylightString ( T &  sbv,
std::string  s 
) [inline]

Construct a BitVect from the ASCII representation of a Daylight fingerprint string.


Generated on Tue Oct 7 06:10:11 2008 for RDCode by  doxygen 1.5.5