mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
638 B
37 lines
638 B
|
|
#ifndef __BYTEVECT_H__
|
|
|
|
#define __BYTEVECT_H__
|
|
|
|
#include "RefCnt.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CByteVector
|
|
// Maintains a byte vector in global space.
|
|
|
|
class CByteVector : public CRCObject
|
|
{
|
|
|
|
public:
|
|
|
|
// Constructors
|
|
CByteVector();
|
|
|
|
// Destructor
|
|
virtual ~CByteVector();
|
|
|
|
// Reference Counting Routines --
|
|
|
|
DECLARE_REF_COUNTERS(CByteVector)
|
|
|
|
// Interface
|
|
void SetSize(UINT length);
|
|
PWCHAR ElementAt(UINT index); //rmk
|
|
|
|
private:
|
|
|
|
PWCHAR m_pb; //rmk
|
|
UINT m_cb;
|
|
};
|
|
|
|
#endif // __BYTEVECT_H__
|