(self)
return textwrap.dedent("""
    @util.CachedProperty
    def {0.name}(self):
      \"\"\"{0.docstring}\"\"\"
      return {0.wrapper_name}(ctypes.pointer(self._ptr.contents.{0.name}))"""  # pylint: disable=missing-format-attribute
                           .format(self))
Populates a Python class with getter & setter methods for self.
Populates a Python class with getter & setter methods for self.
Populates a Python class with getter & setter methods for self .
def getters_setters(self):
    """Populates a Python class with getter & setter methods for self."""
    return textwrap.dedent("""
    @util.CachedProperty
    def {0.name}(self):
      \"\"\"{0.docstring}\"\"\"
      return {0.wrapper_name}(ctypes.pointer(self._ptr.contents.{0.name}))"""  # pylint: disable=missing-format-attribute
                           .format(self))
def getters_setters ( self ) : return textwrap . dedent ( """
    @util.CachedProperty
    def {0.name}(self):
      \"\"\"{0.docstring}\"\"\"
      return {0.wrapper_name}(ctypes.pointer(self._ptr.contents.{0.name}))""" # pylint: disable=missing-format-attribute . format ( self ) )