Exemplo n.º 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);
        }
Exemplo n.º 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));
 }
Exemplo n.º 3
0
 public override bool Parse(QXmlInputSource input)
 {
     return((bool)interceptor.Invoke("parse#", "parse(const QXmlInputSource&)", typeof(bool), typeof(QXmlInputSource), input));
 }
Exemplo n.º 4
0
 public abstract bool Parse(QXmlInputSource input);
Exemplo n.º 5
0
 public abstract bool Parse(QXmlInputSource input);
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 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);
 }
Exemplo n.º 15
0
 public override bool Parse(QXmlInputSource input)
 {
     return (bool) interceptor.Invoke("parse#", "parse(const QXmlInputSource&)", typeof(bool), typeof(QXmlInputSource), input);
 }