Skip to content

Grasshopper.Kernel.Data

Contains a number of classes that deal with Data Storage.

Classes

Class

Description


Public Class
GH_BracketMismatchException

Exception used during Rule Set parsing.


Public Class
GH_IndexRanges

Represents a sorted, non-colliding collection of index ranges.


Public Class
GH_IndexRuleSet

A collection of index rules.


Public Class
GH_Lexer

Represents a lexical mask for path operations.


Public Class
GH_LexerCombo

Contains both a source and a target lexer object.


Public Class
GH_Path

Describes the path in structure space of a data item or a list of items. A path consists of a series of integers, each one of which represents an index in a branch structure.


Public Class
GH_Path.PathLengthComparer

Use this comparer to sort lists of paths using a topological approach. Shorter paths are favoured over longer paths. Equal length paths use the default comparer.


Public Class
GH_PathOffset

Represents a relative offset within a data structure.


Public Class
GH_RuleAnyNumber
Public Class
GH_RuleAnyNumbers
Public Class
GH_RuleComplex
Public Class
GH_RuleGroup
Public Class
GH_RuleNumber
Public Class
GH_RuleRange
Public Class
GH_RuleSequence
Public Class
GH_StringMismatchException

Exception used during Rule Set parsing.


Public Class
GH_Structure.T.

Represents a data tree where each branch has a unique path


Public Class
GH_TreeFilter

Represents a collection of rules for validating DataTree paths and indices.


Public Class
GH_TreeRules

Represents an entire data tree rule set.


Structures

Structure

Description


Public Struct
GH_IndexRange

Represents a range of indices.


Public Struct
GH_TreeIndex

Represents a single unique location in a DataTree.


Interfaces

Interface

Description


Public Interface
IGH_DataTree

Utility interface for detection of DataTree generic instances.


Public Interface
IGH_IndexRule

Interface for index rules. An index rule is a way to determine whether a specific integer is considered valid, invalid or neutral. Index rules are used for selecting elements in DataTrees.


Public Interface
IGH_Rule

Interface for individual pattern elements.


Public Interface
IGH_Structure

Base interface for all GH_Structure types.


Public Interface
IGH_StructureEnumerator

Defines a minimum interface for iterating over all data in an IGH_Structure.


Delegates

Delegate

Description


Public delegate

GH_Structure.T..ConversionDelegate.Tfrom, Tto.

Represents a conversion between two types of IGH_Goo.


Enumerations

Enumeration

Description


Public Enum
GH_ExpandMode

Enumerates the possible expansion modes for structure paths.


Public Enum
GH_GraftMode

Enumerates all predefined grafting modes.


Public Enum
GH_RuleKind

Represents all possible element types in a Path Pattern.


Public Enum
GH_RuleOperator

Enumerate the possible ways rules can be strung together.


Public Enum
GH_RuleResult

Enumerates the possible opinions a rule can have.


Public Enum
GH_SimplificationMode

Enumerates the possible data structure simplification modes.