Show / Hide Table of Contents

Class Table<T>

Strongly typed version of Table which requires "parents" and "clone" operations.

Inheritance
Object
Table
Table<T>
Aggregation
DataSource
ExternTable
Join
TableReference
Union
Implements
IVisitable<ITableVisitor>
ICloneable<T, String, Table>
ICloneable<Table>
IDirectedAcyclicGraph<Table>
Inherited Members
Table.Name
Table.Parents
Table.Accept(ITableVisitor)
Table.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Mangrove.MetricSetSyntaxTree
Assembly: MetricSetSyntaxTree.dll
Syntax
public abstract class Table<T> : Table, IVisitable<ITableVisitor>, ICloneable<T, string, Table>, ICloneable<Table>, IDirectedAcyclicGraph<Table> where T : Table
Type Parameters
Name Description
T

Should always be the type of the subclass.

Remarks

Requiring tables to implement "clone" and "parents" operations removes the need for lots of boilerplate code in visitors.

Constructors

View Source

Table(String)

Declaration
public Table(string name)
Parameters
Type Name Description
String name

Methods

View Source

Clone(IReadOnlyList<Table>)

Create a "copy" of this table with the same name, with a new list of direct parents.

Declaration
public override sealed Table Clone(IReadOnlyList<Table> parents)
Parameters
Type Name Description
IReadOnlyList<Table> parents
Returns
Type Description
Table
Overrides
Table.Clone(IReadOnlyList<Table>)
View Source

Clone(String, IReadOnlyList<Table>)

Create a "copy" of this table with a new list of direct parents.

Declaration
public abstract T Clone(string name, IReadOnlyList<Table> parents)
Parameters
Type Name Description
String name
IReadOnlyList<Table> parents
Returns
Type Description
T

Implements

IVisitable<TVisitor>
ICloneable<TSubnode, TIdentifier, TNode>
ICloneable<T>
IDirectedAcyclicGraph<T>

Extension Methods

IEnumerableExtensions.ClosureIn(Table, MetricsPlan)
TableExtensions.PathTo(Table, Table)
IDirectedAcyclicGraphExtensions.Ancestors(Table, Boolean)
IDirectedAcyclicGraphExtensions.Ordered(Table)
ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX