xsi_delta.h Source File
 
 
 
xsi_delta.h
Go to the documentation of this file.
00001 //*****************************************************************************
00010 //*****************************************************************************
00011 
00012 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00013 #pragma once
00014 #endif
00015 
00016 #ifndef __XSIDELTA_H__
00017 #define __XSIDELTA_H__
00018 
00019 #include <xsi_projectitem.h>
00020 
00021 namespace XSI {
00022 
00023 class ActionDelta;
00024 
00025 //*****************************************************************************
00117 //*****************************************************************************
00118 class SICPPSDKDECL Delta : public ProjectItem
00119 {
00120 public:
00122         Delta();
00123 
00125         ~Delta();
00126 
00130         Delta(const CRef& in_ref);
00131 
00135         Delta(const Delta& in_obj);
00136 
00141         bool IsA( siClassID in_ClassID) const;
00142 
00146         siClassID GetClassID() const;
00147 
00153         Delta& operator=(const Delta& in_obj);
00154 
00160         Delta& operator=(const CRef& in_ref);
00161 
00169         CStatus Save( const CString& in_FileName );
00170 
00226         CStatus Load( const CString& in_FileName );
00227 
00235         CStatus Apply()const;
00236 
00286         ActionDelta AddAction( siModificationDeltaType in_type );
00287 
00294         CStatus RemoveAction( siModificationDeltaType in_type );
00295 
00388         CStatus AddOverrideFromPreset( const CString& in_Preset );
00389 
00452         CStatus RemoveOverride();
00453 
00458         CString GetTarget()const;
00459 
00523         CStatus PutTarget( const CString& in_Target );
00524 
00529         bool GetMute()const;
00530 
00577         CStatus PutMute( const bool in_Mute );
00578 
00583         CRefArray GetActionDeltas()const;
00584 
00585         private:
00586         Delta * operator&() const;
00587         Delta * operator&();
00588 };
00589 
00590 };
00591 
00592 #endif // __XSIDELTA_H__