|
ContentsSimantics/SCLThis module contains functions closely related to SCL and storing SCL related constructs in the Simantics database. SCL Command Sessiondata CommandResponse CommandResponse :: String -> Boolean -> CommandResponse createTextAndErrors :: String -> [CompilationError] -> TextAndErrors execute :: String -> <SCL,Proc> () isSuccessful :: CommandResponse -> Boolean SCL RealmgetOrCreateSCLRealm :: String -> <Proc> SCLRealm readSCLRealm :: Resource -> <ReadGraph,Proc> SCLRealm refreshVariables :: SCLRealm -> <Proc> () sclRealmById :: String -> <Proc> Maybe SCLRealm syncExec :: SCLRealm -> <SCL,Proc> a -> <Proc> a Command Session Variable AccesssetVariable :: String -> Type -> a -> <SCL> () variableValue :: String -> <SCL> a SCL ValuescreateSCLValue :: Resource -> Resource -> Resource -> String -> <WriteGraph> Resource createSCLValueIndependent :: Resource -> String -> <WriteGraph> Resource setExpression :: Variable -> String -> <WriteGraph> () SCL ModulescreateSCLModuleAction :: Resource -> <Proc> () createSCLModuleDefault :: Resource -> <WriteGraph> () createSCLModule :: Resource -> String -> <WriteGraph> () Use createSCLModuleR instead. createSCLModuleR :: Resource -> String -> <WriteGraph> Resource
createSCLModuleWithDefinition :: Resource -> String -> String -> <WriteGraph> Resource
setSCLModuleDefinition :: Resource -> String -> <WriteGraph> Resource
SCL ScriptscreateSCLScriptAction :: Resource -> <Proc> () createSCLScriptDefault :: Resource -> <WriteGraph> () createSCLScript :: Resource -> String -> <WriteGraph> () Use createSCLScriptR instead. createSCLScriptR :: Resource -> String -> <WriteGraph> Resource
createSCLScriptWithDefinition :: Resource -> String -> String -> <WriteGraph> Resource
setSCLScriptDefinition :: Resource -> String -> <WriteGraph> Resource
Ontology definitions (PGraphs)PGraph (partial graph) is a textual format for specifying ontologies for Simantics. For more information on the format, see this documentation. createPGraphAction :: Resource -> <Proc> () createPGraphDefault :: Resource -> <WriteGraph> () createPGraph :: Resource -> String -> <WriteGraph> () Use createPGraphR instead. createPGraphR :: Resource -> String -> <WriteGraph> Resource
setPGraphDefinition :: Resource -> String -> <WriteGraph> Resource |