EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Namespaces | Functions | Variables

BaseTools/Source/Python/Common/MigrationUtilities.py File Reference

Contains several utilitities shared by migration tools. More...

Go to the source code of this file.

Namespaces

namespace  Common::MigrationUtilities

Functions

def SetCommon
 Set all fields of CommonClass object.
def SetIdentification
 Set some fields of CommonHeaderClass object.
def AddToSpecificationDict
 Add specification to specification dictionary.
def SetCommonHeader
 Set all fields of CommonHeaderClass object.
def LoadClonedRecord
 Load a new Cloned Record class object.
def LoadGuidProtocolPpiCommon
 Load a new Guid/Protocol/Ppi common class object.
def LoadPcd
 Load a new Pcd class object.
def LoadLibraryClass
 Load a new LibraryClass class object.
def LoadBuildOption
 Load a new Build Option class object.
def LoadUserExtensions
 Load a new User Extensions class object.
def StoreTextFile
 Store content to a text file object.
def AddToSection
 Add item to a section.
def GetSection
 Get section contents.
def StoreHeader
 Store file header to a text file.
def StoreDefinesSection
 Store file header to a text file.
def GetUserExtensions
 Return one User Extension section.
def GetTextFileInfo
 Return a value tuple matching information in a text fle.
def GetXmlFileInfo
 Return a value tuple matching information in an XML fle.
def MigrationOptionParser
 Parse migration command line options.

Variables

tuple mReSpecification = re.compile(r"(?P<Specification>\w+)\s+(?P<Value>\w*)")
 Regular expression to match specification and value.
tuple mReEquation = re.compile(r"\s*(\S+)\s*=\s*(\S*)\s*")
 Regular expression to match an equation.

Detailed Description

Contains several utilitities shared by migration tools.

Copyright (c) 2007, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file MigrationUtilities.py.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines