bitarray.h File Reference
 
 
 
bitarray.h File Reference
#include "GeomExport.h"
#include "maxheap.h"
#include "WindowsDefines.h"
#include <limits.h>
#include "maxtypes.h"
#include "assert1.h"

Classes

class   BitArrayCallback
class   BitArray
class   BitArray::NumberSetProxy

Enumerations

enum   { LEFT_BITSHIFT = 0, RIGHT_BITSHIFT = 1 }

Functions

template<typename T >
operator+ (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
operator- (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
operator* (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
operator/ (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
operator% (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
bool  operator<= (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
bool  operator< (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
bool  operator> (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
bool  operator>= (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
bool  operator== (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
bool  operator!= (T n, const BitArray::NumberSetProxy &proxy)
template<typename T >
void  operator+= (T &n, const BitArray::NumberSetProxy &proxy)
template<typename T >
void  operator-= (T &n, const BitArray::NumberSetProxy &proxy)

Enumeration Type Documentation

anonymous enum

Function Documentation

T operator+ ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return n + proxy.operator int();
}
T operator- ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return n - proxy.operator int();
}
T operator* ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return proxy.operator *(n);
}
T operator/ ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return n / proxy.operator int();
}
T operator% ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return n % proxy.operator int();
}
bool operator<= ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return proxy.operator >=(n);
}
bool operator< ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return proxy.operator >(n);
}
bool operator> ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return proxy.operator <(n);
}
bool operator>= ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return proxy.operator <=(n);
}
bool operator== ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return proxy.operator ==(n);
}
bool operator!= ( n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        return proxy.operator !=(n);
}
void operator+= ( T &  n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        n += proxy.operator int();
}
void operator-= ( T &  n,
const BitArray::NumberSetProxy proxy 
) [inline]
{
        n -= proxy.operator int();
}