Beispiel #1
0
        public bool Remove(RescueLogicalOrderEntry existingObject)
        {
            bool myReturn = Remove22(nativeNdx
                                     , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
Beispiel #2
0
        public RescueLogicalOrderEntry NthObject(long zeroBasedOrdinal)
        {
            long returnNdx = NthObject1(nativeNdx
                                        , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueLogicalOrderEntry myReturn = new RescueLogicalOrderEntry(returnNdx);
                int isA = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueEventDescr:
                    myReturn = new RescueEventDescr(returnNdx);
                    break;

                case RescueObject.R_RescueHorizon:
                    myReturn = new RescueHorizon(returnNdx);
                    break;

                case RescueObject.R_RescueUnit:
                    myReturn = new RescueUnit(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
Beispiel #3
0
        public RescueLogicalOrderEntry UnconformityEventBelow(RescueEventDescr existingObject)
        {
            long returnNdx = UnconformityEventBelow16(nativeNdx
                                                      , (existingObject == null) ? 0 : existingObject.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueLogicalOrderEntry myReturn = new RescueLogicalOrderEntry(returnNdx);
                int isA = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueEventDescr:
                    myReturn = new RescueEventDescr(returnNdx);
                    break;

                case RescueObject.R_RescueHorizon:
                    myReturn = new RescueHorizon(returnNdx);
                    break;

                case RescueObject.R_RescueUnit:
                    myReturn = new RescueUnit(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
Beispiel #4
0
        public bool InsertBelow(RescueLogicalOrderEntry existingObject,
                                RescueLogicalOrderEntry unit)
        {
            bool myReturn = InsertBelow21(nativeNdx
                                          , (existingObject == null) ? 0 : existingObject.nativeNdx
                                          , (unit == null) ? 0 : unit.nativeNdx);

            return(myReturn);
        }
Beispiel #5
0
        public RescueEventDescr EventBelow(RescueLogicalOrderEntry existingObject)
        {
            long returnNdx = EventBelow14(nativeNdx
                                          , (existingObject == null) ? 0 : existingObject.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueEventDescr myReturn = new RescueEventDescr(returnNdx);
                return(myReturn);
            }
        }
Beispiel #6
0
        public RescueUnit UnitBelow(RescueLogicalOrderEntry existingObject)
        {
            long returnNdx = UnitBelow12(nativeNdx
                                         , (existingObject == null) ? 0 : existingObject.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueUnit myReturn = new RescueUnit(returnNdx);
                return(myReturn);
            }
        }
Beispiel #7
0
        public RescueHorizon HorizonBelow(RescueLogicalOrderEntry existingObject)
        {
            long returnNdx = HorizonBelow10(nativeNdx
                                            , (existingObject == null) ? 0 : existingObject.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueHorizon myReturn = new RescueHorizon(returnNdx);
                return(myReturn);
            }
        }
Beispiel #8
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);
            }
        }
Beispiel #9
0
 public void InsertAtTop(RescueLogicalOrderEntry unit)
 {
     InsertAtTop19(nativeNdx
                   , (unit == null) ? 0 : unit.nativeNdx);
 }