xsi_customprimitivecontext.h Source File
 
 
 
xsi_customprimitivecontext.h
Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __CUSTOMPRIMITIVECONTEXT_H__
00018 #define __CUSTOMPRIMITIVECONTEXT_H__
00019 
00020 #include <xsi_base.h>
00021 #include <xsi_value.h>
00022 #include <xsi_time.h>
00023 #include <xsi_context.h>
00024 
00025 namespace XSI {
00026 
00027 //*****************************************************************************
00040 //*****************************************************************************
00041 
00042 class SICPPSDKDECL CustomPrimitiveContext : public Context
00043 {
00044 public:
00045 
00047         CustomPrimitiveContext();
00048 
00050         ~CustomPrimitiveContext();
00051 
00055         CustomPrimitiveContext(const CRef& in_ref);
00056 
00060         CustomPrimitiveContext(const CustomPrimitiveContext& in_obj);
00061 
00066         bool IsA( siClassID in_ClassID) const;
00067 
00071         siClassID GetClassID() const;
00072 
00077         CustomPrimitiveContext& operator=(const CustomPrimitiveContext& in_obj);
00078 
00084         CustomPrimitiveContext& operator=(const CRef& in_ref);
00085 
00092         CRef GetGeometry() const;
00093 
00094         private:
00095         CustomPrimitiveContext * operator&() const;
00096         CustomPrimitiveContext * operator&();
00097 };
00098 
00099 };
00100 #endif // __CUSTOMPRIMITIVECONTEXT_H__