|
|
|
|
|
|
m_LabelEntryMatchCache = null; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A structure representing a label entry for writing out to datasets.
|
|
|
|
/// </summary>
|
|
|
|
internal struct LabelEntrySpec |
|
|
|
public struct LabelEntrySpec |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// The label id prepared for reporting in the annotation
|
|
|
|
|
|
|
public string label_name; |
|
|
|
} |
|
|
|
|
|
|
|
internal LabelEntrySpec[] GetAnnotationSpecification() |
|
|
|
/// <summary>
|
|
|
|
/// Returns the label entries as structures suited for writing out to JSON datasets.
|
|
|
|
/// </summary>
|
|
|
|
public LabelEntrySpec[] GetAnnotationSpecification() |
|
|
|
{ |
|
|
|
return labelEntries.Select((l) => new LabelEntrySpec() |
|
|
|
{ |
|
|
|