Beispiel #1
0
        public bool RemoveFrom(RescueEventDescr existingObject)
        {
            bool myReturn = RemoveFrom3(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 RescueEventDescr ObjectIdentifiedBy(long identifier)
        {
            long returnNdx = ObjectIdentifiedBy7(nativeNdx
                                                 , identifier);

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

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

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueEventDescr myReturn = new RescueEventDescr(returnNdx);
                return(myReturn);
            }
        }
Beispiel #7
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 #8
0
 public void AddTo(RescueEventDescr newObject)
 {
     AddTo2(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }