[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9872] hgsetget superclass

From: anonyme
Subject: [Octave-patch-tracker] [patch #9872] hgsetget superclass
Date: Tue, 12 Nov 2019 17:12:32 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36


                 Summary: hgsetget superclass
                 Project: GNU Octave
            Submitted by: None
            Submitted on: mar. 12 nov. 2019 22:12:31 UTC
                Category: Core : other
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any



This superclass adds a set and a get method to any derived subclass. This
allows to access class properties in a similar way as the graphic handle

It may be added into the 'scripts/miscellaneous' directory, as suggested by
Carnë Draug [address@hidden].

The initial repository is:
- https://github.com/farhi/octave-hgsetget

NOTE: eventhough the hgsetget is now deprecated, it is still supported by
Matlab, and some derived contributions may use it. I also propose a similar
patch to be added into +matlab/+mixin/SetGet.m which is exactly the same, but
having renamed all 'hgsetget' into 'SetGet'. The functionality is identical,
execpt for the class name. To be fair, this implementation rather matches the
'SetGetExactNames' superclass as it expects all properties to be given as
exact and case sensitive. However, the SetGet superclass is widely used, so
that its scope is broader.

Thanks !


File Attachments:

Date: mar. 12 nov. 2019 22:12:31 UTC  Name: hgsetget.m  Size: 6kio   By: None

Date: mar. 12 nov. 2019 22:12:31 UTC  Name: SetGet.m  Size: 5kio   By: None



Reply to this item at:


  Message posté via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]