IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Lib.SimJmatProSettingsDto Class Reference

Settings for the SimJMatProFileManagerBase class. More...

+ Inheritance diagram for IG.Lib.SimJmatProSettingsDto:
+ Collaboration diagram for IG.Lib.SimJmatProSettingsDto:

Public Member Functions

 SimJmatProSettingsDto ()
 Constructs a new JMatPro settings object. More...
 
 SimJmatProSettingsDto (bool restoreWorkingDirectory)
 Constructs a new JMatPro settings object, with the specified flag telling whether working directory should be stored or not. More...
 
override SimJMatProFileManagerBase CreateObject ()
 Creates and returns a new object of the corresponding type. More...
 
- Public Member Functions inherited from IG.Lib.SerializationDtoBase< Type, BaseType >
 SerializationDtoBase ()
 
virtual bool GetNull ()
 Returns a flag indicating whether the object represented by the current DTO is null. More...
 
virtual void SetNull (bool isNull)
 Sets a flag indicating whether the object represented by the current DTO is null. More...
 
virtual void CopyFromBase (BaseType obj)
 Copies data to the current DTO from an object of type BaseType. More...
 
virtual void CopyToBase (ref BaseType obj)
 Copies data from the current DTO to an object of the base type. Object is created anew if necessary by using the CreateObject() method. More...
 
virtual void CopyFrom (Type obj)
 Copies data to the current DTO from an object of type Type. More...
 
virtual void CopyTo (ref Type obj)
 Copies data from the current DTO to an object of type Type. Object is created anew if necessary by using the CreateObject() method. More...
 
virtual void CopyFromObject (object obj)
 Copies data to the current DTO from an object of type object. The necessary casts are performed. More...
 
virtual void CopyToObject (ref object obj)
 Copies data from the current DTO to an object of type object. Object is created anew if necessary by using the CreateObject() method. The necessary casts are performed. More...
 
override string ToString ()
 Creates and returns string representation of the current DTO (data transfer object). More...
 

Additional Inherited Members

- Static Public Member Functions inherited from IG.Lib.SerializationDto
static ObjectType CopyToObjectReturned< DtoType, ObjectType > (DtoType dto, ObjectType obj)
 Replacement for CopyToObject for cases where object can not be passed by reference. The returned object must be assigned to object (property, list element, etc.) to which object state is copied. More...
 
static void CopyToObject< DtoType, ObjectType > (DtoType dto, ref ObjectType obj)
 Copies object state form the specified DTO (data transfer object) to the specified object. More...
 
static DtoType CopyFromObjectReturned< DtoType, ObjectType > (ObjectType obj, DtoType dto)
 Replacement for CopyFromObject for cases where object can not be passed by reference. The returned object must be assigned to object (property, list element, etc.) to which object state is copied. More...
 
static void CopyFromObject< DtoType, ObjectType > (ObjectType obj, ref DtoType dto)
 Copies object state form the specified object to the corresponding DTO (data transfer object). More...
 
static ObjectType[] CopyArrayToObjectReturned< DtoType, ObjectType > (DtoType[] tabDto, ObjectType[] tabObj)
 Replacement for CopyArrayToObject for cases where object can not be passed by reference. The returned object must be assigned to object (property, list element, etc.) to which data is copied. More...
 
static void CopyArrayToObject< DtoType, ObjectType > (DtoType[] tabDto, ref ObjectType[] tabObj)
 Copies array of DTOs (Data Transfer Objects) to an array of appropriate objects. More...
 
static DtoType[] CopyArrayFromObjectReturned< DtoType, ObjectType > (ObjectType[] tabObj, DtoType[] tabDto)
 Replacement for CopyArrayFromObject for cases where object can not be passed by reference. The returned object must be assigned to object (property, list element, etc.) to which data is copied. More...
 
static void CopyArrayFromObject< DtoType, ObjectType > (ObjectType[] tabObj, ref DtoType[] tabDto)
 Copies array of objects to an array of DTOs. More...
 
static List< ObjectType > CopyListToObjectReturned< DtoType, ObjectType > (DtoType[] tabDto, List< ObjectType > listObj)
 Replacement for CopyListToObject for cases where object can not be passed by reference. The returned object must be assigned to object (property, list element, etc.) to which data is copied. More...
 
static void CopyListToObject< DtoType, ObjectType > (DtoType[] tabDto, ref List< ObjectType > listObj)
 Copies array of DTOs (Data Transfer Objects) to a list of appropriate objects. More...
 
static DtoType[] CopyListFromObjectReturned< DtoType, ObjectType > (List< ObjectType > tabObj, DtoType[] tabDto)
 Replacement for CopyArrayFromObject for cases where object can not be passed by reference. The returned object must be assigned to object (property, list element, etc.) to which data is copied. More...
 
static void CopyListFromObject< DtoType, ObjectType > (List< ObjectType > tabObj, ref DtoType[] tabDto)
 Copies array of objects to a list of DTOs. More...
 
- Public Attributes inherited from IG.Lib.SimJMatProSettingsDto< FmType >
string IncludedSettingsPath
 If specified then setitngs from the specified file are read and set on the JMatPro file manager before the settings from the current object are set. More...
 
bool WorkingDirectory_RestoreFromSettings = false
 Specifies whether JMatPro interface' working directory should be stored with settings or not. If false then working directory will not copied form the setting object to the interface' file manager object (which is of type SimJMatProFileManagerBase or derived type) when calling the CopyToPlain or CopyTo method. More...
 
string WorkingDirectory
 Working directory of the JMatPro interface. More...
 
string DataDefinitionJMatFilename
 Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters). More...
 
string DataDefinitionJMatFilePath
 Path to the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters). More...
 
string DataDefinitionProcessFilename
 Name of the file containing data definition for all process input and output parameters. More...
 
string DataDefinitionProcessFilePath
 Path to the file containing data definition for all process input and output parameters. More...
 
string DataDefinitionJointFilename
 Name of the file containing definition data for the superset of all input parameters and output values. More...
 
string DataDefinitionJointFilePath
 Path to the file containing definition data for the Joint of all input parameters and output values. More...
 
string WorkingMaterialParametersPath
 File path of the file in working directory where material parameters for calculation are stored. If set to null then path is set to null and will be recalculated when getter is called. More...
 
string RootDataDirectoryName
 Name of the root data directory. More...
 
string RootDataDirectoryPath
 Path to the root directory that contains directories with calculated material data for different parameters defining chemical compositions. More...
 
string LogFileName
 Name of the log file where operations are logged. More...
 
string LogFilePath
 Path to the log file where basic operations are logged. More...
 
string MaterialDataDirectoryPath
 Data directory for the current material parameters. More...
 
string MaterialParametersFilename
 Name of the file in material data directory where material parameters are stored. More...
 
string MaterialParametersPath
 File path of the file where material parameters are stored. If set to null then path is set to null and will be recalculated when getter is called. More...
 
string MaterialCompositionFilename
 Name of the file in material data directory where material composition is stored. More...
 
string MaterialCompositionPath
 File path of the file (normally in the material data directory) where material composition is stored. If set to null then path is set to null and will be recalculated when getter is called. More...
 
string MaterialResultsFilename
 Name of the file in material data directory where material results are stored. More...
 
string MaterialResultsPath
 File path of the file (normally in the material data directory) where material reslts are stored. If set to null then path is set to null and will be recalculated when getter is called. More...
 
string NameJMatProBase
 Name of the JMatPro directory (without root directories) and executable. More...
 
string JMatInstallationPath
 Path of the directory where JMAtPro is installed. Setter takes only pure directory name, without path information. If set to null then directory path is set to null and will be recalculated when getter is called. More...
 
string JMatExecutableFileName
 JMatPro executable relative path to installation directory. More...
 
string JMatExecutableFilePath
 Path to the JMatPro executable. More...
 
string JMatDataPath
 Path to the JMatPro data directory (containing material data, input and output data, etc.) More...
 
string JMatCompositionFilename
 Relative path, with respect to JMatPro data directory, of the file containing material composition (input for JMatPro calculation). More...
 
string JMatCompositionFilePath
 Path of the file containing material composition (input for JMatPro calculation). More...
 
string JMatResultsFilename
 Relative path, with respect to JMatPro data directory, of the file containing material results of JMatPro calculation. More...
 
string JMatResultsFilePath
 Path of the file containing results of JMatPro calculation. More...
 
int JMatResultsMinimalSize = 0
 Minimal size of the result file, used to verify validity of results. More...
 
int JMatResultsGoodSize = 0
 Size of the materials result file that is considered a good size - the file should be at least of this size if calculation was performed without errors. More...
 
string JMatCompletionDetectionFilename
 Relative path, with respect to JMatPro data directory, of the file used to detect whether calculation is still going on. More...
 
string JMatCompletionDetectionFilePath
 Path of the file used to detect whether calculation is still going on. More...
 
double JMatCompletionDetectionSleepTimeSeconds
 Sleeping time used in detectiong whether JMatPro calculation is still going on. More...
 
int JMatCompletionDetectionSize
 Minimal size of calculation detection file above which calculation is considered finished. More...
 
double JMatBeforeSaveSleepTimeSeconds = 3.5
 Waiting time (in seconds) after last increase in file size used before thinking that calculation is finished, to eventually prevent too early detection that calculation was finished. More...
 
double JMatTimeoutWaitCalculationSeconds
 Timeout for waiting completion of calculation, in seconds. More...
 
double JMatTimeoutWaitResultsSavedSeconds
 Timeout for waiting until results are completely saved, in seconds. More...
 
int JMatResultsSavedDetectionSize
 Minimal size of result file file, above which saving results can be considered finished. More...
 
double JMatBeforeResultsSavedSleepTimeSeconds
 Waiting time (in seconds) after last increase in file size used before assuming that saving result is finished, to eventually prevent too early detection that calculation was finished. More...
 
string UserInteractionCommand
 Command for playback of recorded user interaction (i.e. emulation of keyboard and mouse events) for various actions. More...
 
string UserInteractionRecordDir
 Dierctory containing recorded user interactions for different actions. More...
 
string UserInteractionRecordExtension
 Extension of files with recorded user interaction. More...
 
string UserInteractionRecordNameStartJMat
 Name of the user interaction record for starting JMatPro software via Windows GUI. More...
 
string UserInteractionRecordPathStartJMat
 Path to the user interaction record for starting JMatPro software via Windows GUI. More...
 
string UserInteractionRecordNameCloseJMat
 Name of the user interaction record for closing JMatPro software normally via GUI. More...
 
string UserInteractionRecordPathCloseJMat
 Path to the user interaction record for closing JMatPro software normally via GUI. More...
 
string UserInteractionRecordNameRepairJMat
 Name of the user interaction record for repairing JMatPro software. More...
 
string UserInteractionRecordPathRepairJMat
 Path to the user interaction record for repairing JMatPro software. More...
 
string UserInteractionRecordNameStartCalculation
 Name of the file containing recors of user interaction necessary to start JMatPro. More...
 
string UserInteractionRecordPathStartCalculation
 Name of the file containing recors of user interaction necessary to start JMatPro. More...
 
string UserInteractionRecordNameSaveResults
 Name of the file containing records of user interaction necessary to save results of JMatPro calculation. More...
 
string UserInteractionRecordPathSaveResults
 Path to the file containing recors of user interaction necessary to save results of JMatPro calculation. More...
 
string UserInteractionRecordNameChangeTemperatureUnit
 Name of the file containing records of user interaction necessary to change temperature uits in JMatPro that is already launched. More...
 
string UserInteractionRecordPathChangeTemperatureUnit
 Path to the file containing recors of user interaction necessary to change temperature uits in JMatPro that is already launched. More...
 
string UserInteractionRecordNameChangeFractionUnit
 Name of the file containing records of user interaction necessary to change fraction uits in JMatPro that is already launched. More...
 
string UserInteractionRecordPathChangeFractionUnit
 Path to the file containing recors of user interaction necessary to change fraction uits in JMatPro that is already launched. More...
 
- Protected Member Functions inherited from IG.Lib.SimJMatProSettingsDto< FmType >
override void CopyFromPlain (SimJMatProFileManagerBase fm)
 Copies the specified training limits to the current DTO. More...
 
override void CopyToPlain (ref SimJMatProFileManagerBase fm)
 Copies contents of the current DTO to the specified training limits object. More...
 
- Protected Member Functions inherited from IG.Lib.SerializationDtoBase< Type, BaseType >
abstract void CopyFromPlain (BaseType obj)
 Copies contents of the specified object to the current DTO (Data Transfer Object). More...
 
abstract void CopyToPlain (ref BaseType obj)
 Copies contents of the current DTO (Data Transfer Object) to the specified object. More...
 
- Protected Member Functions inherited from IG.Lib.SerializationDto
 SerializationDto ()
 
- Protected Attributes inherited from IG.Lib.SerializationDtoBase< Type, BaseType >
bool _isNull = false
 
- Properties inherited from IG.Lib.SerializationDtoBase< Type, BaseType >
object Lock [get]
 This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. More...
 
- Properties inherited from IG.Lib.ILockable
object Lock [get]
 

Detailed Description

Settings for the SimJMatProFileManagerBase class.

Constructor & Destructor Documentation

IG.Lib.SimJmatProSettingsDto.SimJmatProSettingsDto ( )
inline

Constructs a new JMatPro settings object.

The flag for storing working directory in settings is set false.

IG.Lib.SimJmatProSettingsDto.SimJmatProSettingsDto ( bool  restoreWorkingDirectory)
inline

Constructs a new JMatPro settings object, with the specified flag telling whether working directory should be stored or not.

Parameters
restoreWorkingDirectorySpecifies whether JMatPro interface' working directory should be stored with settings or not. If false then working directory will not copied form the setting object to the interface' file manager object (which is of type SimJMatProFileManagerBase or derived type) when calling the CopyToPlain or CopyTo method.

Member Function Documentation

override SimJMatProFileManagerBase IG.Lib.SimJmatProSettingsDto.CreateObject ( )
inlinevirtual

Creates and returns a new object of the corresponding type.

Implements IG.Lib.SerializationDtoBase< Type, BaseType >.


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