2023-10-03 14:23:56 +00:00
|
|
|
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
2020-04-22 16:56:21 +00:00
|
|
|
|
//
|
|
|
|
|
// Purpose: Arbitrary length bit string
|
|
|
|
|
// ** NOTE: This class does NOT override the bitwise operators
|
|
|
|
|
// as doing so would require overriding the operators
|
|
|
|
|
// to allocate memory for the returned bitstring. This method
|
|
|
|
|
// would be prone to memory leaks as the calling party
|
|
|
|
|
// would have to remember to delete the memory. Funtions
|
|
|
|
|
// are used instead to require the calling party to allocate
|
|
|
|
|
// and destroy their own memory
|
|
|
|
|
//
|
|
|
|
|
// $Workfile: $
|
|
|
|
|
// $Date: $
|
|
|
|
|
//
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
// $Log: $
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
|
|
|
|
#ifndef BITSTRING_H
|
|
|
|
|
#define BITSTRING_H
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "bitvec.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // BITSTRING_H
|