(self)
return textwrap.dedent("""
    @property
    def {0.name}(self):
      \"\"\"{0.docstring}\"\"\"
      return self._ptr.contents.{0.name}

    @{0.name}.setter
    def {0.name}(self, value):
      self._ptr.contents.{0.name} = value""".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("""
    @property
    def {0.name}(self):
      \"\"\"{0.docstring}\"\"\"
      return self._ptr.contents.{0.name}

    @{0.name}.setter
    def {0.name}(self, value):
      self._ptr.contents.{0.name} = value""".format(self))
def getters_setters ( self ) : return textwrap . dedent ( """
    @property
    def {0.name}(self):
      \"\"\"{0.docstring}\"\"\"
      return self._ptr.contents.{0.name}

    @{0.name}.setter
    def {0.name}(self, value):
      self._ptr.contents.{0.name} = value""" . format ( self ) )