48 lines
560 B
C++
48 lines
560 B
C++
#pragma once
|
|
#include "RBGroups.h"
|
|
|
|
class RBList
|
|
{
|
|
public:
|
|
|
|
RBList();
|
|
|
|
RBList(int,...);
|
|
|
|
RBList(const resbuf *rb);
|
|
|
|
RBList (const RBList & src);
|
|
|
|
~RBList();
|
|
|
|
operator resbuf *();
|
|
|
|
operator void * ();
|
|
|
|
int operator !() const;
|
|
|
|
void operator = (const RBList & src);
|
|
|
|
void Append(resbuf * lst);
|
|
|
|
void FreeGroups();
|
|
|
|
RBGroups *SearchNode(int cd) const;
|
|
|
|
int GetData (int cd,void *buf) const;
|
|
|
|
int SetData(int cd,...);
|
|
|
|
public:
|
|
|
|
PGroups groups;
|
|
|
|
protected:
|
|
|
|
int _SetData(int,void *);
|
|
|
|
private:
|
|
|
|
int SizeOfType(int type)const;
|
|
};
|