00001 //***************************************************************************** 00011 //***************************************************************************** 00012 #if (_MSC_VER > 1000) || defined(SGI_COMPILER) 00013 #pragma once 00014 #endif 00015 00016 #ifndef __XSICLIPCONTAINER_H__ 00017 #define __XSICLIPCONTAINER_H__ 00018 00019 #include <xsi_clip.h> 00020 00021 namespace XSI { 00022 00023 class ClipRelation; 00024 //***************************************************************************** 00125 //***************************************************************************** 00126 class SICPPSDKDECL ClipContainer : public Clip 00127 { 00128 public: 00130 ClipContainer(); 00131 00133 ~ClipContainer(); 00134 00138 ClipContainer(const CRef& in_ref); 00139 00143 ClipContainer(const ClipContainer& in_obj); 00144 00149 bool IsA( siClassID in_ClassID) const; 00150 00154 siClassID GetClassID() const; 00155 00161 ClipContainer& operator=(const ClipContainer& in_obj); 00162 00168 ClipContainer& operator=(const CRef& in_ref); 00169 00194 CRefArray GetClips() const; 00195 00200 CRefArray GetTracks() const; 00201 00206 CRefArray GetTransitions() const; 00207 00213 CRefArray GetNestedRelations() const; 00214 00333 ClipRelation AddRelation 00334 ( 00335 const Clip& in_rMasterClip, 00336 const Clip& in_rSlaveClip, 00337 const CString& in_name = CString() 00338 ); 00339 00340 00341 private: 00342 ClipContainer * operator&() const; 00343 ClipContainer * operator&(); 00344 }; 00345 00346 } 00347 00348 #endif // __XSICLIPCONTAINER_H__