diff --git a/doc/v2/object.html b/doc/v2/object.html index 5572cae4..f35fa579 100644 --- a/doc/v2/object.html +++ b/doc/v2/object.html @@ -74,6 +74,32 @@ +
const_objattribute_policiesconst_objattribute_policies synopsisconst_objattribute_policies static functionsobjattribute_policiesobjattribute_policies synopsisobjattribute_policies static functionsconst_item_policiesconst_objattribute_policiesThe policies which are used for proxies representing an attribute
+ access to a const object when the attribute name is
+ given as a const object.
const_objattribute_policies synopsis
+namespace boost { namespace python { namespace api
+{
+ struct const_objattribute_policies
+ {
+ typedef object const& key_type;
+ static object get(object const& target, object const& key);
+ };
+}}}
+
+
+ const_objattribute_policies static functions+static object get(object const& target, object const& key); ++ +
key is an object
+ holding a string.target named
+ by key.object managing the result of the
+ attribute access.error_already_set if a
+ Python exception is raised.objattribute_policiesThe policies which are used for proxies representing an attribute
+ access to a mutable object when the attribute name is
+ given as a const object.
objattribute_policies synopsis
+namespace boost { namespace python { namespace api
+{
+ struct objattribute_policies : const_objattribute_policies
+ {
+ static object const& set(object const& target, object const& key, object const& value);
+ static void del(object const&target, object const& key);
+ };
+}}}
+
+
+ objattribute_policies static functions+static object const& set(object const& target, object const& key, object const& value); ++ +
key is an object
+ holding a string.target named by
+ key to value.error_already_set if a
+ Python exception is raised.+static void del(object const&target, object const& key); ++ +
key is an object
+ holding a string.target named
+ by key.error_already_set if a
+ Python exception is raised.const_item_policiesname as its key.
+proxy<const_object_objattribute> attr(const object& name) const; +proxy<object_objattribute> attr(const object& name); ++ +
object holding a string.*this.object(*static_cast<U*>(this)) as its target, and
+ name as its key.template <class T> proxy<const_object_item> operator[](T const& key) const; template <class T> @@ -938,11 +1077,11 @@ object sum_items(object seq)
Revised - 13 January, 2006 + 27 May, 2008
© Copyright Dave Abrahams 2006.
+ "http://www.boost.org/people/dave_abrahams.htm">Dave Abrahams 2008.