diff options
Diffstat (limited to 'mimelib/mimelib/body.h')
-rw-r--r-- | mimelib/mimelib/body.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mimelib/mimelib/body.h b/mimelib/mimelib/body.h index f19efa0c..d62cb608 100644 --- a/mimelib/mimelib/body.h +++ b/mimelib/mimelib/body.h @@ -8,7 +8,7 @@ // All rights reserved. // // IN NO EVENT SHALL DOUGLAS W. SAUDER BE LIABLE TO ANY PARTY FOR DIRECT, -// INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF +// INDIRECT, SPECIAL, INCIDENTAL, OR CONSETQUENTIAL DAMAGES ARISING OUT OF // THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF DOUGLAS W. SAUDER // HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // @@ -46,9 +46,9 @@ class DwBodyPart; //. is always part of an {\it entity}, which could be either a {\it message} //. or a {\it body part}. An entity has a collection of {\it header fields} //. 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. +//. 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. //. //. In MIME++, a {\tt DwBody} object is contained in a {\tt DwEntity} object. //. The {\tt DwBody} object may contain a discrete body consisting only of a @@ -56,14 +56,14 @@ class DwBodyPart; //. contained {\tt DwBodyPart} objects or a single contained {\tt DwMessage} //. object. The only reliable way to determine the type of {\tt DwBody} is //. to access the Content-Type header field from the {\tt DwHeaders} object -//. of the {\tt DwEntity} that tqcontains it. For this reason, a {\tt DwBody} +//. of the {\tt DwEntity} that contains it. For this reason, a {\tt DwBody} //. should always be part of a {\tt DwEntity}. //. //. In the tree (broken-down) representation of a message, a {\tt DwBody} -//. 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 {\tt DwEntity} object -//. that tqcontains it. If it is an intermediate node, it must be of type +//. object can be an intermediate node, having both a 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 {\tt DwEntity} object +//. that contains it. If it is an intermediate node, it must be of type //. multipart with {\tt DwBodyPart} objects as child nodes, or of type //. message with a single {\tt DwMessage} object as its child node. //. @@ -96,14 +96,14 @@ public: DwBody(const DwString& aStr, DwMessageComponent* aParent=0); //. The first constructor is the default constructor, which sets the //. {\tt DwBody} object's string representation to the empty string - //. and sets its parent to {\tt NULL}. + //. and sets its tqparent to {\tt NULL}. //. //. The second constructor is the copy constructor, which performs //. a deep copy of {\tt aBody}. - //. The parent of the new {\tt DwBody} object is set to {\tt NULL}. + //. The tqparent of the new {\tt DwBody} object is set to {\tt NULL}. //. //. The third constructor copies {\tt aStr} to the {\tt DwBody} - //. object's string representation and sets {\tt aParent} as its parent. + //. object's string representation and sets {\tt aParent} as its tqparent. //. The virtual member function {\tt Parse()} should be called immediately //. after this constructor in order to parse the string representation. //. Unless it is {\tt NULL}, {\tt aParent} should point to an object of @@ -113,7 +113,7 @@ public: const DwBody& operator = (const DwBody& aBody); //. This is the assignment operator, which performs a deep copy of - //. {\tt aBody}. The parent node of the {\tt DwBody} object + //. {\tt aBody}. The tqparent node of the {\tt DwBody} object //. is not changed. virtual void Parse(); @@ -127,7 +127,7 @@ public: //. the parse method does nothing. This member function calls the //. {\tt Parse()} member function of any objects it creates. //. - //. Note: If the {\tt DwBody} object has no parent node -- that is, + //. Note: If the {\tt DwBody} object has no tqparent node -- that is, //. it is not contained by a {\tt DwEntity} object -- then the parse //. method does nothing, since it is unable to determine the type of //. body. @@ -145,7 +145,7 @@ public: //. from the broken-down representation. Only {\tt DwBody} objects //. with content type of multipart or message require assembling. //. In either case, the {\tt DwBody} object must be able to find the - //. headers of the message or body part that tqcontains it. Therefore, + //. headers of the message or body part that contains it. Therefore, //. if the {\tt DwBody} object is not the child of a {\tt DwEntity} //. ({\it i.e.}, {\tt DwMessage} or {\tt DwBodyPart}) object, the //. {\tt DwBody} cannot be assembled because the content type cannot |