Context
Context.Rd
Class representing a PetroVisor context object.
Public fields
name
The name of the context.
entity_set
The context's entity set (object of class EntitySet).
scope
The context's scope (object of class Scope).
hierarchy
(Optional) The hierarchy used for automatic aggregation (Object of type Hierarchy).
loading_scenario_name
(Optional) The name of the loading scenario.
saving_scenario_name
(Optional) The name of the saving scenario.
scenario_data_only
(Optional) Whether to load data from the specified loading scenario only. If
FALSE
, data will be merged with workspace data.formula
The context's definition as string (P# syntax).
description
The description of the item.
labels
A list of strings holding the labels of the context.
Methods
Method new()
Create a new Context instance.
Arguments
name
The name of the context.
entity_set
The context's entity set (object of class EntitySet).
scope
The context's scope (object of class Scope).
hierarchy
(Optional) The hierarchy used for automatic aggregation (Object of type Hierarchy).
loading_scenario_name
(Optional) The name of the loading scenario.
saving_scenario_name
(Optional) The name of the saving scenario.
scenario_data_only
(Optional) Whether to load data from the specified loading scenario only. If
FALSE
, data will be merged with workspace data.formula
The context's definition as string (P# syntax).
description
The description of the item.
labels
A list of strings holding the labels of the context.