public bool RemoveFrom(RescueLookup existingObject)
        {
            bool myReturn = RemoveFrom3(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
示例#2
0
        public RescueLookup LookupTable()
        {
            long returnNdx = LookupTable2(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueLookup myReturn = new RescueLookup(returnNdx);
                return(myReturn);
            }
        }
        public RescueLookup ObjectIdentifiedBy(long identifier)
        {
            long returnNdx = ObjectIdentifiedBy7(nativeNdx
                                                 , identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueLookup myReturn = new RescueLookup(returnNdx);
                return(myReturn);
            }
        }
        public RescueLookup ObjectNamed(string nameIn)
        {
            long returnNdx = ObjectNamed6(nativeNdx
                                          , nameIn);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueLookup myReturn = new RescueLookup(returnNdx);
                return(myReturn);
            }
        }
        public RescueLookup NthObject(long ordinal)
        {
            long returnNdx = NthObject5(nativeNdx
                                        , ordinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueLookup myReturn = new RescueLookup(returnNdx);
                return(myReturn);
            }
        }
 public RescueWellboreProperty(RescueWellboreSampling parentSampling,
                               string propertyName,
                               string propertyType,
                               string unitOfMeasure,
                               char nullValue,
                               RescueLookup lookupIn,
                               char[] values)
 {
     nativeNdx = Create_RescueWellboreProperty3((parentSampling == null) ? 0 : parentSampling.nativeNdx,
                                                propertyName,
                                                propertyType,
                                                unitOfMeasure,
                                                nullValue,
                                                (lookupIn == null) ? 0 : lookupIn.nativeNdx,
                                                values);
 }
示例#7
0
 public RescueProperty(RescueGeometry geometryIn,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       RescueLookup lookupTableIn,
                       char nullValue,
                       char[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty15((geometryIn == null) ? 0 : geometryIn.nativeNdx,
                                         propertyNameIn,
                                         propertyTypeIn,
                                         unitOfMeasureIn,
                                         (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                         nullValue,
                                         valueArray,
                                         attachedToIn);
 }
示例#8
0
 public RescueProperty(RescueTriangulatedSurface parentSurface,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       RescueLookup lookupTableIn,
                       char nullValue,
                       char[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty3((parentSurface == null) ? 0 : parentSurface.nativeNdx,
                                        propertyNameIn,
                                        propertyTypeIn,
                                        unitOfMeasureIn,
                                        applies,
                                        (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                        nullValue,
                                        valueArray,
                                        attachedToIn);
 }
示例#9
0
 public RescueProperty(RescueDataContainer containerIn,
                       RescueModel modelIn,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       RescueLookup lookupTableIn,
                       char nullValue,
                       char[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty21((containerIn == null) ? 0 : containerIn.nativeNdx,
                                         (modelIn == null) ? 0 : modelIn.nativeNdx,
                                         propertyNameIn,
                                         propertyTypeIn,
                                         unitOfMeasureIn,
                                         applies,
                                         (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                         nullValue,
                                         valueArray,
                                         attachedToIn);
 }
示例#10
0
 public RescueProperty(RescueSurface parentSurface,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       RescueLookup lookupTableIn,
                       byte nullValue,
                       byte[] valueArray,
                       int attachedToIn,
                       RescueIJSurface parentIJSurface)
 {
     nativeNdx = Create_RescueProperty8((parentSurface == null) ? 0 : parentSurface.nativeNdx,
                                        propertyNameIn,
                                        propertyTypeIn,
                                        unitOfMeasureIn,
                                        applies,
                                        (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                        nullValue,
                                        valueArray,
                                        attachedToIn,
                                        (parentIJSurface == null) ? 0 : parentIJSurface.nativeNdx);
 }
示例#11
0
        public RescueHistoryObject NthObject(long ordinal)
        {
            long returnNdx = NthObject4(nativeNdx
                                        , ordinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueHistoryObject myReturn = new RescueHistoryObject(returnNdx);
                int isA = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueBlock:
                    myReturn = new RescueBlock(returnNdx);
                    break;

                case RescueObject.R_RescueBlockUnitSide:
                    myReturn = new RescueBlockUnitSide(returnNdx);
                    break;

                case RescueObject.R_RescueCoordinateSystem:
                    myReturn = new RescueCoordinateSystem(returnNdx);
                    break;

                case RescueObject.R_RescueDataContainer:
                    myReturn = new RescueDataContainer(returnNdx);
                    break;

                case RescueObject.R_RescueFaultIntersection:
                    myReturn = new RescueFaultIntersection(returnNdx);
                    break;

                case RescueObject.R_RescueGeobodyPart:
                    myReturn = new RescueGeobodyPart(returnNdx);
                    break;

                case RescueObject.R_RescueGeobodyVolume:
                    myReturn = new RescueGeobodyVolume(returnNdx);
                    break;

                case RescueObject.R_RescueGeometry:
                    myReturn = new RescueGeometry(returnNdx);
                    break;

                case RescueObject.R_RescueGrid:
                    myReturn = new RescueGrid(returnNdx);
                    break;

                case RescueObject.R_RescueHistory:
                    myReturn = new RescueHistory(returnNdx);
                    break;

                case RescueObject.R_RescueIJSurface:
                    myReturn = new RescueIJSurface(returnNdx);
                    break;

                case RescueObject.R_RescueLogicalOrder:
                    myReturn = new RescueLogicalOrder(returnNdx);
                    break;

                case RescueObject.R_RescueLogicalOrderEntry:
                    myReturn = new RescueLogicalOrderEntry(returnNdx);
                    break;

                case RescueObject.R_RescueLookup:
                    myReturn = new RescueLookup(returnNdx);
                    break;

                case RescueObject.R_RescueMacroVolume:
                    myReturn = new RescueMacroVolume(returnNdx);
                    break;

                case RescueObject.R_RescueModel:
                    myReturn = new RescueModel(returnNdx);
                    break;

                case RescueObject.R_RescueModelPropertyGroup:
                    myReturn = new RescueModelPropertyGroup(returnNdx);
                    break;

                case RescueObject.R_RescueProperty:
                    myReturn = new RescueProperty(returnNdx);
                    break;

                case RescueObject.R_RescuePropertyGroup:
                    myReturn = new RescuePropertyGroup(returnNdx);
                    break;

                case RescueObject.R_RescueTimeStepGroup:
                    myReturn = new RescueTimeStepGroup(returnNdx);
                    break;

                case RescueObject.R_RescueWellbore:
                    myReturn = new RescueWellbore(returnNdx);
                    break;

                case RescueObject.R_RescueWellboreProperty:
                    myReturn = new RescueWellboreProperty(returnNdx);
                    break;

                case RescueObject.R_RescueWireframe:
                    myReturn = new RescueWireframe(returnNdx);
                    break;

                case RescueObject.R_RescueWireframeOwner:
                    myReturn = new RescueWireframeOwner(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
 public void AddTo(RescueLookup newObject)
 {
     AddTo2(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }