diff options
Diffstat (limited to 'mimelib/doc/body.html')
-rw-r--r-- | mimelib/doc/body.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mimelib/doc/body.html b/mimelib/doc/body.html index c9856e24d..06a3e8225 100644 --- a/mimelib/doc/body.html +++ b/mimelib/doc/body.html @@ -65,9 +65,9 @@ protected: A body is always part of an <I>entity</I>, which could be either a <I>message</I> or a <I>body part</I>. An entity has a collection of <I>header fields</I> and a body. If the content type of a body is ``multipart,'' then -the body tqcontains one or more body parts. If the content type is ``message,'' -then the body tqcontains an encapsulated message. In all content types, the -body tqcontains a string of characters. +the body contains one or more body parts. If the content type is ``message,'' +then the body contains an encapsulated message. In all content types, the +body contains a string of characters. <P> In MIME++, a <B><TT>DwBody</TT></B> object is contained in a <B><TT><A HREF="entity.html">DwEntity</A></TT></B> object. The @@ -79,15 +79,15 @@ or a single contained way to determine the type of <B><TT>DwBody</TT></B> is to access the Content-Type header field from the <B><TT><A HREF="headers.html">DwHeaders</A></TT></B> object of the -<B><TT>DwEntity</TT></B> that tqcontains it. For this reason, a +<B><TT>DwEntity</TT></B> that contains it. For this reason, a <B><TT>DwBody</TT></B> should always be part of a <B><TT>DwEntity</TT></B>. <P> In the tree (broken-down) representation of a message, a <B><TT>DwBody</TT></B> object can be an intermediate node, having both a -parent node and one or more child nodes, or a leaf node, having a parent -but no child nodes. In either case, the parent node is the -<B><TT>DwEntity</TT></B> object that tqcontains it. If it is an intermediate +tqparent node and one or more child nodes, or a leaf node, having a tqparent +but no child nodes. In either case, the tqparent node is the +<B><TT>DwEntity</TT></B> object that contains it. If it is an intermediate node, it must be of type multipart with <B><TT>DwBodyPart</TT></B> objects as child nodes, or of type message with a single <B><TT>DwMessage</TT></B> object as its child node. @@ -117,15 +117,15 @@ DwBody(const DwString& aStr, DwMessageComponent* aParent=0) </B></FONT> <P> The first constructor is the default constructor, which sets the <B><TT>DwBody</TT></B> object's string representation to the empty string -and sets its parent to <B><TT>NULL</TT></B>. +and sets its tqparent to <B><TT>NULL</TT></B>. <P> The second constructor is the copy constructor, which performs a deep copy -of <B><TT>aBody</TT></B>. The parent of the new <B><TT>DwBody</TT></B> object +of <B><TT>aBody</TT></B>. The tqparent of the new <B><TT>DwBody</TT></B> object is set to <B><TT>NULL</TT></B>. <P> The third constructor copies <B><TT>aStr</TT></B> to the <B><TT>DwBody</TT></B> object's string representation and sets -<B><TT>aParent</TT></B> as its parent. The virtual member function +<B><TT>aParent</TT></B> as its tqparent. The virtual member function <B><TT>Parse()</TT></B> should be called immediately after this constructor in order to parse the string representation. Unless it is <B><TT>NULL</TT></B>, <B><TT>aParent</TT></B> should point to an object of @@ -135,7 +135,7 @@ a class derived from <B><TT>DwEntity</TT></B>. DwBody& aBody) </B></FONT> <P> This is the assignment operator, which performs a deep copy of -<B><TT>aBody</TT></B>. The parent node of the <B><TT>DwBody</TT></B> object +<B><TT>aBody</TT></B>. The tqparent node of the <B><TT>DwBody</TT></B> object is not changed. <P> <FONT COLOR="teal"><B> virtual void <A NAME="Parse">Parse</A>() </B></FONT> @@ -150,7 +150,7 @@ collection of <B><TT>DwBodyPart</TT></B> objects. For a message <B><TT>DwBody</TT></B>, the parse method does nothing. This member function calls the <B><TT>Parse()</TT></B> member function of any objects it creates. <P> -Note: If the <B><TT>DwBody</TT></B> object has no parent node -- that is, +Note: If the <B><TT>DwBody</TT></B> object has no tqparent node -- that is, it is not contained by a <B><TT>DwEntity</TT></B> object -- then the parse method does nothing, since it is unable to determine the type of body. <P> @@ -169,7 +169,7 @@ method creates or updates the string representation from the broken-down representation. Only <B><TT>DwBody</TT></B> objects with content type of multipart or message require assembling. In either case, the <B><TT>DwBody</TT></B> object must be able to find the headers of the message -or body part that tqcontains it. Therefore, if the <B><TT>DwBody</TT></B> object +or body part that contains it. Therefore, if the <B><TT>DwBody</TT></B> object is not the child of a <B><TT>DwEntity</TT></B> (<I>i.e.</I>, <B><TT>DwMessage</TT></B> or <B><TT>DwBodyPart</TT></B>) object, the <B><TT>DwBody</TT></B> cannot be assembled because the content type cannot |