OffsetOrderedList.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef OffsetOrderedList_INCLUDED
#define OffsetOrderedList_INCLUDED 1
#include "types.h"
#include "Owner.h"
#include "NCVector.h"
#include "Boolean.h"
#include "Mutex.h"
#ifdef SP_NAMESPACE
#endif
struct OffsetOrderedListBlock {
enum { size = 200 };
};
// This is an ordered list of Offsets with no duplicates.
// off must be > the last offset added.
// Find the last offset in the list <= off.
const;
void addByte(unsigned char b);
// bytes used in current block
int blockUsed_;
};
inline
{
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not OffsetOrderedList_INCLUDED */