~ubuntu-branches/ubuntu/dapper/lasso/dapper

« back to all changes in this revision

Viewing changes to csharp/Node.cs

  • Committer: Bazaar Package Importer
  • Author(s): Loic Pefferkorn
  • Date: 2005-11-25 19:20:59 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051125192059-m4894lhpynmkrmwr
Tags: 0.6.3-4ubuntu1
Resynchronise with Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ----------------------------------------------------------------------------
2
 
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version 1.3.24
4
 
 *
5
 
 * Do not make changes to this file unless you know what you are doing--modify
6
 
 * the SWIG interface file instead.
7
 
 * ----------------------------------------------------------------------------- */
8
 
 
9
 
namespace lasso {
10
 
 
11
 
using System;
12
 
 
13
 
public class Node : DowncastableNode, IDisposable {
14
 
  internal Node(IntPtr cPtr, bool cMemoryOwn) {
15
 
    swigCMemOwn = cMemoryOwn;
16
 
    swigCPtr = cPtr;
17
 
  }
18
 
 
19
 
  protected static IntPtr getCPtr(Node obj) {
20
 
    return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
21
 
  }
22
 
 
23
 
  ~Node() {
24
 
    Dispose();
25
 
  }
26
 
 
27
 
  public virtual void Dispose() {
28
 
  base.Dispose();
29
 
}
30
 
 
31
 
  public Node() : this(lassoPINVOKE.new_Node(), true) {
32
 
  }
33
 
 
34
 
  public string dump() {
35
 
    return lassoPINVOKE.Node_dump(swigCPtr);
36
 
  }
37
 
 
38
 
}
39
 
 
40
 
}