Exemple #1
0
        public bool SetContent(QXmlInputSource source, QXmlReader reader, StringBuilder errorMsg, ref int errorLine, ref int errorColumn)
        {
            StackItem[] stack = new StackItem[6];
#if DEBUG
            stack[1].s_class = (IntPtr)DebugGCHandle.Alloc(source);
#else
            stack[1].s_class = (IntPtr)GCHandle.Alloc(source);
#endif
#if DEBUG
            stack[2].s_class = (IntPtr)DebugGCHandle.Alloc(reader);
#else
            stack[2].s_class = (IntPtr)GCHandle.Alloc(reader);
#endif
#if DEBUG
            stack[3].s_class = (IntPtr)DebugGCHandle.Alloc(errorMsg);
#else
            stack[3].s_class = (IntPtr)GCHandle.Alloc(errorMsg);
#endif
            stack[4].s_int = errorLine;
            stack[5].s_int = errorColumn;
            interceptor.Invoke("setContent##$$$", "setContent(QXmlInputSource*, QXmlReader*, QString*, int*, int*)", stack);
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[1].s_class);
#else
            ((GCHandle)stack[1].s_class).SynchronizedFree();
#endif
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[2].s_class);
#else
            ((GCHandle)stack[2].s_class).SynchronizedFree();
#endif
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[3].s_class);
#else
            ((GCHandle)stack[3].s_class).SynchronizedFree();
#endif
            errorLine   = stack[4].s_int;
            errorColumn = stack[5].s_int;
            return(stack[0].s_bool);
        }
Exemple #2
0
 public virtual bool Parse(QXmlInputSource input, bool incremental)
 {
     return((bool)interceptor.Invoke("parse#$", "parse(const QXmlInputSource*, bool)", typeof(bool), typeof(QXmlInputSource), input, typeof(bool), incremental));
 }
Exemple #3
0
 public override bool Parse(QXmlInputSource input)
 {
     return((bool)interceptor.Invoke("parse#", "parse(const QXmlInputSource&)", typeof(bool), typeof(QXmlInputSource), input));
 }
Exemple #4
0
 public abstract bool Parse(QXmlInputSource input);
Exemple #5
0
 public abstract bool Parse(QXmlInputSource input);
Exemple #6
0
 public bool SetContent(QXmlInputSource source, QXmlReader reader)
 {
     return((bool)interceptor.Invoke("setContent##", "setContent(QXmlInputSource*, QXmlReader*)", typeof(bool), typeof(QXmlInputSource), source, typeof(QXmlReader), reader));
 }
Exemple #7
0
 public bool SetContent(QXmlInputSource source, QXmlReader reader, StringBuilder errorMsg)
 {
     return((bool)interceptor.Invoke("setContent##$", "setContent(QXmlInputSource*, QXmlReader*, QString*)", typeof(bool), typeof(QXmlInputSource), source, typeof(QXmlReader), reader, typeof(StringBuilder), errorMsg));
 }
Exemple #8
0
 public bool SetContent(QXmlInputSource source, QXmlReader reader)
 {
     return (bool) interceptor.Invoke("setContent##", "setContent(QXmlInputSource*, QXmlReader*)", typeof(bool), typeof(QXmlInputSource), source, typeof(QXmlReader), reader);
 }
Exemple #9
0
 public bool SetContent(QXmlInputSource source, QXmlReader reader, StringBuilder errorMsg, ref int errorLine)
 {
     StackItem[] stack = new StackItem[5];
     #if DEBUG
     stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(source);
     #else
     stack[1].s_class = (IntPtr) GCHandle.Alloc(source);
     #endif
     #if DEBUG
     stack[2].s_class = (IntPtr) DebugGCHandle.Alloc(reader);
     #else
     stack[2].s_class = (IntPtr) GCHandle.Alloc(reader);
     #endif
     #if DEBUG
     stack[3].s_class = (IntPtr) DebugGCHandle.Alloc(errorMsg);
     #else
     stack[3].s_class = (IntPtr) GCHandle.Alloc(errorMsg);
     #endif
     stack[4].s_int = errorLine;
     interceptor.Invoke("setContent##$$", "setContent(QXmlInputSource*, QXmlReader*, QString*, int*)", stack);
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[1].s_class);
     #else
     ((GCHandle) stack[1].s_class).SynchronizedFree();
     #endif
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[2].s_class);
     #else
     ((GCHandle) stack[2].s_class).SynchronizedFree();
     #endif
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[3].s_class);
     #else
     ((GCHandle) stack[3].s_class).SynchronizedFree();
     #endif
     errorLine = stack[4].s_int;
     return stack[0].s_bool;
 }
Exemple #10
0
 public bool SetContent(QXmlInputSource source, QXmlReader reader, StringBuilder errorMsg)
 {
     return (bool) interceptor.Invoke("setContent##$", "setContent(QXmlInputSource*, QXmlReader*, QString*)", typeof(bool), typeof(QXmlInputSource), source, typeof(QXmlReader), reader, typeof(StringBuilder), errorMsg);
 }
Exemple #11
0
 public bool SetContent(QXmlInputSource source, bool namespaceProcessing)
 {
     return (bool) interceptor.Invoke("setContent#$", "setContent(QXmlInputSource*, bool)", typeof(bool), typeof(QXmlInputSource), source, typeof(bool), namespaceProcessing);
 }
Exemple #12
0
 public bool SetContent(QXmlInputSource source, bool namespaceProcessing, StringBuilder errorMsg)
 {
     return (bool) interceptor.Invoke("setContent#$$", "setContent(QXmlInputSource*, bool, QString*)", typeof(bool), typeof(QXmlInputSource), source, typeof(bool), namespaceProcessing, typeof(StringBuilder), errorMsg);
 }
Exemple #13
0
 public bool SetContent(QXmlInputSource source, bool namespaceProcessing, StringBuilder errorMsg, ref int errorLine, ref int errorColumn)
 {
     StackItem[] stack = new StackItem[6];
     #if DEBUG
     stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(source);
     #else
     stack[1].s_class = (IntPtr) GCHandle.Alloc(source);
     #endif
     stack[2].s_bool = namespaceProcessing;
     #if DEBUG
     stack[3].s_class = (IntPtr) DebugGCHandle.Alloc(errorMsg);
     #else
     stack[3].s_class = (IntPtr) GCHandle.Alloc(errorMsg);
     #endif
     stack[4].s_int = errorLine;
     stack[5].s_int = errorColumn;
     interceptor.Invoke("setContent#$$$$", "setContent(QXmlInputSource*, bool, QString*, int*, int*)", stack);
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[1].s_class);
     #else
     ((GCHandle) stack[1].s_class).Free();
     #endif
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[3].s_class);
     #else
     ((GCHandle) stack[3].s_class).Free();
     #endif
     errorLine = stack[4].s_int;
     errorColumn = stack[5].s_int;
     return stack[0].s_bool;
 }
Exemple #14
0
 public virtual bool Parse(QXmlInputSource input, bool incremental)
 {
     return (bool) interceptor.Invoke("parse#$", "parse(const QXmlInputSource*, bool)", typeof(bool), typeof(QXmlInputSource), input, typeof(bool), incremental);
 }
Exemple #15
0
 public override bool Parse(QXmlInputSource input)
 {
     return (bool) interceptor.Invoke("parse#", "parse(const QXmlInputSource&)", typeof(bool), typeof(QXmlInputSource), input);
 }