[rkward-cvs] rkward/rkward/plugin rkcomponentproperties.h,1.7,1.8
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Fri Dec 9 16:06:34 UTC 2005
- Previous message: [rkward-cvs] rkward/rkward/rbackend/rpackages/rkward/R internal.R,1.19,1.20
- Next message: [rkward-cvs] rkward/rkward/core rcontainerobject.cpp,1.25,1.26 rcontainerobject.h,1.20,1.21 rkvariable.cpp,1.29,1.30 rkvariable.h,1.18,1.19 robject.cpp,1.18,1.19 robject.h,1.20,1.21 robjectlist.cpp,1.24,1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/rkward/rkward/rkward/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1345/plugin
Modified Files:
rkcomponentproperties.h
Log Message:
Remove code duplication for object classification. Make dimensionality information more generic. Untested.
Index: rkcomponentproperties.h
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugin/rkcomponentproperties.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** rkcomponentproperties.h 9 Dec 2005 13:28:57 -0000 1.7
--- rkcomponentproperties.h 9 Dec 2005 16:06:32 -0000 1.8
***************
*** 235,243 ****
/** Set property to only accept certain object types. If you provide an empty list, all types will be accepted */
void setTypeFilter (const QStringList &types);
! /** Set property to only accept objects of certain dimensions. If you provide default parameters (-1), all objects will be accepted
! @param dimensionality Number of dimensions the object must have. -1 will accept objects of all dimensions
! @param min_length Minimum length of first dimension. -1 will accept objects of all lenghts
! @param max_length Maximum length of first dimension. -1 will accept objects of all lengths */
! void setDimensionFilter (int dimensionality=-1, int min_length=-1, int max_length=-1);
/** Directly set an RObject. Warning: This sets the list to contain only exactly this one item. Generally you do not want to use this, unless your list is in single mode. Use addObjectValue () instead, if the property can hold more than one object
@returns false if the object does not qualify as a valid selection according to current settings (class/type/dimensions), true otherwise */
--- 235,243 ----
/** Set property to only accept certain object types. If you provide an empty list, all types will be accepted */
void setTypeFilter (const QStringList &types);
! /** Set property to only accept objects of certain dimensions. If you provide default parameters (0), all objects will be accepted
! @param dimensionality Number of dimensions the object must have. 0 will accept objects of all dimensions
! @param min_length Minimum length of first dimension. 0 will accept objects of all lenghts
! @param max_length Maximum length of first dimension. 0 will accept objects of all lengths */
! void setDimensionFilter (int dimensionality=0, int min_length=0, int max_length=0);
/** Directly set an RObject. Warning: This sets the list to contain only exactly this one item. Generally you do not want to use this, unless your list is in single mode. Use addObjectValue () instead, if the property can hold more than one object
@returns false if the object does not qualify as a valid selection according to current settings (class/type/dimensions), true otherwise */
- Previous message: [rkward-cvs] rkward/rkward/rbackend/rpackages/rkward/R internal.R,1.19,1.20
- Next message: [rkward-cvs] rkward/rkward/core rcontainerobject.cpp,1.25,1.26 rcontainerobject.h,1.20,1.21 rkvariable.cpp,1.29,1.30 rkvariable.h,1.18,1.19 robject.cpp,1.18,1.19 robject.h,1.20,1.21 robjectlist.cpp,1.24,1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rkward-tracker
mailing list