From b9a7d8f9eada3be4083d27892ceda30e3a7dfd7f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Feb 2003 21:44:39 +0000 Subject: nelements is not passed anymore, its simply a return value. get() will grab the entire property. --- otk/property.hh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'otk/property.hh') diff --git a/otk/property.hh b/otk/property.hh index a4bfb05b..13762692 100644 --- a/otk/property.hh +++ b/otk/property.hh @@ -230,10 +230,7 @@ public: struct returned by Property::atoms. @param type The Atom value of the property type. This can be found in the struct returned by Property::atoms. - @param nelements The maximum number of elements to retrieve from the - property (assuming it has more than 1 value in it). To - retrieve all possible elements, use "(unsigned) -1".
- When the function returns, if it returns true, this will + @param nelements When the function returns, if it returns true, this will contain the actual number of elements retrieved.
@param value If the function returns true, then this contains an array of retrieved values for the property.
@@ -282,10 +279,7 @@ public: struct returned by Property::atoms. @param type A member of the Property::StringType enum that specifies the type of the string property to retrieve - @param nelements The maximum number of strings to retrieve from the - property (assuming it has more than 1 string in it). To - retrieve all possible strings, use "(unsigned) -1".
- When the function returns, if it returns true, this will + @param nelements When the function returns, if it returns true, this will contain the actual number of strings retrieved.
@param strings If the function returns true, then this contains all of the strings retrieved from the property's value. -- cgit v1.2.3