#region Top Part
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// MCL.SearchTypes from SmesaSearch1.cs
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// v5.3.4.28 22-July SmesaSearch.cs rockin'
// v5.3.4.29 25-Jul-2019 Spelling things out
// Class{in-Class{in-Class}}; Custom Types:
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// Design Revision 6, Tightened Data Model!
// v5.4.5.32 05-Aug-2019 WorkList3 & Marker.
// v5.4.5.35 27-Aug Settling Down some now.
// v5.4.6.37 14-Sep-2019 Generic ILists
// instead of ObjectModel.Collections. ;-)
// v5.4.7.39 25-Sep-2019 Search Settling in!
// v5.4.7.40 01-Oct-2019 Heavy Hacking S&R.
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
using System;
using System.Collections.ObjectModel;
#endregion Pop Tart
namespace MyCustomLibrary
{
#region Custom Data Types desRev6
// 4 sub-Classes here: P3D, WorkList2,
// Files, Lines. + Hits is inside Lines.
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// File Number in the WorkList.File[i]
// Line Number in current FileName[F]
// WhereFound, The Position in Line[L]
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
[Serializable]
public class P3D // aka Tracker
{
// File / Tab Number in FileNames[x];
public int File { get; set; }
// Line Number (in File)
public int Line { get; set; }
// Start Position (in Line)
public int Star { get; set; }
}
//^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
// WorkList (4/4) Custom Composite Type
[Serializable]
public class WorkList2
{
public Collection<Files>
File { get; private set; }
// Class Constructor
public WorkList2(Collection<Files>
file) { File = file; }
public bool CaseCheck { get; set; }
public bool WordCheck { get; set; }
public string FindThis { get; set; }
public string Change2 { get; set; }
} //^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
[Serializable] // (3/4)
public class Files // w/ Matches
{
public Collection<Lines> Line
{ get; private set; }
// Class Constructor
public Files(Collection<Lines> line)
{ Line = line; }
public string Name { get; set; }
}//^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
[Serializable]
public class Lines // This File: (2/4)
{
public Collection<int> Star
{ get; private set; }
public Lines(Collection<int> hit)
{ Star = hit; }// x(s) per Line (1/4)
public int LineNumber { get; set; }
} // y-coordinate ^
#endregion Custom Data Types desRev6
//^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v
}
Comments