xsi_schematicnode.h Source File
 
 
 
xsi_schematicnode.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 __XSISCHEMATICNODE_H__
00018 #define __XSISCHEMATICNODE_H__
00019 
00020 // make sure windows.h doesn't rename SchematicNode::GetObjet to GetObjectW
00021 #undef GetObject
00022 
00023 #include <xsi_uiobject.h>
00024 
00025 namespace XSI {
00026 
00027 //*****************************************************************************
00092 //*****************************************************************************
00093 
00094 class SICPPSDKDECL SchematicNode : public UIObject
00095 {
00096         public:
00097         
00099         SchematicNode();
00100     
00102         ~SchematicNode();
00103     
00107         SchematicNode(const CRef& in_ref);
00108     
00112         SchematicNode(const SchematicNode& in_obj);
00113     
00118         bool IsA( siClassID in_ClassID ) const;
00119     
00123         siClassID GetClassID() const;
00124     
00130         SchematicNode& operator=(const SchematicNode& in_obj);
00131     
00137         SchematicNode& operator=(const CRef& in_ref);
00138 
00142         bool IsExpanded( ) const;
00143 
00148         CStatus PutExpanded( bool in_bState );
00149 
00154         siBranchFlag IsSelected( ) const;
00155 
00161         CStatus Move( LONG in_x, LONG in_y ) ;
00162 
00166         CRefArray GetNodes( ) const;
00167 
00171         CRef GetObject( ) const;
00172 
00180         CStatus GetUIInfo( LONG& out_x, LONG& out_y, LONG& out_w, LONG& out_h ) const;
00181 
00182         private:
00183         SchematicNode * operator&() const;
00184         SchematicNode * operator&();
00185 };
00186 
00187 };
00188 
00189 #endif
00190