• Manual
  • HAPI Namespace
Show / Hide Table of Contents
  • HAPI
    • AbsExpression
    • AddExpression
    • AggregateExpression
    • AndExpression
    • Attribute
    • BetaDistribution
    • BinomialDistribution
    • BooleanDCNode
    • BooleanDDNode
    • BooleanDFNode
    • BooleanExpression
    • CeilExpression
    • Class
    • ClassCollection
    • ClassList
    • ClassParseListener
    • Clique
    • CliqueList
    • CompositeExpression
    • ConstantExpression
    • ContinuousChanceNode
    • CosExpression
    • CoshExpression
    • DataSet
    • DefaultClassParseListener
    • DiscreteChanceNode
    • DiscreteDecisionNode
    • DiscreteFunctionNode
    • DiscreteNode
    • DistributionDistribution
    • DivideExpression
    • Domain
    • Domain.Equilibrium
    • Domain.EvidenceMode
    • Domain.TriangulationMethod
    • EqualsExpression
    • ExceptionArgumentNotAlive
    • ExceptionBadKBFormat
    • ExceptionBadKBPassword
    • ExceptionBadKBVersion
    • ExceptionCGEvidenceIncorporated
    • ExceptionCGLIMIDsNotSupported
    • ExceptionCaseStateTooLarge
    • ExceptionChainGraph
    • ExceptionCompressed
    • ExceptionComputationFailed
    • ExceptionCyclicFunctionalDependency
    • ExceptionCyclicInstanceHierarchy
    • ExceptionCyclicNetwork
    • ExceptionDemo
    • ExceptionDivisionByZero
    • ExceptionEnumeration
    • ExceptionError
    • ExceptionExpiredLicense
    • ExceptionFastRetraction
    • ExceptionFunctionalDependency
    • ExceptionHugin
    • ExceptionIO
    • ExceptionIllegalBinding
    • ExceptionInappropriateArguments
    • ExceptionInconsistencyOrUnderflow
    • ExceptionInsufficientStateRange
    • ExceptionInvalidEvidence
    • ExceptionInvalidExpression
    • ExceptionInvalidLicense
    • ExceptionInvalidName
    • ExceptionInvalidProbabilityPotential
    • ExceptionInvalidStateValues
    • ExceptionLocale
    • ExceptionLowDensity
    • ExceptionMemory
    • ExceptionNoEquilibrium
    • ExceptionNoValue
    • ExceptionNormalization
    • ExceptionNotCompiled
    • ExceptionObjectNotAlive
    • ExceptionOverflow
    • ExceptionParse
    • ExceptionRounding
    • ExceptionSizeTooLarge
    • ExceptionSyntax
    • ExceptionTableTooLarge
    • ExceptionTwice
    • ExceptionUsage
    • ExceptionZeroVariance
    • ExpExpression
    • ExponentialDistribution
    • Expression
    • Expression.Operator
    • ExpressionList
    • FloorExpression
    • FunctionNode
    • GammaDistribution
    • GeometricDistribution
    • GreaterThanExpression
    • GreaterThanOrEqualsExpression
    • IfExpression
    • InstanceNode
    • IntervalDCNode
    • IntervalDDNode
    • IntervalDFNode
    • JunctionTree
    • JunctionTreeList
    • LabelExpression
    • LabelledDCNode
    • LabelledDDNode
    • LabelledDFNode
    • LessThanExpression
    • LessThanOrEqualsExpression
    • Log10Expression
    • Log2Expression
    • LogExpression
    • LogNormalDistribution
    • MaxExpression
    • MinExpression
    • ModExpression
    • Model
    • MultiplyExpression
    • NegateExpression
    • NegativeBinomialDistribution
    • NetworkModel
    • NetworkModel.Constraint
    • Node
    • Node.Category
    • Node.Kind
    • NodeExpression
    • NodeList
    • NoisyOrDistribution
    • NormalDistribution
    • NotEqualsExpression
    • NotExpression
    • NumberExpression
    • NumberedDCNode
    • NumberedDDNode
    • NumberedDFNode
    • NumericDiscreteNode
    • OrExpression
    • PERTDistribution
    • ParseListener
    • PoissonDistribution
    • PowerExpression
    • ProbabilityExpression
    • QuantileExpression
    • SinExpression
    • SinhExpression
    • SqrtExpression
    • StateIndexExpression
    • SubtractExpression
    • Table
    • TanExpression
    • TanhExpression
    • TriangularDistribution
    • TruncateExpression
    • UniformDistribution
    • UtilityNode
    • VarianceExpression
    • WeibullDistribution

Class ClassList

Lists of Classes are represented as ClassList's.

Inheritance
object
List<Class>
ClassList
Implements
IList<Class>
ICollection<Class>
IList
ICollection
IReadOnlyList<Class>
IReadOnlyCollection<Class>
IEnumerable<Class>
IEnumerable
Inherited Members
List<Class>.Add(Class)
List<Class>.AddRange(IEnumerable<Class>)
List<Class>.AsReadOnly()
List<Class>.BinarySearch(int, int, Class, IComparer<Class>)
List<Class>.BinarySearch(Class)
List<Class>.BinarySearch(Class, IComparer<Class>)
List<Class>.Clear()
List<Class>.ConvertAll<TOutput>(Converter<Class, TOutput>)
List<Class>.CopyTo(Class[])
List<Class>.CopyTo(int, Class[], int, int)
List<Class>.CopyTo(Class[], int)
List<Class>.EnsureCapacity(int)
List<Class>.Exists(Predicate<Class>)
List<Class>.Find(Predicate<Class>)
List<Class>.FindAll(Predicate<Class>)
List<Class>.FindIndex(Predicate<Class>)
List<Class>.FindIndex(int, Predicate<Class>)
List<Class>.FindIndex(int, int, Predicate<Class>)
List<Class>.FindLast(Predicate<Class>)
List<Class>.FindLastIndex(Predicate<Class>)
List<Class>.FindLastIndex(int, Predicate<Class>)
List<Class>.FindLastIndex(int, int, Predicate<Class>)
List<Class>.ForEach(Action<Class>)
List<Class>.GetEnumerator()
List<Class>.GetRange(int, int)
List<Class>.Slice(int, int)
List<Class>.IndexOf(Class)
List<Class>.IndexOf(Class, int)
List<Class>.IndexOf(Class, int, int)
List<Class>.Insert(int, Class)
List<Class>.InsertRange(int, IEnumerable<Class>)
List<Class>.LastIndexOf(Class)
List<Class>.LastIndexOf(Class, int)
List<Class>.LastIndexOf(Class, int, int)
List<Class>.Remove(Class)
List<Class>.RemoveAll(Predicate<Class>)
List<Class>.RemoveAt(int)
List<Class>.RemoveRange(int, int)
List<Class>.Reverse()
List<Class>.Reverse(int, int)
List<Class>.Sort()
List<Class>.Sort(IComparer<Class>)
List<Class>.Sort(int, int, IComparer<Class>)
List<Class>.Sort(Comparison<Class>)
List<Class>.ToArray()
List<Class>.TrimExcess()
List<Class>.TrueForAll(Predicate<Class>)
List<Class>.Capacity
List<Class>.Count
List<Class>.this[int]
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: HAPI
Assembly: hugincs-9.7-netstandard2.0-x64.dll
Syntax
public class ClassList : List<Class>, IList<Class>, ICollection<Class>, IList, ICollection, IReadOnlyList<Class>, IReadOnlyCollection<Class>, IEnumerable<Class>, IEnumerable

Constructors

ClassList()

Constructs a new ClassList.

Declaration
public ClassList()

Methods

Contains(Class)

Tests if a given class is contained in the ClassList.

Declaration
public bool Contains(Class cls)
Parameters
Type Name Description
Class cls

Class to test for.

Returns
Type Description
bool

Returns true if a given Class is contained in this ClassList.

Exceptions
Type Condition
ExceptionHugin

Contains(string)

Tests if a given class is contained in the ClassList.

Declaration
public bool Contains(string className)
Parameters
Type Name Description
string className

The name of the Class to test for.

Returns
Type Description
bool

Returns true if a given Class is contained in this ClassList.

Exceptions
Type Condition
ExceptionHugin

Find(string)

Returns the Class named 'className' (if any) in this ClassList.

Declaration
public Class Find(string className)
Parameters
Type Name Description
string className
Returns
Type Description
Class

the Class named 'className' in this ClassList. Returns null if no such Class is found.

Exceptions
Type Condition
ExceptionHugin

ToString()

Returns a String of names of the Classes in this ClassList.

Declaration
public override string ToString()
Returns
Type Description
string

A String like e.g., "{ ClassA, ClassB }".

Overrides
object.ToString()

Implements

IList<T>
ICollection<T>
IList
ICollection
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
In this article
Back to top Copyright (C) 2019-2025 Hugin Expert A/S