Simplified attribute accessors using overloading

Simplified attribute accessors using overloading 1.0

Simplified attribute accessors using overloading 1.0 Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 293
  • Released: Jun 7, 2007

Simplified attribute accessors using overloading 1.0 Description

This script presents an ideom for simplified accessors, that combines typical getter and setter functionality of an attribute into a single overloaded method, that instead of getATTRIBUTE and setATTRIBUTE can now just be called ATTRIBUTE.

When called without arguments it acts as a getter and retrieves the attribute's value. When called with arguments, the attribute is set to this value.

Simplified attribute accessors using overloading 1.0 Keywords

Simplified attribute accessors using overloading Bookmark

Hyperlink code:
Hyperlink for Forum code:

Simplified attribute accessors using overloading 1.0 Script Download Notice

Top 4 Download periodically updates information of Simplified attribute accessors using overloading 1.0 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Simplified attribute accessors using overloading 1.0 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Public and protected attribute access

This script presents a way to introduce proper attribute access protection levels using a generic proxy object. By default all attributes are "protected" in the C sense and can be declared as public using either a function decorator or a class attribute.
Python

Restrictive APIs for Python

... a class to specify its API, and raise AttributeErrors for disallowed aify its A ...
Python

Tuples with Named Elements via Spawning

Instead of requiring the named attributes list for each instantiation of the tuple, this implementation ... tuple class that is taylored to the named attributes specified. And it is this Spawned class that ... tuples. This approach effectively separates the definition of the attribute names from the data specification. And in doing so, this ...
Python

Named Tuples

This script allows you a fast, lightweight attribute-style access to tuples. It contains a function that ... NamedTuple('Person', 'name age sex height nationality')  - C-speed attribute lookup using property and itemgetter. - No instance dictionary ... misnamed arguments.  - A method similar to str.replace() using a field name (used instead of slicing for
Python

Just in time instantiation

... objects. Init is called only when the first attribute is either get or set. Then automatic delegation is used to front for the object. ...
Python