Grasshopper2.Datanamespace
Types
Grasshopper2.Data.IExpressionReport
Collates all messages and errors that occur while applying an expression to a tree.
Grasshopper2.Data.IItemAccessor
Non-generic interface for tree item accessors.
Grasshopper2.Data.IItemAccessor<T>
Generic interface for tree item accessors.
Grasshopper2.Data.IPathAccessor
Non-generic interface for tree path accessors.
Grasshopper2.Data.IPear
Represents a combined value + meta data. The term 'pear' is chosen as a homophone of 'pair' to fit within the tree based nomenclature of Grasshopper data storage.
Grasshopper2.Data.IPearAccessor
Non-generic interface for tree pear accessors.
Grasshopper2.Data.IPearAccessor<T>
Non-generic interface for tree pear accessors.
Grasshopper2.Data.IStencil
Defines a somewhat mutable, fully allocated tree to be populated at leisure. In a way this interface acts as a TreeBuilder pattern, but it is not called TreeBuilder because the size of the tree it populates must be set at construction. Maybe at some point in the future a fully mutable builder pattern will be provided in the api.
Grasshopper2.Data.IStencil<T>
Defines a somewhat mutable, fully allocated, strongly typed tree to be populated at leisure. In a way this interface acts as a TreeBuilder pattern, but it is not called TreeBuilder because the size of the tree it populates must be set at construction. Maybe at some point in the future a fully mutable builder pattern will be provided in the api.
Grasshopper2.Data.ITwig
Non-generic interface for tree twigs. ITwig is similar to IList but it allows for meta data to be stored in parallel with regular data.
Grasshopper2.Data.ITwigAccessor
Non-generic interface for tree twig accessors.
Grasshopper2.Data.ITwigAccessor<T>
Generic interface for tree twig accessors.
Grasshopper2.Data.ConversionRecord
Maintains a collection of messages and merits that arose during a conversion process.
Grasshopper2.Data.Coverage
A coverage specifies items, twigs or even entire trees using two integers. Coverages ignore actual paths, opting instead to identify elements using indices alone.
Grasshopper2.Data.ExpandMethod
Enumerates the possible item insertion methods for twig expansion.
Grasshopper2.Data.ExpansionLogic
A type + expansion logic pair used in tree expansion.
Grasshopper2.Data.ExpansionOptions
Enumerstes various options for tree expansion, used in the ExpandEmbeddedCollections method.
Grasshopper2.Data.ExpressionReport
Collates all messages and errors that occur while applying an expression to a tree.
Grasshopper2.Data.Garden
A utility class for building various kinds of trees and twigs.
Grasshopper2.Data.Modifiers
Encapsulates all standard modifiers that can be applied to a data tree.
Grasshopper2.Data.NegativePathIndexException
Exception class used to denote negative integer elements.
Grasshopper2.Data.Overlap
Enumerates the possible ways in which a shared type hierarchy can be modified.
Grasshopper2.Data.Path
Paths are used to identify twigs in data trees. Paths are ordered, immutable collections of non-negative integers.
Grasshopper2.Data.PathAlignment
Enumerates the possible simplification options.
Grasshopper2.Data.PathNode
A single node in a recursive path structure. This is an alternate way to represent multiple paths, particularly handy for diagramming purposes.
Grasshopper2.Data.PathOverlap
Enumerates the possible types of overlap between respective elements in a collection of paths.
Grasshopper2.Data.PathsIndexing
Enumerates the possible ways in which paths can be indexed.
Grasshopper2.Data.Pear<T>
This class is the generic implementation of the IPear interface.
Grasshopper2.Data.RemovalMethod
Enumerates the possible behaviours for removal methods that take true/false patterns.
Grasshopper2.Data.ShrinkMethod
Enumerates the possible item removal methods for twig shrinking.
Grasshopper2.Data.Site
Identifies a single site in a data tree. A site is the position of a single item. To identify a single item unambiguously, both a path and an index are required.
Grasshopper2.Data.StencilBuilder
Utility class for instantiating generic tree stencil instances.
Grasshopper2.Data.ToArrayMethod
Enumerates the possible behaviours for ToArray() methods on ITwig types.
Grasshopper2.Data.TreeBijectionException
Exception thrown for tree bijection mismatches.
Grasshopper2.Data.TreeSimilarity
Enumerates the possible similarity types between two data trees.
Grasshopper2.Data.TwigExpandException
Exception used when expanding twigs to a negative size.
Grasshopper2.Data.TwigFormatting
Contains properties for formatting twig content as string.
Grasshopper2.Data.TwigMergeMetaDataException
Exception used when mismatched twigs are used during meta data merging.
Grasshopper2.Data.TwigShrinkException
Exception used when shrinking twigs to a negative size.
Grasshopper2.Data.TwigSortException
Exception used when a mismatched key array is used during twig sorting.
Grasshopper2.Data.TypeOverlap
Utility class for figuring out what base classes and interfaces a collection of types have in common.
Grasshopper2.Data.VisualTreeStyling
Grasshopper2.Data.VisualTreeText
A string with very limited character support for drawing labels in visual tree nodes.