Talk:Repository Class/Notes: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=DRAFT for 10.3=
=DRAFT V11=
Edits for the BlockSim field:


===<span style="color:#585858">BlockSim</span>===
 
===<span style="color:#585858">Profiles</span>===  
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 240px;"|[[Repository.BlockSim.ExportBlockSimXMLFile|BlockSim.ExportBlockSimXMLFile]]||{{:Repository.BlockSim.ExportBlockSimXMLFile}}
| style="width: 240px;"|[[Repository.Profile.AddProfile|Profile.AddProfile]]||{{:Repository.Profile.AddProfile}}
|-
|[[Repository.BlockSim.GetAllFaultTrees]]||{{:Repository.BlockSim.GetAllFaultTrees}}
|-
|[[Repository.BlockSim.GetAllRBDBlocksData]]||{{:Repository.BlockSim.GetAllRBDBlocksData}}
|-
|[[Repository.BlockSim.GetAllRBDs]]||{{:Repository.BlockSim.GetAllRBDs}}
|-
|[[Repository.BlockSim.GetRBDBlockData]]||{{:Repository.BlockSim.GetRBDBlockData}}
|-
|-
|[[Repository.BlockSim.ImportBlockSimXMLFile|BlockSim.ImportBlockSimXMLFile]]||{{:Repository.BlockSim.ImportBlockSimXMLFile}}  
|[[Repository.Profile.GetProfile|Profile.GetProfile]]||{{:Repository.Profile.GetProfile}}
|-
|-
|[[Repository.BlockSim.UpdateRBDBlockData]]||{{:Repository.BlockSim.UpdateRBDBlockData}}
|[[Repository.Profile.GetAllProfiles|Profile.GetAllProfiles]]||{{:Repository.Profile.GetAllProfiles}}
|}
 
 
<hr>
 
''Edits for the Properties field:''
 
|-
|Use Events||Indicates whether to enable user-defined event procedures for the <code>Repository</code> object. '''Boolean'''. Default value = False.
 
 
<hr>
 
''Add the following section after Properties:''
 
==Events==
{| {{APITable}}
|-
|-
| style="width: 250px;"|[[Repository.Message|Message]]||{{:Repository.Message}}
|[[Repository.Profile.UpdateProfile|Profile.UpdateProfile]]||{{:Repository.Profile.UpdateProfile}}
|}
|}

Latest revision as of 18:08, 3 October 2016

DRAFT V11

Profiles

Name Description
Profile.AddProfile Adds a new profile resource to the current project. Returns a Boolean value; when true, indicates a successful save.
Profile.GetProfile Returns a cProfile object that represents a given profile resource in the current project. Returns nothing if the profile does not exist or is not in the current project.
Profile.GetAllProfiles Returns an array of cProfile objects that represent the profile resources in the current project.
Profile.UpdateProfile Updates the properties of a given profile resource in the current project. Returns a Boolean value; when true, indicates a successful update.