예제 #1
0
        public static FPClipRef GetClipRef(FPTagRef inTag)
        {
            FPClipRef retval = SDK.FPTag_GetClipRef(inTag);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #2
0
        public static FPTagRef GetPrevSibling(FPTagRef inTag)
        {
            FPTagRef retval = SDK.FPTag_GetPrevSibling(inTag);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #3
0
        public static FPLong GetLongAttribute(FPTagRef inTag, string inAttrName)
        {
            FPLong retval = SDK.FPTag_GetLongAttribute8(inTag, inAttrName);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #4
0
        public static FPLong GetBlobSize(FPTagRef inTag)
        {
            var retval = SDK.FPTag_GetBlobSize(inTag);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #5
0
        public static FPTagRef GetTopTag(FPClipRef inClip)
        {
            FPTagRef retval = SDK.FPClip_GetTopTag(inClip);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #6
0
        public static FPTagRef GetParent(FPTagRef inTag)
        {
            var retval = SDK.FPTag_GetParent(inTag);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #7
0
 /// <summary>
 ///Remove this Tag (and all its children) from the Clip it is associated with. All the Tags are Disposed.
 ///The Clip must have been opened in TREE mode. See API Guide: FPTag_Delete
 ///
 /// </summary>
 public void Delete()
 {
     Native.Tag.Delete(this);
     this.RemoveObject(this.theTag);
     this.theTag = 0;
     this.Dispose();
 }
예제 #8
0
        public static FPTagRef FetchNext(FPClipRef inClip)
        {
            FPTagRef retval = SDK.FPClip_FetchNext(inClip);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #9
0
        public static FPTagRef Copy(FPTagRef inTag, FPTagRef inNewParent, FPInt inOptions)
        {
            var retval = SDK.FPTag_Copy(inTag, inNewParent, inOptions);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #10
0
        public static FPTagRef Create(FPTagRef inParent, string inName)
        {
            var retval = SDK.FPTag_Create8(inParent, inName);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #11
0
        public static FPInt BlobExists(FPTagRef inTag)
        {
            var retval = SDK.FPTag_BlobExists(inTag);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #12
0
        public static FPInt GetNumAttributes(FPTagRef inTag)
        {
            var retval = SDK.FPTag_GetNumAttributes(inTag);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #13
0
        public static FPBool GetBoolAttribute(FPTagRef inTag, string inAttrName)
        {
            var retval = SDK.FPTag_GetBoolAttribute8(inTag, inAttrName);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #14
0
        public static FPTagRef GetFirstChild(FPTagRef inTag)
        {
            var retval = SDK.FPTag_GetFirstChild(inTag);

            SDK.CheckAndThrowError();
            return(retval);
        }
예제 #15
0
        /// <summary>
        ///Explicitly Close the FPTagRef. See API Guide: FPTag_Close
        ///
        /// </summary>
        public override void Close()
        {
            if (this.theTag != 0)
            {
                this.RemoveObject(this.theTag);
                try
                {
                    Native.Tag.Close(this.theTag);
                }
                catch (FPLibraryException e)
                {
                    FPLogger.ConsoleMessage("\nProblem closing tag " + e);
                }
                catch (NullReferenceException)
                {
                    FPLogger.ConsoleMessage("\nNull reference");
                }

                this.theTag = 0;
            }
        }
예제 #16
0
 public static void Close(FPTagRef inTag)
 {
     SDK.FPTag_Close(inTag);
     SDK.CheckAndThrowError();
 }
예제 #17
0
 public static void BlobWritePartial(FPTagRef inTag, FPStreamRef inStream, FPLong inOptions, FPLong inSequenceID)
 {
     SDK.FPTag_BlobWritePartial(inTag, inStream, inOptions, inSequenceID);
     SDK.CheckAndThrowError();
 }
예제 #18
0
 public static void BlobPurge(FPTagRef inTag)
 {
     SDK.FPTag_BlobPurge(inTag);
     SDK.CheckAndThrowError();
 }
예제 #19
0
 public static void GetStringAttribute(FPTagRef inTag, string inAttrName, ref byte[] outAttrValue, ref FPInt ioAttrValueLen)
 {
     SDK.FPTag_GetStringAttribute8(inTag, inAttrName, outAttrValue, ref ioAttrValueLen);
     SDK.CheckAndThrowError();
 }
예제 #20
0
 public static void GetIndexAttribute(FPTagRef inTag, FPInt inIndex, ref byte[] outAttrName, ref FPInt ioAttrNameLen, ref byte[] outAttrValue, ref FPInt ioAttrValueLen)
 {
     SDK.FPTag_GetIndexAttribute8(inTag, inIndex, outAttrName, ref ioAttrNameLen, outAttrValue, ref ioAttrValueLen);
     SDK.CheckAndThrowError();
 }
예제 #21
0
 public static void RemoveAttribute(FPTagRef inTag, string inAttrName)
 {
     SDK.FPTag_RemoveAttribute8(inTag, inAttrName);
     SDK.CheckAndThrowError();
 }
예제 #22
0
 public static void GetTagName(FPTagRef inTag, ref byte[] outName, ref FPInt ioNameLen)
 {
     SDK.FPTag_GetTagName8(inTag, outName, ref ioNameLen);
     SDK.CheckAndThrowError();
 }
예제 #23
0
 /// <summary>
 ///Create a new Tag. See API Guide: FPTag_Create
 ///
 ///@param inParent  The parent Tag for the new Tag.
 ///@param inName  The name of the new Tag.
 /// </summary>
 public FPTag(FPTag inParent, string inName)
 {
     this.theTag = Native.Tag.Create(inParent, inName);
     this.AddObject(this.theTag, this);
 }
예제 #24
0
 public static void SetBoolAttribute(FPTagRef inTag, string inAttrName, FPBool inAttrValue)
 {
     SDK.FPTag_SetBoolAttribute8(inTag, inAttrName, inAttrValue);
     SDK.CheckAndThrowError();
 }
예제 #25
0
 public static extern void FPTag_GetTagName8(FPTagRef inTag,
                                             [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] outName,
                                             ref FPInt ioNameLen);
예제 #26
0
 public static void Delete(FPTagRef inTag)
 {
     SDK.FPTag_Delete(inTag);
     SDK.CheckAndThrowError();
 }
예제 #27
0
 public static void BlobRead(FPTagRef inTag, FPStreamRef inStream, FPLong inOptions)
 {
     SDK.FPTag_BlobRead(inTag, inStream, inOptions);
     SDK.CheckAndThrowError();
 }
예제 #28
0
 public static void BlobReadPartial(FPTagRef inTag, FPStreamRef inStream, FPLong inOffset, FPLong inReadLength, FPLong inOptions)
 {
     SDK.FPTag_BlobReadPartial(inTag, inStream, inOffset, inReadLength, inOptions);
     SDK.CheckAndThrowError();
 }
예제 #29
0
 /// <summary>
 ///Create a new Tag using an existing FPTagRef. See API Guide: FPTag_Create
 ///
 ///@param t Existing FPTagRef.
 /// </summary>
 internal FPTag(FPTagRef t)
 {
     this.theTag = t;
     this.AddObject(this.theTag, this);
 }
예제 #30
0
 public static extern void FPTag_GetIndexAttribute8(FPTagRef inTag,
                                                    FPInt inIndex,
                                                    [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] byte[] outAttrName,
                                                    ref FPInt ioAttrNameLen,
                                                    [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 5)] byte[] outAttrValue,
                                                    ref FPInt ioAttrValueLen);