gmslAPI  0.1
gmslAPI: An API for Developing Upgrade Solutions using Great Migrations Technology
gmslLibrary.Model.Project Class Reference
Inheritance diagram for gmslLibrary.Model.Project:
gmslLibrary.Model.Select

Properties

static int root [get, set]
 
static int childRoot [get, set]
 
static int flags [get, set]
 
static bool ToolTip [get, set]
 
static bool DataSource [get, set]
 
static bool Library [get, set]
 
static bool Control [get, set]
 
static bool HasExtensions [get, set]
 
static bool SystemIO [get, set]
 
static bool DefInstance [get, set]
 
static bool IsInterfaceUser [get, set]
 
static bool VB6Compatible [get, set]
 
static bool MainArgs [get, set]
 
static bool HasPrinter [get, set]
 
static bool AppObject [get, set]
 
static bool References [get, set]
 
static bool StartupMain [get, set]
 
static bool Resources [get, set]
 
static int prjVbname [get, set]
 
static int CurrentClass [get, set]
 
static string fileName [get, set]
 
static string NameSpace [get, set]
 
static string BuildType [get, set]
 
static string Startup [get, set]
 
static string DeployLocation [get, set]
 
static string ExeName [get, set]
 
- Properties inherited from gmslLibrary.Model.Select
static string Name [get, set]
 The string Name property contains the name (up to 63 characters) used to refer to the translation tool. This name appears in the banner and may be used and/or changed as the user desires. It can also be referred to using the property ToolName. More...
 
static string ToolName [get, set]
 The string ToolName property contains the name (up to 63 characters) used to refer to the translation tool. This name appears in the banner and may be used and/or changed as the user desires. It can also be referred to using the property Name. More...
 
static string Version [get, set]
 The string Version property contains the build version number of the translation tool (up to 31 characters). It can be used in banners and/or translation headers to document the version used to produce some translation. It may be changed by the user, but this is not recommended More...
 
static string Company [get, set]
 The string Company property can contain any company/application specific string, up to 63 characters, that identifies the Company/copyright in effect. It is initialized as the release identifier for the tool itself which is the string "System Build(%date% %time%)". More...
 
static string Id [get, set]
 The string Id property is the translation scenario identifier, up to 31 characters. This identifier is always set to identify the particular set of translation conventions being used. It typically has short values like "std" or "bld" and is usually added to the names of all bundle and virtual files created. More...
 
static int Codesize [get, set]
 The integer Codesize property specifies the maximum size of the packed code storage area which receives the code emissions produced by the compiler. Its default setting is "200000" bytes. As the compiler adds code of some size to the back of this storage area it checks to make certain that there is sufficient room. If there is not it logs a message and ends execution. This is not a recoverable condition. The resolution is to add a command to the translation script or gmSL program to increase the "CodeSize" and then to rerun the translation. More...
 
static int Progress [get, set]
 The integer Progress property controls progress reporting while the tool is operating. Each level includes all messages from lower levels as well as those it introduces itself. Its levels are as follows: 0, Do not write progress messages; 1, Do write progress messages; 2, Describe text block replacements made while doing Fixes; and 3, Include elapsed time messages for the various subsystems in the tool More...
 
static EchoType Echo [get, set]
 The enumerated Echo property requests that source code be echoed as it is processed. It is defined via the EchoType enumeration. More...
 
static Dialects Dialect [get, set]
 The enumerated Dialect property specifies the target dialect to be used. It is defined via the Dialects enumeration. More...
 
static Dialects SubSystem [get, set]
 The enumerated SubSystem property activates a primary subsytem of the currently active target dialect. It is defined via the Dialects enumeration. Though subsystems are defined in the language file, they are intended to be completely independent of the mainline logic either in the tool itself or in places like AuthorText.gmsl. All subsystem logic other than the patterns themselves needs to be localized into a gmsl file which is loaded in the language file but which is independent of other machinery so that it can easily be plugged in or out. The name of these files is "SIDsubsystem.gmsl" (where SID is the subsystem identifier); thus, for WPF it is "WPFsubsystem.gmsl". More...
 
static Dialects SubSystem2 [get, set]
 The enumerated SubSystem2 property activates a secondary subsytem of the currently active target dialect. It is defined via the Dialects enumeration. Up to 5 subsystem levels may be used. More...
 
static Dialects SubSystem3 [get, set]
 The enumerated SubSystem3 property activates a third level subsytem of the currently active target dialect. It is defined via the Dialects enumeration. Up to 5 subsystem levels may be used. More...
 
static Dialects SubSystem4 [get, set]
 The enumerated SubSystem4 property activates a fourth level subsytem of the currently active target dialect. It is defined via the Dialects enumeration. Up to 5 subsystem levels may be used. More...
 
static Dialects SubSystem5 [get, set]
 The enumerated SubSystem5 property activates a fifth level subsytem of the currently active target dialect. It is defined via the Dialects enumeration. Up to 5 subsystem levels may be used. More...
 
static CharacterSets charset [get, set]
 The enumerated property charset specifies the character set being used for the source code. Its entries are defined by the CharacterSets enumeration. By default in is set to CharacterSets.ASCII. More...
 
static FixedType TypeInteger [get, set]
 The enumerated TypeInteger property specifies whether BASIC integers should be treated as 2-byte integers or 4-byte integers. It is defined via the FixedType enumeration. The default setting is FixedType.Integer. To date all applications of the tool have used this default setting and it should probably not be set to FixedType.SHORT unless the BASIC code is performing operations that require BASIC short arithmetic. If this the case, migration logic will probably be needed anyway. More...
 
static FixedType TypeLong [get, set]
 The enumerated TypeLong property specifies whether BASIC longs should be treated as 4-byte integers or 8-byte integers. It is defined via the FixedType enumeration. The default setting is FixedType.Integer. To date all applications of the tool have used this default settings and it should probably not be set to FixedType.Long unless the BASIC code is performing operations that require that longs be larger than integers. If this the case, migration logic will probably be needed anyway. More...
 
static int Indent [get, set]
 The integer Indent property specifies the indentation width in the authored output. It should be set to a reasonably small positive value or zero. The default value is "3". When authoring the tool does not attempt to reproduce the leading white space in the source code; rather it keeps track of the margin nesting level via the "p" and "q" escape characters in the surface patterns or via the margin method calls in gmSL. It then uses this margin level times the indentation width to determine the amount of leading blanks to add. Note that if this property is set to zero, then the tool uses the margin level number of tab-characters to lead the line. More...
 
static bool BlockComments [get, set]
 The bool BlockComments property, if true, requests that comments be blocked in the authored output – i.e., be surrounded by blank lines – in the authored output. The default value is false. More...
 
static int BlockMethods [get, set]
 The int BlockMethods property specifies that subprogram codes should be blocked for readability. This value has two effects – first, it adds blank lines between method declarations and second it shows blank lines within methods as empty comments to make them stand out. The default value is zero. A value of zero results in no additional formatting to block methods; while a value greater than zero block methods by adding that many blank lines before the comments that introduce the method and changes any blank lines within the method to empty comments. More...
 
static ExceptionType ExceptionHandling [get, set]
 The enumerated ExceptionHandling property specifies how the analyzer should deal with exception handling when doing VB.NET target translations. It is defined via the ExceptionType enumeration. Its default setting is ExceptionType.simple. More...
 
static CheckDeclarationType CheckDeclares [get, set]
 The enumerated CheckDeclares property controls the checking and reporting of the consistency between DECLARE statements in the source codes and those in a interface description files. It is defined via the CheckType enumeration. More...
 
static bool CheckUUIDs [get, set]
 The bool CheckUUIDs property is used when the tool first loads an interface description file for a code reference. It purpose,if true, is to compare the UUID specified in the source reference request with the UUID specified on the "library" statement in the description file. The default setting is false. More...
 
static ProcessingStatus Undefinedproperties [get, set]
 The enumerated Undefinedproperties property specifies how to handle properties that are referenced in designer code but not declared in the interface description file. It is defined via the ProcessingType. Its default setting is ProcessingType.Ignore. More...
 
static bool ShowReferences [get, set]
 The bool ShowReferences property describes how external references are being satisfied. It is used in multi project translations that have co referential projects. Given the build order within the command script a given reference can either be satisfied by a previous compilation in the same script or via an external library description. if true the tool log messages describing how external references are being satisfied. The default default setting is false. More...
 
static bool SortReferences [get, set]
 The bool SortReferences property controls the saving of a sorted symbol reference list for later analysis. If false, do not save a sorted symbol reference list. If true, do save a sorted symbol reference list. The default value is true. It should not be set false. The sorted reference list is used extensively by the analyzer to trace argument values through subprogram calls. More...
 
static bool LibrariesOnly [get, set]
 The bool LibrariesOnly property requests how external references should be satisfied. It is used in multi project translations that have co referential projects. Given the build order within the command script a given reference can either be satisfied by a previous compilation in the same script or via an external library description. If false, in multi-project translations, attempt to satisfy references by first checking previously compiled projects within the current compilation script and then via referenced libraries specified by interface description files. If true, only use libraries specified via interface description files to satisfy component references. Its default value is false. More...
 
static MissingType MissingRef [get, set]
 The enumerated MissingRef property describes the treatment of missing references either to project file references to external libraries or ASP page references to include files. It is defined via the MissingType enumeration. More...
 
static bool DeleteUnused [get, set]
 The bool DeleteUnused property controls the removal of unused constants from the translations. If false, do not remove unused constants from the translations. If true, remove unused constants from the translations. The default value is false. More...
 
static bool UseOverload [get, set]
 The bool UseOverload property specifies if operator overloading should be used to migrate declarations and calls to methods with optional arguments. If false, indicates that overloads should not be used. If true, indicates that overloads should be used. The default value is false. This property effects not just the authoring of subprograms with optional arguments, but also how they are called in the compiler. The statement that sets this property true must preceded the first "Compile" execution. It may be set in an environment file. More...
 
static bool StructExtern [get, set]
 The bool StructExtern property specifies that primitive integer types in structs should be declared using VB6 conventions. If false, requests Integer becomes int and Long becomes long. If true, requests Integer becomes short and Long becomes int. The default value is false. More...
 
static bool SyntaxFatal [get, set]
 The bool SyntaxFatal property specifies how to handle syntax errors in the source code. If false, issue an error and continue processing. If true, issue an error and stop processing. The default value is false. Errors causing source code statements are simply entered into the target translations as though they had been commented out in the source. More...
 
static bool UseZeroBased [get, set]
 The bool UseZeroBased property controls the adjustment of subscripts associated with 1-based dimensions. If false, do not adjust subscripts. If true, subscripts associated with 1-based dimensions are adjusted to be 0-based. The default value is false. More...
 
static bool SingleQuotes [get, set]
 The bool SingleQuotes property specifies that single quotes should be used when nested literal strings result from the migration of ASP codes. If true, requests that single quotes are used. If false, requests that other nested literal string techniques be used such as inserting backslashes or double quotes as is appropriate for the target language. The default value is false. More...
 
static bool NullOrEmpty [get, set]
 The bool NullOrEmpty property requests additional "NullOrEmpty" checks in the code. In particular, it scans the code looking for library components with the "CanBeNull" migration property set to true. When the source is testing them against an empty string, it tests them for a NULL or empty string. If false, do not do the extra code scan for CanBeNull migrations. If true, do the extra code scan for CanBeNull migrations. The default value is false. More...
 
static bool IssueWarnings [get, set]
 The bool IssueWarnings property controls the reporting of warnings throughout the translation process. If false, do not issue warning messages. If true, issue warning messages. The default value is false. More...
 
static bool IgnoreWin32 [get, set]
 The bool IgnoreWin32 property specifies that DECLARES ignore the Win32 specification files as processed under the control of the CheckDeclares attribute. If false, process the WIN32 declaration definition files as controlled by the CheckDeclares property. If true, ignore the WIN32 declaration definition files and processing. Simply accept the declared interface as specified in the code. The default value is false. More...
 
static bool OptionalArguments [get, set]
 Visual C# 2010 introduced optional arguments. The definition of a method, constructor, indexer, or delegate can specify that its parameters are required or that they are optional. Any call must provide arguments for all required parameters, but can omit arguments for optional parameters. Each optional parameter has a default value as part of its definition. If false, do not use optional arguments in the translation to C#. If true, do use optional arguments. THe default is false. More...
 
static bool AcceptByRef [get, set]
 The bool AcceptByRef property is used to control how explicit ByRef annotations are treated by the compiler when processing ASP code. If true, the compiler is forced to accept explicit ByRef parameters as ByRef regardless of what the uses of that parameter in the code seem to indicate. The property itself is used by the pass1 compiler, whose primary task is to build the symbol table, when it encounters the definition of a Sub or Function. If false, The ByRef specification is treated in the same manner as a missing specification. The default value is false. More...
 
static bool UseHexConstants [get, set]
 The bool UseHexConstants property is used to aid in the migration of long Hex numbers. This property, if true, is used first in the compiler to block any conversion of hex constants to integer constants and to type them as Unsigned. It is next used in the analyser where all calls to Integer parameters are checked to see if only unsigned arguments are being passed. If so, the type of the parameter is changed to Unsigned as well. At this point the tool is not forcing the left-hand-side of assignments to be Unsigned simply because they are set equal to an Unsigned value. More...
 
static bool UseInterfaces [get, set]
 The bool UseInterfaces property is still part of the Select class for backward compatibility, but it is not used by the tool any longer and is deprecated. Interfaces are always used if used by the VB6 code. More...
 
static bool AcceptRedefine [get, set]
 The bool AcceptRedefine property specifies how the compiler is to handle duplicate definitions of subprograms or variables in source codes. It has an effect when the pass1 compiler is processing a Sub,Function, or Dim statement and it encounters an identifier within the current scope level that has already been defined. If the propery is false, redefines are not allowed and the compiler generates a syntax error which says "Unable to store variable vector: 'identifier'" or "Unable to define subroutine 'identifier'". Note that pass1 syntax errors block further processing of the tool. When they occur no translation is attempted. If the property is true, the redefinition replaces the original one as opposed to being skipped. The default value is true. More...
 
static bool DesignCode [get, set]
 The bool DesignCode property is still part of the Select class for backward compatibility, but it is not used by the tool any longer and is deprecated. The property bag information is always authored as designer code now. More...
 
static bool ShowChanges [get, set]
 The bool ShowChanges property controls whether changes made to ASP VbScript code should be shown. The tool uses its VB6 compiler to process the VbScript code in ASP pages. There are instances where the compiler detects content that is not compatible with the VB6 compiler and changes it. If false, do not show changes made to VbScript code. If true, o show changes to VbScript code. The default value is false. More...
 
static bool WebApplication [get, set]
 The bool WebApplication property is still part of the Select class for backward compatibility, but it is not used by the tool any longer and is deprecated. More...
 
static bool CheckMultiSet [get, set]
 The bool CheckMultiSet property controls the behavior of the type inference process when it encounters inferences to different user types being applied to the same component. When false, use the first user type inference encountered for the component. When true, use the last user type inference for the component. The default value is false. More...
 
static bool RemoveByRef [get, set]
 The bool RemoveByRef property controls the treatment of ByRef parameters. In VB6, ByRef marshaling is the default and is very frequently used by accident, even with arguments that are often passed as literals or arithmetic expressions. C#, on the other hand is very strict and explicit about passing arguments by ref, and it is often necessary, in translations of VB6 to C#, to have to define a temporary variable only for the purpose of passing a literal or an expression ByRef. If the use of ByRef was not intentional, this added complexity is also unnecessary. Therefore, as an optimization, the tool inspects the body of the routine and removes ByRef marshalling when it is not needed. This provides for a cleaner translation because temporary argument variables are not created. Typically this optimization is not applied to arguments that were explicitly marked in the code as ByRef. If false, do not apply ByRef optimization to parameters that are explicitly declared ByRef. If true, apply the ByRef optimization to explicit ByRef parameters. The default value is false. More...
 
static bool CodeCommentOut [get, set]
 The bool CodeCommentOut property specifies how warnings and error pragmas produced for specific upgrade issues are handled. If false, when a reference to an unupgradable component occurs in the code add a conditional DEBUG warning to the code. If true, when a reference to an unupgradable component occurs in the code simply add a comment naming the component. The default value is false. More...
 
static bool OmitResxData [get, set]
 The bool OmitResxData property can be used to block the authoring of the resx files, but does not effect any other of the resource processing logic. If false, author resx files. If true, do not author resx files. The default value is false. More...
 
static bool ExcludeComments [get, set]
 The bool ExcludeComments property is no longer active and has been deprecated. More...
 
static bool CompilerWarnings [get, set]
 The bool CompilerWarnings property is used to control the authoring of TreatWarningsAsErrors entries in the project file. If false, set TreatWarningsAsErrors to false; else set it true. The default value is false. More...
 
static bool SupplyMissingResx [get, set]
 The bool SupplyMissingResx property specifies what to do with a property value when it is unable to open a referenced resx file. When false, if unable to open a reference resx file simply continue as though no resx file had been specified. When true, process the effected properties as though the resx file had been found but the property did not have a value given – i.e., assign it a default value based on its type. The default value of the property is false. More...
 
static bool OmitOcxState [get, set]
 The bool OmitOcxState property controls the inclusion of OcxState information with resource files for ActiveX controls. If true, exclude OcxState data from resource files. If false, Include OcxState data in resource files. THe default value of the property is false. More...
 
static bool TypeInference [get, set]
 The bool TypeInference property requests that the tool author a "TypeInference" reference script which contains a list of all source code symbols associated with a code base that have had a type inferred for them by either the compiler, the analyser, or the user. If false, do not authot the script; else author it. The default value is false. More...
 
static bool RuntimeConditional [get, set]
 The bool RuntimeConditional property specifies a work-around for complex condional compilation statements. In .NET only simple exists/(does not exist) type conditional statements are allowed. The goal here is simply to build everything to be certain that the translations are all well-formed and reasonably well-typed. The work-around encloses the complex expression in quotes and then calls a MigrationSupport method TestCond. If false, process conditionals in the manner specified by the ComputeConditional property. If true, use migration support calls to hide the actual conditional expressions while still allowing the compiler to see all of the code within the condition. The default value is false. More...
 
static bool AspCodeClass [get, set]
 The bool AspCodeClass property is deprecated. It was used to trigger the generation of code behind classes in ASP translations. This is now always done. More...
 
static bool MarkupCodeClass [get, set]
 The bool MarkupCodeClass property is deprecated. It was used to create a separate "AuthorMarkup" method for raw markup. More...
 
static bool UseLocalMemory [get, set]
 The bool UseLocalMemory property, when true, requests that only local memory be used for the storage areas created "Storage" requests. Its default value is false. More...
 
static AuthorLibType AuthorLibrary [get, set]
 The AuthorLibType enumeration property specifies how and when interface description files be authored when libraries or control projects are translated. More...
 
static ProcessingStatus LateBindings [get, set]
 
static ProcessingStatus Undefinedvariables [get, set]
 
static BuildFileStatus BuildFile [get, set]
 
static int SourceWidth [get, set]
 
static int MaxOutputWidth [get, set]
 
static bool MigrateLineToLabel [get, set]
 
static bool Migrate2 [get, set]
 
static bool UsesInterfaces [get, set]
 
static bool SharedFile [get, set]
 
static bool AddDefaultProperties [get, set]
 
static bool OmitAppObjects [get, set]
 
static bool UseUserControls [get, set]
 
static bool ShowVerticalLists [get, set]
 
static bool ProjectReference [get, set]
 
static bool MigrationSupportUI [get, set]
 
static bool SuppressNumericEncoding [get, set]
 
static bool CheckFinalCode [get, set]
 
static bool TraceCalls [get, set]
 
static bool EchoInput [get, set]
 
static bool LitmusTests [get, set]
 
static bool TraceChanges [get, set]
 
static bool EchoTranslation [get, set]
 
static bool EchoRaw [get, set]
 
static bool EchoStubs [get, set]
 
static bool EchoFixes [get, set]
 
static bool ASPNETCompiler [get, set]
 
static bool LinearizeFiles [get, set]
 
static bool UsesOldVS [get, set]
 
static bool UseDoublePrecision [get, set]
 
static bool CheckMultipleTypes [get, set]
 
static bool InternalTestFlag [get, set]
 
static bool UsesImplements [get, set]
 
static string Target [get, set]
 
static string UserFolder [get, set]
 
static string System [get, set]
 
static string IdfFromIdlFolder [get, set]
 
static string Language [get, set]
 
static string Local [get, set]
 
static string IdfFromCodeFolder [get, set]
 
static string VirtualRoot [get, set]
 
static string Library [get, set]
 
static string GenExternFolder [get, set]
 
static string DevEnv [get, set]
 
static string Idl [get, set]
 
static string RootSpace [get, set]
 
static string AppNameSpace [get, set]
 
static string DeployLocation [get, set]
 
static string NetProjFolder [get, set]
 
static string ComputeConditional [get, set]
 
static string RuntimeDlls [get, set]
 
static string environmentFile [get, set]
 
static string JobId [get, set]
 
static string SrcPath [get, set]
 
static string SrcName [get, set]
 
static string BndPath [get, set]
 
static string GlobalSettings [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from gmslLibrary.Model.Select
static int SCM_VB7string (int location, byte[] vector, int delta)
 
static int SCM_VB7getvalue (int location)
 
static void SCM_VB7setvalue (int location, int value)
 
static int SCM_VB7getflag (int location, int flag)
 
static void SCM_VB7setflag (int location, int flag, int value)
 

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