SchematicViewProperty.h

Go to the documentation of this file.
00001 //**************************************************************************/
00002 // Copyright (c) 1998-2006 Autodesk, Inc.
00003 // All rights reserved.
00004 // 
00005 // These coded instructions, statements, and computer programs contain
00006 // unpublished proprietary information written by Autodesk, Inc., and are
00007 // protected by Federal copyright law. They may not be disclosed to third
00008 // parties or copied or duplicated in any form, in whole or in part, without
00009 // the prior written consent of Autodesk, Inc.
00010 //**************************************************************************/
00011 #pragma once
00012 
00013 #include "CoreExport.h"
00014 #include "AnimProperty.h"
00015 #include "AnimPropertyID.h"
00016 #include "maxtypes.h"
00017 
00018 // forward declarations
00019 class ILoad;
00020 class ISave;
00021 
00022 static const DWORD SV_NO_REF_INDEX = 0xFFFFFFFF;
00023 class SchematicViewProperty : public AnimProperty
00024 {
00025 private:
00026     DWORD nodeRefIndex;
00027 
00028 public:             
00029     DWORD ID() { return PROPID_SVDATA; }
00030     CoreExport ~SchematicViewProperty() {}
00031     CoreExport SchematicViewProperty();
00032 
00033     DWORD GetRefIndex();
00034     void SetRefIndex(DWORD refIndex);
00035     bool GetRefSaveMark();
00036 
00037     CoreExport IOResult Load(ILoad *iload);
00038     CoreExport IOResult Save(ISave *isave);
00039 };