close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 16 years ago

Closed 16 years ago

#719 closed enhancement (fixed)

Function to query the Class of an instance

Reported by: Jorge Owned by: Jorge
Priority: highest Milestone: OOP Implementation
Component: OOP Version: 2.0.1
Severity: major Keywords:
Cc: javipor@…

Description (last modified by Jorge)

It would be useful function to ask for the Class of an instance.

I propose:

 Text GetClassOf( NameBlock obj )

Returns the name of the Class associated to obj if it an instance of any Class or empte string in other case.

Change History (3)

comment:1 Changed 16 years ago by Jorge

Owner: changed from Víctor de Buen Remiro to Jorge
Status: newassigned

comment:2 Changed 16 years ago by Jorge

Description: modified (diff)

comment:3 Changed 16 years ago by Jorge

Resolution: fixed
Status: assignedclosed

(In [1194]) ClassOf instead of GetClassOf, closes #719

Note: See TracTickets for help on using tickets.