Exemplo n.º 1
0
 /// <summary>
 /// Create a child node with a given name and parent node.
 /// </summary>
 public Node(string name, Node parentNode)
 {
     AssertIsValidName(name);
     Debug.Assert(parentNode != null);
     this.name       = name;
     this.parentNode = parentNode;
     this.value      = new AcpiObject.AcpiObjectCell(new AcpiObject.UninitializedObject());
     parentNode.AddChild(this);
 }
Exemplo n.º 2
0
 public ObjectReference(AcpiObjectCell target)
 {
     this.target = target;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Makes this node refer to the same value as the given node.
 /// </summary>
 /// <remarks>Aliased names refer to not only the same object but
 /// the same object location (cell). Any updates to either node
 /// immediately appear in the other.</remarks>
 public void AliasTo(Node n)
 {
     this.value = n.value;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Create a root node.
 /// </summary>
 public Node()
 {
     this.name       = "";
     this.parentNode = null;
     this.value      = new AcpiObject.AcpiObjectCell(new AcpiObject.UninitializedObject());
 }