EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Public Member Functions | Data Fields

EdkIIWorkspaceGuidsInfo Class Reference

A class for EdkII work space to resolve Guids. More...

Inheritance diagram for EdkIIWorkspaceGuidsInfo:
EdkIIWorkspace

Public Member Functions

def __init__
 The classconstructor.
def ResolvePackageFilePath
 Get Package file path by Package Guid and Version.
def ResolveModuleFilePath
 Get Module file path by Module Guid and Version.

Data Fields

 WorkspaceFile

Detailed Description

A class for EdkII work space to resolve Guids.

This class inherits from EdkIIWorkspace and collects the Guids information in current workspace. The Guids information is important to translate the package Guids and recommended library instances Guids to relative file path (to workspace directory) in MSA files.

Definition at line 29 of file EdkIIWorkspaceGuidsInfo.py.


Constructor & Destructor Documentation

def __init__ (   self)

The classconstructor.

The constructor initialize workspace directory. It does not collect pakage and module Guids info at initialization; instead, it collects them on the fly.

Parameters:
selfThe object pointer

Reimplemented from EdkIIWorkspace.

Definition at line 39 of file EdkIIWorkspaceGuidsInfo.py.


Member Function Documentation

def ResolveModuleFilePath (   self,
  Guid,
  Version = "" 
)

Get Module file path by Module Guid and Version.

Translates the Module Guid and Version to a file path relative to workspace directory. If no module in current workspace match the input Guid, an empty file path is returned. For now, the version value is simply ignored.

Parameters:
selfThe object pointer
GuidThe Module Guid value to look for
VersionThe Module Version value to look for

Definition at line 297 of file EdkIIWorkspaceGuidsInfo.py.

def ResolvePackageFilePath (   self,
  Guid,
  Version = "" 
)

Get Package file path by Package Guid and Version.

Translates the Package Guid and Version to a file path relative to workspace directory. If no package in current workspace match the input Guid, an empty file path is returned. For now, the version value is simply ignored.

Parameters:
selfThe object pointer
GuidThe Package Guid value to look for
VersionThe Package Version value to look for

Definition at line 273 of file EdkIIWorkspaceGuidsInfo.py.


Field Documentation

Definition at line 218 of file EdkIIWorkspaceGuidsInfo.py.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines