Files
envi-code/SourceCode/Code2026/tg_shs/inc/geo/TSqlCondition.h
T
2026-09-28 15:28:50 +08:00

64 lines
1007 B
C++

//-------------------------------------------------------------------------------------------------------+
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
// = FileName : TSqlCondition Àà
// = Version : ver2.0
// = Author : wlw
// = CreateDate : 2002-09-09
// = Description: TSqlCondition ÉùÃ÷
// = Maintainers:
//
//-------------------------------------------------------------------------------------------------------+
#ifndef _TSQLCONDITION_H_
#define _TSQLCONDITION_H_
#ifndef _TACSTRING_H_
#include "TACString.h"
#endif
#ifndef _TWCSTRING_H_
#include "TWCString.h"
#endif
enum DataType
{
SQL_INT,
SQL_REAL,
SQL_CHAR,
SQL_DATE
};
enum DataCompare
{
GREAT,
GREAT_EQUAL,
EQUAL,
LITTLE,
LITTLE_EQUAL,
NOT_EQUAL
};
class GEOAPI TSqlCondition
{
public:
TSqlCondition();
~TSqlCondition();
union
{
int rint;
double rreal;
char *rstring;
};
public:
DataType type;
DataCompare opr;
TCString fieldName;
};
#endif