00001 //***************************************************************************** 00011 //***************************************************************************** 00012 #if (_MSC_VER > 1000) || defined(SGI_COMPILER) 00013 #pragma once 00014 #endif 00015 00016 #ifndef __XSISOURCE_H__ 00017 #define __XSISOURCE_H__ 00018 00019 #include <xsi_projectitem.h> 00020 00021 namespace XSI { 00022 00023 class Property ; 00024 00025 //***************************************************************************** 00328 //***************************************************************************** 00329 class SICPPSDKDECL Source : public ProjectItem 00330 { 00331 public: 00333 Source(); 00334 00336 ~Source(); 00337 00341 Source(const CRef& in_ref); 00342 00346 Source(const Source& in_obj); 00347 00352 bool IsA( siClassID in_ClassID) const; 00353 00357 siClassID GetClassID() const; 00358 00364 Source& operator=(const Source& in_obj); 00365 00371 Source& operator=(const CRef& in_ref); 00372 00385 Property AddProperty 00386 ( 00387 const CString& in_preset, 00388 bool in_bBranch = false , 00389 const CString& in_name = CString() 00390 ); 00391 00396 CRefArray GetProperties() const ; 00397 00398 private: 00399 Source * operator&() const; 00400 Source * operator&(); 00401 }; 00402 00403 } 00404 00405 #endif // __XSISOURCE_H__