[rkward-cvs] SF.net SVN: rkward: [827] trunk/rkward/rkward/core/robject.h

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Oct 8 22:04:07 UTC 2006


Revision: 827
          http://svn.sourceforge.net/rkward/?rev=827&view=rev
Author:   tfry
Date:     2006-10-08 15:04:04 -0700 (Sun, 08 Oct 2006)

Log Message:
-----------
adding some API thoughts

Modified Paths:
--------------
    trunk/rkward/rkward/core/robject.h

Modified: trunk/rkward/rkward/core/robject.h
===================================================================
--- trunk/rkward/rkward/core/robject.h	2006-10-08 17:28:33 UTC (rev 826)
+++ trunk/rkward/rkward/core/robject.h	2006-10-08 22:04:04 UTC (rev 827)
@@ -136,7 +136,18 @@
 	static VarType textToType (const QString &text);
 /** Returns the given string in quotes, taking care of escaping quotation marks inside the string. */
 	static QString rQuote (const QString &string);
+// UNIMPLEMENTED
+/** Returns a canonified name given a non-canoified name. Warning! This is not (necessarily) suitable for submission to
+R, only for internal lookup. For submission to R, always use RObject::getFullName (), as it will apply more complicated (and correct) rules depending on object type */
+//	static QString canonifyName (const QString &from);
+/** Function for code completion: given the partial name, find all objects matching this partial name
+ at param partial_name The partial name to look up
+ at param current_list A pointer to a valid (but probably initially empty) RObjectMap. Matches will be added to this list
+ at param name_is_canonified internal parameter. Set to true, if the name to match is already canonfied (else it will be canonified internally) */
+//	virtual void findObjectsMatching (const QString &partial_name, RObjectMap *current_list, bool name_is_canonified=false);
+// UNIMPLEMENTED END
 
+
 /** If the object is being edited, returns that editor (in the future probably a list of editors). Else returns 0 */
 	RKEditor *objectOpened ();
 /** Tells the object it has been opened (opened=true) or closed (opened=false) by the given editor. If the object is opened by the first editor, it will


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list