Store Class

Stores various data in scope of evaluation. All information about variables, arguments and function definitions are stored here. Definitions are represented in a stack.

Definition

Namespace: SMath.Math
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.73.9126.0
C#
public class Store : ActionContext, IEvaluationActionContext, 
	IEnumerable<Definition>, IEnumerable, IDisposable
Inheritance
Object    DocumentParams    ActionContext    Store
Implements
IEvaluationActionContext, IEnumerable<Definition>, IEnumerable, IDisposable

Constructors

Store(EvaluationContext) Constructor of context-class Store.
Store(Store) Constructor of context-class Store. Creates full copy of the specified Store object. Handy for multi-threading calculations.

Properties

Action Text value of the current context usage.
(Inherited from ActionContext)
ActionAborted Determines if action in the scope of current context was flagged as aborted or not.
Cancel Determines if operation requests for canceling.
(Inherited from ActionContext)
Count Number of Shared definitions.
Dependencies All plug-in dependences for the current expression evaluation.
(Inherited from ActionContext)
FileName Current Document full file name.
(Inherited from DocumentParams)
FractionsTypeNumeric Numeric fractions type required for current context.
(Inherited from ActionContext)
GeneratorVersion Version of the application.
(Inherited from ActionContext)
Id Id of the Document.
(Inherited from DocumentParams)
IgnoreUnits Determines if units of measurement should be taken into account or not while evaluation.
IsDefProcessing Determines if action in the scope of current context was initiated for calculation of definition.
IsUnderVectorization Determines whether current action performed in the scope of vectorization process or not.
Item Returns a definition by the index from the shared definition collection.
Optimization Defines if right part of the definition should be optimized using Symbolic Library.
OutputUnitsSystem Gets or sets default output units system for calculations with units of measurements.
Obsolete.
Revision Revision number of the Document.
(Inherited from DocumentParams)
Scope Context of the current worksheet evaluation process.
SessionProfile Session parameters.
(Inherited from ActionContext)
SkipClearOnError Determines whether variable/function must leave its previous value on error or not.
StartDepth Start scope depth for current calculation context.
SuppressUI Determines whether any interactions with user is not supported.
(Inherited from ActionContext)

Methods

AddDefinition(Definition) Updates existing or adds a new variable or function to the definitions list.
AddDefinition(Definition, Boolean) Updates existing or adds a new variable or function to the definitions list.
AddDefinition(Entry, Entry) Adds a definition to current evaluation context.
AddDefinition(String, Entry) Updates existing or adds a new variable or function to the definitions list.
AddDefinition(Term[], Term[]) Adds a definition to current evaluation context.
Obsolete.
AddDefinition(String, Term[], Entry) Updates existing or adds a new variable or function to the definitions list.
AddDefinition(String, Term[], Term[]) Updates existing or adds a new variable or function to the definitions list.
Obsolete.
AddDependency(AssemblyInfo) Add dependence from specific plug-in.
(Inherited from ActionContext)
AddDependency(IEnumerable<AssemblyInfo>) Add dependences from specific plug-ins.
(Inherited from ActionContext)
AddTerminator Add a variable Terminator to the shared list of definitions. Substitution will break if stumble on the Terminator definition.
AppendDefinition(String, Term[], Entry) Add new variable or function to the end of definitions list.
AppendDefinition(String, Term[], Term[]) Add new variable or function to the end of definitions list.
Obsolete.
Clear Clears a definition from the global store.
CloneShare Creates a copy of current context with Shared definitions only.
Contains(IPrimitive[]) Determines if current context contains definition of specified primitives.
Contains(IPrimitive, Definition) Determines if current context contains definition of the Term.
Contains(IPrimitive, Int32) Determines if current context contains definition of the Term.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FromFile Load evaluation context from file.
GetEnumerator Return enumerator of the available shared definitions.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDefined(IPrimitive[]) Checks if every element of mathematical expression is defined. Not recursive.
Obsolete.
IsDefined(IPrimitive, Boolean) Checks if element of mathematical expression is defined.
IsDefined(IPrimitive[], Boolean) Checks if every element of mathematical expression is defined.
IsDefined(IPrimitive, Boolean, Boolean, Boolean) Checks if element of mathematical expression is defined with a given parameters.
IsGraphChanged Detects structural changes between calculation contexts.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RaiseError Raise an error message.
(Inherited from ActionContext)
RemoveAt Removes Definition at the specific position of the shared list.
RemoveRange Removes Definitions of the specific range of the shared list.
RequestPlugins Raise a message about plg-in is requested.
(Inherited from ActionContext)
ToFile Creates a file contains exported evaluation context.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TraceData Sends trace data to the subscribers.
UpdateAt Updates answer for the specific definition.

Events

ErrorOccured Occurs if an error is found while the operation is in progress.
(Inherited from ActionContext)
PluginsRequested Occurs if any plug-ins are requested.
(Inherited from ActionContext)

Explicit Interface Implementations

IDisposable.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
IEnumerable.GetEnumeratorReturns an enumerator that iterates through a collection.

See Also