00001 
00004 #ifndef FBXFILESDK_FBXCORE_KFBXPROPERTYDEF_H
00005 #define FBXFILESDK_FBXCORE_KFBXPROPERTYDEF_H
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 #include <fbxfilesdk/components/kbaselib/kaydaradef_h.h>
00043 #include <fbxfilesdk/fbxfilesdk_nsbegin.h>
00044 
00045     typedef int                 kFbxPropertyId;
00046     const   kFbxPropertyId      kFbxProperyIdNull = -1;
00047     const   kFbxPropertyId      kFbxProperyIdRoot = 0;
00048 
00049     enum    KFbxInheritType     { eFbxOverride=0,eFbxInherit=1,eFbxDeleted=2 } ;
00050 
00051     enum kFbxConnectionType
00052     { 
00053         eFbxConnectionNone              = 0,
00054 
00055         
00056         eFbxConnectionSystem            = 1 << 0,
00057         eFbxConnectionUser              = 1 << 1,
00058         eFbxConnectionSystemOrUser      = eFbxConnectionUser | eFbxConnectionSystem,
00059 
00060         
00061         eFbxConnectionReference         = 1 << 2,
00062         eFbxConnectionContains          = 1 << 3,
00063         eFbxConnectionData              = 1 << 4,
00064         eFbxConnectionLinkType          = eFbxConnectionReference | eFbxConnectionContains | eFbxConnectionData,
00065 
00066         eFbxConnectionDefault           = eFbxConnectionUser | eFbxConnectionReference,
00067 
00068 
00069         eFbxConnectionUnidirectional    = 1 << 7
00070     };
00071 
00072     class FbxPropertyFlags
00073     {
00074     public:
00075             enum eFbxPropertyFlags
00076             {
00077                 eNO_FLAG        = 0,
00078                 eANIMATABLE     = 1, 
00079                 eUSER           = 1<<1,
00080                 eTEMPORARY      = 1<<2,  
00081                 ePUBLISHED      = 1<<3, 
00082                 ePSTATIC        = 1<<4, 
00083 
00084                 eNOT_SAVABLE    = 1<<5,
00085                 eHIDDEN         = 1<<6,
00086 
00087                 eUI_DISABLED    = 1<<7,  
00088                 eUI_GROUP       = 1<<8,  
00089                 eUI_BOOLGROUP   = 1<<9,  
00090                 eUI_EXPANDED    = 1<<10, 
00091                 eUI_NOCAPTION   = 1<<11, 
00092                 eUI_PANEL     = 1<<12  
00093 
00094             };
00095 
00096             
00097             
00098             inline static int GetFlagCount() { return 14; }
00099 
00100             inline static eFbxPropertyFlags AllFlags()
00101             {
00102                 eFbxPropertyFlags lAllFlags = eNO_FLAG;
00103 
00104                 for( int i = 0; i < GetFlagCount()-1; ++i )
00105                     lAllFlags = (eFbxPropertyFlags) ( (lAllFlags << 1) | 1 );
00106                 
00107                 return lAllFlags;
00108             }
00109     };
00110 
00111     
00112 
00113 
00114     class   KFbxConnectionPoint;
00115     typedef int kFbxFilterId;
00116 
00120     class KFBX_DLL KFbxConnectionPointFilter
00121     {
00122         
00127     public: 
00129         KFbxConnectionPointFilter() { }
00131         virtual ~KFbxConnectionPointFilter();
00133     public:
00138 
00140         virtual KFbxConnectionPointFilter*      Ref();
00142         virtual void                            Unref();
00143 
00145         virtual kFbxFilterId                    GetUniqueId() const { return 0; }
00146 
00151         virtual bool                            IsValid             (KFbxConnectionPoint*   pConnect) const;
00157         virtual bool                            IsValidConnection   (KFbxConnectionPoint*   pConnect,kFbxConnectionType pType) const;
00162         virtual bool                            IsEqual             (KFbxConnectionPointFilter* pConnectFilter) const;
00163 
00165     };
00166 
00167 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00168 
00169 #endif // FBXFILESDK_FBXCORE_KFBXPROPERTYDEF_H
00170