Menu

Named

Nicolas Hainaux

All core objects are Named.

Fields Methods (provided) Methods (must be reimplemented)
name get_name()
set_name()

You can reimplement these methods for particular purposes. For instance, the setter of geometric objects (Drawable) has been rewritten to forbid the modification of an object's name. For instance, if a Triangle was built using points A, B and C, it has no sense to rename it DEF.

The name of an object can be used in different ways, depending on which object it is. It can be the name of a Table as well as the name of an Equation etc.

Check Named's complete doc

Back


Related

Doc for dev: Core Objects

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.