InfHeaderObject.py revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
## @file
# This file is used to define class objects of INF file header.
# It will consumed by InfParser.
#
# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
#
# 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
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
'''
InfHeaderObject
'''
## INF file header object
#
# A sample file header
#
# ## @file xxx.inf FileName
# # Abstract
# #
# # Description
# #
# # Copyright
# #
# # License
# #
#
class InfHeaderObject():
## SetFileName
#
# @param FileName: File Name
#
return True
else:
return False
## GetFileName
#
def GetFileName(self):
## SetAbstract
#
# @param Abstract: Abstract
#
return True
else:
return False
## GetAbstract
#
def GetAbstract(self):
## SetDescription
#
# @param Description: Description content
#
return True
else:
return False
## GetAbstract
#
def GetDescription(self):
return self.Description
## SetCopyright
#
# @param Copyright: Copyright content
#
return True
else:
return False
## GetCopyright
#
def GetCopyright(self):
## SetCopyright
#
# @param License: License content
#
return True
else:
return False
## GetLicense
#
def GetLicense(self):