Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Events | List of all members
SaveUpgradePipeline.SaveUpgradePipeline Class Reference

Public Member Functions

void Init (List< Assembly > asms)
 
string PrintLog (List< Dictionary< UpgradeScript, LogEntry >> log, string cfgName, string runInfo)
 
ConfigNode Run (ConfigNode node, LoadContext ctx, Version AppVersion, out bool runSuccess, out string runInfo)
 
ConfigNode Run (ConfigNode node, LoadContext ctx, Version AppVersion, out bool runSuccess, out string runInfo, ref List< Dictionary< UpgradeScript, LogEntry >> log)
 
TestResult RunTest (UpgradeScript uSc, ConfigNode node, LoadContext loadContext)
 
ConfigNode RunUpgrade (UpgradeScript uSc, ConfigNode node, LoadContext loadContext)
 
void SetCfgNodeVersion (ConfigNode node, LoadContext ctx, Version version)
 

Public Attributes

List< Dictionary
< UpgradeScript, LogEntry > > 
runLog
 
List< UpgradeScriptupgradeScripts
 

Protected Member Functions

void RunLogCoD ()
 

Static Protected Member Functions

static void OnSetCfgNodeVersion_Default (ConfigNode n, LoadContext loadContext, Version version)
 
static void ReflectUpgradeScripts (out List< UpgradeScript > upgradeScripts, List< Assembly > asms)
 
static bool SanityCheck (UpgradeScript uSC, Version AppVersion)
 
static bool TestExceptionCases (List< Dictionary< UpgradeScript, LogEntry >> log)
 

Events

Callback< ConfigNode,
LoadContext, Version > 
OnSetCfgNodeVersion
 

Member Function Documentation

void SaveUpgradePipeline.SaveUpgradePipeline.Init ( List< Assembly >  asms)
inline
static void SaveUpgradePipeline.SaveUpgradePipeline.OnSetCfgNodeVersion_Default ( ConfigNode  n,
LoadContext  loadContext,
Version  version 
)
inlinestaticprotected
string SaveUpgradePipeline.SaveUpgradePipeline.PrintLog ( List< Dictionary< UpgradeScript, LogEntry >>  log,
string  cfgName,
string  runInfo 
)
inline
static void SaveUpgradePipeline.SaveUpgradePipeline.ReflectUpgradeScripts ( out List< UpgradeScript upgradeScripts,
List< Assembly >  asms 
)
inlinestaticprotected
ConfigNode SaveUpgradePipeline.SaveUpgradePipeline.Run ( ConfigNode  node,
LoadContext  ctx,
Version  AppVersion,
out bool  runSuccess,
out string  runInfo 
)
inline
ConfigNode SaveUpgradePipeline.SaveUpgradePipeline.Run ( ConfigNode  node,
LoadContext  ctx,
Version  AppVersion,
out bool  runSuccess,
out string  runInfo,
ref List< Dictionary< UpgradeScript, LogEntry >>  log 
)
inline

< sanity-check all scripts (discard any that fail)

< there are no other possible outcomes, but this keeps the compiler happy

void SaveUpgradePipeline.SaveUpgradePipeline.RunLogCoD ( )
inlineprotected
TestResult SaveUpgradePipeline.SaveUpgradePipeline.RunTest ( UpgradeScript  uSc,
ConfigNode  node,
LoadContext  loadContext 
)
inline
ConfigNode SaveUpgradePipeline.SaveUpgradePipeline.RunUpgrade ( UpgradeScript  uSc,
ConfigNode  node,
LoadContext  loadContext 
)
inline
static bool SaveUpgradePipeline.SaveUpgradePipeline.SanityCheck ( UpgradeScript  uSC,
Version  AppVersion 
)
inlinestaticprotected
void SaveUpgradePipeline.SaveUpgradePipeline.SetCfgNodeVersion ( ConfigNode  node,
LoadContext  ctx,
Version  version 
)
inline
static bool SaveUpgradePipeline.SaveUpgradePipeline.TestExceptionCases ( List< Dictionary< UpgradeScript, LogEntry >>  log)
inlinestaticprotected

Member Data Documentation

List<Dictionary<UpgradeScript, LogEntry> > SaveUpgradePipeline.SaveUpgradePipeline.runLog
List<UpgradeScript> SaveUpgradePipeline.SaveUpgradePipeline.upgradeScripts

Event Documentation

Callback<ConfigNode, LoadContext, Version> SaveUpgradePipeline.SaveUpgradePipeline.OnSetCfgNodeVersion

The documentation for this class was generated from the following file: