gmslAPI  0.1
gmslAPI: An API for Developing Upgrade Solutions using Great Migrations Technology
gmslLibrary.Services Namespace Reference

Classes

class  Analyser
 The Analyser class contains utilities used to allow the introduction of external library component transformations into the analyser phase of a translation. More...
 
class  AuditVbi
 The AuditVbi class writes component audit reports to the currently selected output file in the syntax style specified for that file. It is used extensively by the "gmMetrics" program but may also be used for debugging purposes by any translation program. More...
 
class  Character
 The class Character processes character strings in various ways. Externally all character strings are of the standard string type. In most cases the standard .NET string methods should be used. The methods here are supplied only when exact gmSL compatibility is needed. Within the tool's storage system, all character strings are sequences of 8-bit unsigned bytes – i.e. with values in the range 0-255. Though not required all current implementations of this class use ASCII, UTF-8, or Shift_J variable length encoding. More...
 
class  CodeGroup
 The CodeGroup class contains utilities used in the migration of grouped related sections of compiled code that are associated with a reference to a target component such as a method, property, or event. More...
 
class  CodePattern
 The CodePattern class processes decriptions of operation sequences stored within compiled tCodeBlock code sequences. It contains methods to process a notation for doing code sequence content tests. More...
 
class  ControlData
 The class ControlData accesses information about controls which was compiled from the property bag specifications in the various form files. More...
 
class  DataTable
 The class DataTable uses the Write class to produce structured tabular reports using the content of the runtime data queue. The reports themselves can be produced in one of three outputStyles: simple tab delimited, text tabular, or html tabular. More...
 
class  Execute
 The class Execute executes the mainline translation operations performed by the tool. The individual methods correspond exactly with the gmPL commands of the same name, have string parameters whose names match the attribute names of the corresponding gmPL command, and literally execute the same implementation code in the tool. In addition to the matching parameters the ability of gmPL commands to process embedded refactoring and fix commands is also implemented in this class via the use of the text buffers. More...
 
class  FileSystem
 The class FileSystem interacts with the operating system to form, decompose, and determine file names and attributes so that they conform the requirements of the hosting platform. In addition, it performs several low level file management operations such as searching for files, loading text files into internal text streams, and generating GUIDs. A full file name is viewed as consisting of three components. The pathname contains the location within the file system of the file. If it is omitted the the currently selected location is assumed. The localname contains the actual name of the file. This is the only component that cannot be ommitted. The extension contains a short extension that describes the type of the file. If it is omitted then the context is often used to determine its value. Note that in the scripting language itself the class is called "System". More...
 
class  gmBasic
 The gmBasic class is the primary interface to the gmBasic tool. It contains the utilities that the start up and terminate interactions with the tool. In addition it contains the low level utilities needed to mediate between the C# level and the C level. More...
 
class  Opcode
 The class Opcode works with the intermediate language streams. Its methods actively manage and reference the opcodes of the intermediate language. Their description and use assume a knowledge of that language and of its internal structure as applied by the toolset. More...
 
class  Parser
 The class Parser analyses character strings in a known computer language, according to the rules of of that language. At the present time there are two language types processed by this class, "Basic" and the set of contemporary OOP languages referred to here simply as "Java". More...
 
class  PostingPair
 The PostingPair class manages a small integer SortPair used for looking up links and relationships betweeen components in storage based on their defining root offsets. The information structure associated with posting pairs itself is allocated locally on the stack and is never left open; therefore, posting pairs do not have handles and are controlled entirely via their root offsets. More...
 
class  References
 The References class provides utility methods to produce, scan, and audit sorted lists of tReference records sorted by the offset of the symbol being referenced. These reference lists are produced automatically by the compiler to aid in the analysis process. In addition, more extensive reference lists can be produced via this class. More...
 
class  Registry
 
class  Runtime
 The Runtime class contains various middle level services implemented within the main translation tool. More...
 
class  Sequence
 The Sequence class offers simple read-only access to sequences stored in long memory. A "sequence" is an open ended list of entries. In this case the entries themselves all consist of a single integer value. Entries in the sequence are numbered starting at one. More...
 
class  Store
 The Store Class contains the methods needed to manage data organized into hierarchical fields and records. When dealing with language processing, program storage must be viewed as containing a wide variety of different structures; indexes, lists, fixed records, long unformatted records, variable length strings, and so on. In addition, it may be purely memory bound or it may be stored in a persistent file system. The role of this service class is to provide a single interface for storing and retrieving information. It is sufficiently robust to allow for the management of large files in the multiple gigabyte size range, while it is still efficient for use by purely memory bound applications. More...
 
class  Symbol
 The class Symbol works with the symbols as stored in the various active storage areas. More...
 
class  Text
 The class Text contains those methods needed to manage ordered sequences of text records, numbered from 1 to n. The typical retrieval pattern for text sequences is that they are first positioned to a certain record in the sequence and then a series of records is accessed from there. The algorithm used is optimal for moving forward through a sequence records once a starting location has been established. As such, the general approach differs from those for "normal" sequences in that the notion of a "current record" or "cursor" is used. The sequence is positioned on a record and that current record can then be manipulated. In addition to optimizing the traversal through the records, the approach also optimizes the storage and changing of records. The individual records are stored in fixed sized blocks in long memory. When a record in inserted into the stream or when the size of a record is changed only the block containing the record needs to be repositioned, not the entire stream. Finally, each text record in the stream consists of two parts: a fixed length component called the "record associated information" followed by the remaining text part, simply called the "record". More...
 
class  Write
 The Write class contains the basic methods needed to write structured reports and text files of various sorts using binary information. It is used very extensively by the tool during every phase of its operation and is fully exposed via gmSL. Ultimately, at any given point in time, only one coded output report can be written at one time. More...