jalhyd
Version:
JaLHyd, a Javascript Library for Hydraulics
32 lines • 1.18 kB
TypeScript
import { ComputeNode } from "../internal_modules";
import { ParamDefinition } from "../internal_modules";
import { IParamDefinitionIterator } from "../internal_modules";
/**
* liste des paramètres d'une équation
*/
export declare abstract class ParamsEquation implements Iterable<ParamDefinition> {
/**
* Pointer to calculator using these parameters; usually defined in Nub constructor
* when affecting ParamsEquation. Usually a Nub but might be an acSection
*/
parent: ComputeNode;
protected _paramMap: {
[]: ParamDefinition;
};
constructor(parent?: ComputeNode);
get nubUid(): string;
hasParameter(name: string): boolean;
get map(): {
[]: ParamDefinition;
};
/**
* Retrieves a parameter from its symbol
*/
get(name: string): ParamDefinition;
checkParametersCalculability(): void;
[](): Iterator<ParamDefinition>;
get iterator(): IParamDefinitionIterator;
protected addParamDefinition(p: ParamDefinition, force?: boolean): void;
protected addParamDefinitions(ps: ParamsEquation): void;
}
//# sourceMappingURL=params-equation.d.ts.map