Inheritance diagram for TransferEncodingType:

Public Member Functions | |
| TransferEncodingType () | |
| Default constructor. | |
| TransferEncodingType (const TransferEncodingType &other) | |
| Copy constructor. | |
| TransferEncodingType (const String &str, Node *parent=0) | |
| Constructor that takes an initial string and parent node. | |
| virtual | ~TransferEncodingType () |
| Destructor. | |
| const TransferEncodingType & | operator= (const TransferEncodingType &other) |
| Assignment operator. | |
| virtual void | parse () |
| Parses the string representation. | |
| virtual void | assemble () |
| Assembles the string representation. | |
| virtual Node * | clone () const |
| Creates a copy of this object. | |
| const String & | type () const |
| Gets the transfer encoding type. | |
| void | setType (const String &type) |
| Sets the transfer encoding type. | |
| EType | asEnum () const |
| Gets the transfer encoding type as an enumerated value. | |
| void | fromEnum (EType cte) |
| Sets the transfer encoding type from an enumerated value. | |
Static Public Member Functions | |
| TransferEncodingType * | newTransferEncodingType () |
| Creates a new instance. | |
Static Public Attributes | |
| TransferEncodingType *(* | sNewTransferEncodingType )() |
| Provides a class factory hook. | |
|
|
This constructor sets the TransferEncodingType object's string representation to the empty string and sets its parent node to NULL. |
|
|
This constructor performs a deep copy of its argument. The parent node of the new TransferEncodingType object is set to NULL.
|
|
||||||||||||
|
This constructor sets the TransferEncodingType object's string representation to str and sets its parent node to parent. Normally, you call the virtual function parse() immediately after this constructor to create the broken-down representation.
|
|
|
Destructor |
|
|
Gets the content transfer encoding as an enumerated value. If the content transfer encoding is non-standard, the function returns TransferEncodingType::UNKNOWN. You may call the member function type() to get the content transfer encoding, standard or non-standard, as a string.
|
|
|
This virtual function, inherited from Node, executes the assemble operation for TransferEncodingType objects. The assemble operation creates or updates the string representation from the broken-down representation. For TransferEncodingType objects, the assemble operation builds the string representation from the transfer encoding type value. You should call this member function after you set or modify the transfer encoding type value, and before you retrieve the string representation. This function clears the is-modified flag. Reimplemented from FieldBody. |
|
|
This virtual function, inherited from Node, creates a new TransferEncodingType object that has the same value as this TransferEncodingType object. The parent node of the new TransferEncodingType object is set to NULL.
Reimplemented from FieldBody. |
|
|
Sets the content transfer encoding from an enumerated value. You may set the content transfer encoding to any string value, standard or non-standard, by using the member function setType().
|
|
|
Creates a new TransferEncodingType object. If the static data member sNewTransferEncodingType is NULL, this member function creates a new TransferEncodingType object and returns it. Otherwise, newTransferEncodingType() calls the user-supplied function that sNewTransferEncodingType points to and returns the object created by that function.
|
|
|
Performs a deep copy of its argument. The parent node of this TransferEncodingType object is not changed.
|
|
|
This virtual function, inherited from Node, executes the parse operation for TransferEncodingType objects. The parse operation creates or updates the broken-down representation from the string representation. For TransferEncodingType objects, the parse operation parses the string representation to extract the transfer encoding type value. You should call this member function after you set or modify the string representation, and before you access the transfer encoding type value. This function clears the is-modified flag. Reimplemented from FieldBody. |
|
|
Sets the transfer encoding type value
|
|
|
Gets the transfer encoding type value
|
|
|
If sNewTransferEncodingType is not NULL, it must point to a user-supplied function that returns a new instance of a subclass of TransferEncodingType.
|
Copyright © 2001-2007 Hunny Software, Inc. All rights reserved.