FbxBindingTable.cs 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. //------------------------------------------------------------------------------
  2. // <auto-generated />
  3. //
  4. // This file was automatically generated by SWIG (http://www.swig.org).
  5. // Version 3.0.12
  6. //
  7. // Do not make changes to this file unless you know what you are doing--modify
  8. // the SWIG interface file instead.
  9. //------------------------------------------------------------------------------
  10. namespace Autodesk.Fbx {
  11. public class FbxBindingTable : FbxBindingTableBase {
  12. internal FbxBindingTable(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
  13. // override void Dispose() {base.Dispose();}
  14. public new static FbxBindingTable Create(FbxManager pManager, string pName) {
  15. global::System.IntPtr cPtr = NativeMethods.FbxBindingTable_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
  16. FbxBindingTable ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBindingTable(cPtr, false);
  17. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  18. return ret;
  19. }
  20. public new static FbxBindingTable Create(FbxObject pContainer, string pName) {
  21. global::System.IntPtr cPtr = NativeMethods.FbxBindingTable_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
  22. FbxBindingTable ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxBindingTable(cPtr, false);
  23. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  24. return ret;
  25. }
  26. public FbxPropertyString DescRelativeURL {
  27. get {
  28. FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxBindingTable_DescRelativeURL_get(swigCPtr), false);
  29. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  30. return ret;
  31. }
  32. }
  33. public FbxPropertyString DescAbsoluteURL {
  34. get {
  35. FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxBindingTable_DescAbsoluteURL_get(swigCPtr), false);
  36. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  37. return ret;
  38. }
  39. }
  40. public FbxPropertyString DescTAG {
  41. get {
  42. FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxBindingTable_DescTAG_get(swigCPtr), false);
  43. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  44. return ret;
  45. }
  46. }
  47. public override int GetHashCode(){
  48. return swigCPtr.Handle.GetHashCode();
  49. }
  50. public bool Equals(FbxBindingTable other) {
  51. if (object.ReferenceEquals(other, null)) { return false; }
  52. return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
  53. }
  54. public override bool Equals(object obj){
  55. if (object.ReferenceEquals(obj, null)) { return false; }
  56. /* is obj a subclass of this type; if so use our Equals */
  57. var typed = obj as FbxBindingTable;
  58. if (!object.ReferenceEquals(typed, null)) {
  59. return this.Equals(typed);
  60. }
  61. /* are we a subclass of the other type; if so use their Equals */
  62. if (typeof(FbxBindingTable).IsSubclassOf(obj.GetType())) {
  63. return obj.Equals(this);
  64. }
  65. /* types are unrelated; can't be a match */
  66. return false;
  67. }
  68. public static bool operator == (FbxBindingTable a, FbxBindingTable b) {
  69. if (object.ReferenceEquals(a, b)) { return true; }
  70. if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
  71. return a.Equals(b);
  72. }
  73. public static bool operator != (FbxBindingTable a, FbxBindingTable b) {
  74. return !(a == b);
  75. }
  76. }
  77. }