parameters: (self)
return_statement: return True
docstring: Validate 'limittype' attributes.
docstring_summary: Validate 'limittype' attributes.
docstring_tokens: Validate limittype attributes .
function: def __validateLimittype(self):
          """Validate 'limittype' attributes."""
          badFields = self.__validateStructLimittypes(self.typedict['VkPhysicalDeviceProperties2'])
          for featStructName in self.validextensionstructs['VkPhysicalDeviceProperties2']:
              featStruct = self.typedict[featStructName]
              badFields.update(self.__validateStructLimittypes(featStruct))
  
          if badFields:
              self.gen.logMsg('diag', 'SUMMARY OF FIELDS WITH INCORRECT LIMITTYPES')
              for key in sorted(badFields.keys()):
                  diags = badFields[key]
                  if diags.missing:
                      self.gen.logMsg('diag', '    ', key, 'missing limittype:', ', '.join(badFields[key].missing))
                  if diags.invalid:
                      self.gen.logMsg('diag', '    ', key, 'invalid limittype:', ', '.join(badFields[key].invalid))
              return False
          return True
function_tokens: def __validateLimittype ( self ) : badFields = self . __validateStructLimittypes ( self . typedict [ 'VkPhysicalDeviceProperties2' ] ) for featStructName in self . validextensionstructs [ 'VkPhysicalDeviceProperties2' ] : featStruct = self . typedict [ featStructName ] badFields . update ( self . __validateStructLimittypes ( featStruct ) ) if badFields : self . gen . logMsg ( 'diag' , 'SUMMARY OF FIELDS WITH INCORRECT LIMITTYPES' ) for key in sorted ( badFields . keys ( ) ) : diags = badFields [ key ] if diags . missing : self . gen . logMsg ( 'diag' , '    ' , key , 'missing limittype:' , ', ' . join ( badFields [ key ] . missing ) ) if diags . invalid : self . gen . logMsg ( 'diag' , '    ' , key , 'invalid limittype:' , ', ' . join ( badFields [ key ] . invalid ) ) return False return True