         }
     }
     
+    /*
+    An example Net definition.
+    
+    (
+    NetC24_2
+    C24-2
+    R13-2
+    R14-2
+    )
+    
+    First entry is the name. The rest are the names of the pins that are a part of the net.
+    */
     func parseNet(fromString string: String) {
         let fragments = string.componentsSeparatedByString("\r\n")
         //println(fragments)

            }
        }
    }
    
    func parseComponent(fromString string: String) {
        let fragments = string.componentsSeparatedByString("\r\n")
        if fragments[0] == "[" {

    var components: [Component] = []
    var nets: [Net] = []
    var pads: [Pad] {
        get {
            var listOfPads: [Pad] = []
            for component in components {
                //println("\(component.description()) has \(component.pads.count) pads")
                for aPad in component.pads {
                    listOfPads += [aPad]
                }
            }
            return listOfPads
        }
    }
    
    public init(){}
