Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

58 lines
954 B
C++

#pragma once
#include "globalDefine.h"
class RBGroups
{
public:
RBGroups(int i=0);
RBGroups(ads_real r);
RBGroups(const ads_point p);
RBGroups(LPCTSTR s);
RBGroups(ads_name n);
RBGroups(long l);
RBGroups(const RBGroups& src);
//Extend data
RBGroups(int, int i);
RBGroups(int, ads_real r);
RBGroups(int strOrHandle, LPCTSTR s);
~RBGroups();
// 重新定义 new, delete操作符, 以便与ADS兼容
void *operator new(size_t);
void operator delete(void *a);
operator resbuf & ();
operator resbuf * ();
int operator == (const RBGroups &other) const;
int operator != (const RBGroups &other) const;
RBGroups& operator = (const RBGroups &src);
public:
RBGroups *next;
union {
short type;
short code;
};
union {
ads_real real;
ads_point point;
short shortInt;
LPTSTR string;
ads_name adsName;
long longInt;
STBinary binary;
};
};
typedef RBGroups *PGroups;
typedef RBGroups *PList;