// 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. #include "stdafx.h" #include "contourlevels.h" ///////////////////////////////////////////////////////////////////////////// // CContourLevels properties LPDISPATCH CContourLevels::GetParent() { LPDISPATCH result; GetProperty(0x1, VT_DISPATCH, (void*)&result); return result; } BOOL CContourLevels::GetIsDefault() { BOOL result; GetProperty(0x2, VT_BOOL, (void*)&result); return result; } void CContourLevels::SetIsDefault(BOOL propVal) { SetProperty(0x2, VT_BOOL, propVal); } long CContourLevels::GetNumLevels() { long result; GetProperty(0x3, VT_I4, (void*)&result); return result; } void CContourLevels::SetNumLevels(long propVal) { SetProperty(0x3, VT_I4, propVal); } ///////////////////////////////////////////////////////////////////////////// // CContourLevels operations double CContourLevels::GetValue(const VARIANT& Index) { double result; static BYTE parms[] = VTS_VARIANT; InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms, &Index); return result; } void CContourLevels::SetValue(const VARIANT& Index, double newValue) { static BYTE parms[] = VTS_VARIANT VTS_R8; InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, &Index, newValue); } void CContourLevels::Add(double Value) { static BYTE parms[] = VTS_R8; InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms, Value); } void CContourLevels::Remove(double Value) { static BYTE parms[] = VTS_R8; InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms, Value); } long CContourLevels::CalcIndex(double Value) { long result; static BYTE parms[] = VTS_R8; InvokeHelper(0x6, DISPATCH_METHOD, VT_I4, (void*)&result, parms, Value); return result; } BOOL CContourLevels::Load(LPCTSTR FileName) { BOOL result; static BYTE parms[] = VTS_BSTR; InvokeHelper(0x7, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, FileName); return result; } BOOL CContourLevels::Save(LPCTSTR FileName) { BOOL result; static BYTE parms[] = VTS_BSTR; InvokeHelper(0x8, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, FileName); return result; }