You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.5 KiB
C++
66 lines
2.5 KiB
C++
#if !defined(AFX_SHAPEFILECATEGORIES_H__A753313F_F752_4794_AB7C_988ABC39FFDC__INCLUDED_)
|
|
#define AFX_SHAPEFILECATEGORIES_H__A753313F_F752_4794_AB7C_988ABC39FFDC__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
|
|
|
|
// NOTE: Do not modify the contents of this file. If this class is regenerated by
|
|
// Microsoft Visual C++, your modifications will be overwritten.
|
|
|
|
|
|
// Dispatch interfaces referenced by this interface
|
|
class CCallback;
|
|
class CShapefileCategory;
|
|
class CShapefile;
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CShapefileCategories wrapper class
|
|
|
|
class CShapefileCategories : public COleDispatchDriver
|
|
{
|
|
public:
|
|
CShapefileCategories() {} // Calls COleDispatchDriver default constructor
|
|
CShapefileCategories(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
|
|
CShapefileCategories(const CShapefileCategories& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
|
|
|
|
// Attributes
|
|
public:
|
|
|
|
// Operations
|
|
public:
|
|
long GetLastErrorCode();
|
|
CString GetErrorMsg(long ErrorCode);
|
|
CCallback GetGlobalCallback();
|
|
void SetGlobalCallback(LPDISPATCH newValue);
|
|
CString GetKey();
|
|
void SetKey(LPCTSTR lpszNewValue);
|
|
CShapefileCategory Add(LPCTSTR Name);
|
|
CShapefileCategory Insert(long Index, LPCTSTR Name);
|
|
BOOL Remove(long Index);
|
|
void Clear();
|
|
CShapefileCategory GetItem(long Index);
|
|
void SetItem(long Index, LPDISPATCH newValue);
|
|
BOOL Generate(long FieldIndex, long ClassificationType, long numClasses);
|
|
long GetCount();
|
|
CShapefile GetShapefile();
|
|
void ApplyExpressions();
|
|
void ApplyExpression(long CategoryIndex);
|
|
void ApplyColorScheme(long Type, LPDISPATCH ColorScheme);
|
|
void ApplyColorScheme2(long Type, LPDISPATCH ColorScheme, long ShapeElement);
|
|
void ApplyColorScheme3(long Type, LPDISPATCH ColorScheme, long ShapeElement, long CategoryStartIndex, long CategoryEndIndex);
|
|
CString GetCaption();
|
|
void SetCaption(LPCTSTR lpszNewValue);
|
|
BOOL MoveUp(long Index);
|
|
BOOL MoveDown(long Index);
|
|
CString Serialize();
|
|
void Deserialize(LPCTSTR newVal);
|
|
BOOL AddRange(long FieldIndex, long ClassificationType, long numClasses, const VARIANT& MinValue, const VARIANT& MaxValue);
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SHAPEFILECATEGORIES_H__A753313F_F752_4794_AB7C_988ABC39FFDC__INCLUDED_)
|