\r
return True\r
\r
+ ## hash() operator of PlatformAutoGen\r
+ #\r
+ # The platform file path and arch string will be used to represent\r
+ # hash value of this object\r
+ #\r
+ # @retval int Hash value of the platform file path and arch\r
+ #\r
+ @cached_class_function\r
+ def __hash__(self):\r
+ return hash((self.MetaFile, self.Arch))\r
+\r
@cached_class_function\r
def __repr__(self):\r
return "%s [%s]" % (self.MetaFile, self.Arch)\r
self.ReferenceModules = []\r
self.ConstPcd = {}\r
\r
+ ## hash() operator of ModuleAutoGen\r
+ #\r
+ # The module file path and arch string will be used to represent\r
+ # hash value of this object\r
+ #\r
+ # @retval int Hash value of the module file path and arch\r
+ #\r
+ @cached_class_function\r
+ def __hash__(self):\r
+ return hash((self.MetaFile, self.Arch))\r
\r
def __repr__(self):\r
return "%s [%s]" % (self.MetaFile, self.Arch)\r