8040147: minor cleanup for docs

Minor cleanup for docs

Reviewed-by: lancea
This commit is contained in:
Alexander Stepanov 2015-05-26 18:32:10 +04:00
parent 7a711fe858
commit f41f1b4c7a

View File

@ -71,7 +71,7 @@ new <code>DynAny</code>
gets default values for its components.) gets default values for its components.)
<P>The iteration operations <code>rewind</code>, <code>seek</code>, and <code>next</code> <P>The iteration operations <code>rewind</code>, <code>seek</code>, and <code>next</code>
can be used to change the current position can be used to change the current position
and the <code>current_component</code> operation returns the component at the current and the <code>current_component</code> operation returns the component at the current
position. position.
@ -98,7 +98,7 @@ means that the <code>DynStruct</code>
each of them associated with a member of the <code>struct</code>. each of them associated with a member of the <code>struct</code>.
<P>If a <code>DynAny</code> object has been obtained from another (constructed) <P>If a <code>DynAny</code> object has been obtained from another (constructed)
<code>DynAny</code> object, <code>DynAny</code> object,
such as a <code>DynAny</code> representing a structure member that was created from a such as a <code>DynAny</code> representing a structure member that was created from a
<code>DynStruct</code>, <code>DynStruct</code>,
@ -118,19 +118,19 @@ manipulate some component
and, after that, make a copy of the created <code>DynAny</code> object. and, after that, make a copy of the created <code>DynAny</code> object.
<P>The behavior of <code>DynAny</code> objects has been defined in order to enable efficient <P>The behavior of <code>DynAny</code> objects has been defined in order to enable efficient
implementations implementations
in terms of allocated memory space and speed of access. <code>DynAny</code> objects are in terms of allocated memory space and speed of access. <code>DynAny</code> objects are
intended to be used intended to be used
for traversing values extracted from <code>any</code>s or constructing values of for traversing values extracted from <code>any</code>s or constructing values of
<code>any</code>s at runtime. <code>any</code>s at runtime.
Their use for other purposes is not recommended. Their use for other purposes is not recommended.
<H2>Handling DynAny objects</H2> <H2>Handling DynAny objects</H2>
<P><code>Insert</code> and <code>get</code> operations are necessary to handle basic <P><code>Insert</code> and <code>get</code> operations are necessary to handle basic
<code>DynAny</code> objects <code>DynAny</code> objects
but are also helpful to handle constructed <code>DynAny</code> objects. but are also helpful to handle constructed <code>DynAny</code> objects.
Inserting a basic data type value into a constructed <code>DynAny</code> object Inserting a basic data type value into a constructed <code>DynAny</code> object
@ -147,7 +147,6 @@ equivalent to
of the <code>DynAny</code> at the current position. of the <code>DynAny</code> at the current position.
<P>Basic operations include: <P>Basic operations include:
<P>
<UL> <UL>
<LI>insert_boolean, get_boolean <LI>insert_boolean, get_boolean
<LI>insert_char, get_char <LI>insert_char, get_char