예제 #1
0
파일: P4Map.cs 프로젝트: orecht/P4.net
 /// <summary>
 /// Creates a P4Map object populated with the view defined by lines.
 /// </summary>
 /// <param name="lines">Lines in the Map view.</param>
 public P4Map(params string[] lines)
 {
     // always use UTF8
     _map = new P4MapMaker(Encoding.UTF8);
     Insert(lines);
 }        
예제 #2
0
파일: P4Map.cs 프로젝트: orecht/P4.net
 private P4Map(P4MapMaker mapmaker)
 {
     _map = mapmaker;
 }
예제 #3
0
파일: P4Map.cs 프로젝트: orecht/P4.net
 /// <summary>
 /// Creates an empty Map.
 /// </summary>
 public P4Map()
 {
     // always use UTF8
     _map = new P4MapMaker(Encoding.UTF8);
 }
예제 #4
0
파일: P4Map.cs 프로젝트: mh52/P4.net
 /// <summary>
 /// Joins two map objects to form the intersection of the two views.
 /// </summary>
 /// <param name="left">Left-hand map.</param>
 /// <param name="right">Right-hand map.</param>
 /// <returns>P4Map object of the intersection of the two maps.</returns>
 public static P4Map Join(P4Map left, P4Map right)
 {
     return(new P4Map(P4MapMaker.Join(left._map, right._map)));
 }
예제 #5
0
파일: P4Map.cs 프로젝트: mh52/P4.net
 private P4Map(P4MapMaker mapmaker)
 {
     _map = mapmaker;
 }
예제 #6
0
파일: P4Map.cs 프로젝트: mh52/P4.net
 /// <summary>
 /// Creates a P4Map object populated with the view defined by lines.
 /// </summary>
 /// <param name="lines">Lines in the Map view.</param>
 public P4Map(params string[] lines)
 {
     // always use UTF8
     _map = new P4MapMaker(Encoding.UTF8);
     Insert(lines);
 }
예제 #7
0
파일: P4Map.cs 프로젝트: mh52/P4.net
 /// <summary>
 /// Creates an empty Map.
 /// </summary>
 public P4Map()
 {
     // always use UTF8
     _map = new P4MapMaker(Encoding.UTF8);
 }