Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51771 - sandbox/mirror/doc/html/mirror/non_boost_book/concepts
From: chochlik_at_[hidden]
Date: 2009-03-14 07:09:24


Author: matus.chochlik
Date: 2009-03-14 07:09:23 EDT (Sat, 14 Mar 2009)
New Revision: 51771
URL: http://svn.boost.org/trac/boost/changeset/51771

Log:
[mirror 0.3.x]
- minor docs update

Text files modified:
   sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml | 11 +++++++++++
   1 files changed, 11 insertions(+), 0 deletions(-)

Modified: sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml
==============================================================================
--- sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml (original)
+++ sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml 2009-03-14 07:09:23 EDT (Sat, 14 Mar 2009)
@@ -606,6 +606,17 @@
                         <fn_param concept="Class" name="instance"/>
                         <fn_param concept="Type" name="new_value"/>
                 </member_function>
+ <member_function static="true" concept="Type*" name="address">
+ <desc>Returns the pointer to the member, reflected by this MetaClassAttribute, in the given instance. Returns null_ptr if the address of the member is not available.</desc>
+ <fn_param concept="Class" name="instance"/>
+ </member_function>
+ <member_function static="true" concept="ptrdiff_t" name="offset">
+ <desc>Returns the offset of the member, reflected by this MetaClassAttribute. Returns (ptrdiff_t)-1 if the offset of the member cannot be calculated.</desc>
+ <fn_param concept="Class" name="instance"/>
+ </member_function>
+ <member_function static="true" concept="ptrdiff_t" name="offset_of">
+ <desc>Returns the offset of the member, reflected by this MetaClassAttribute. This version does not require an instance as an argument, but works only with POD types. Returns (ptrdiff_t)-1 if the offset of the member cannot be calculated.</desc>
+ </member_function>
         </concept>
 
         <!-- MetaClassAttribute is MetaClassMember -->


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk