Dacons LLP Mailit for C/C++ | Version 1.0.8 |
Emai::ContentField Class ReferenceEmaiContentField wrapper class.ContentField object can be used to setup or retrieve parsed field data for Content-Type and Content-Disposition fields. For Content-Type field value member contains media type of the message part ("text/plain", "application/octet-stream", etc) For Content-Disposition field value member contains disposition of the message part ("attachment", "inline" etc). More...
Inheritance diagram for Emai::ContentField: ![]()
Detailed DescriptionEmaiContentField wrapper class.ContentField object can be used to setup or retrieve parsed field data for Content-Type and Content-Disposition fields. For Content-Type field value member contains media type of the message part ("text/plain", "application/octet-stream", etc) For Content-Disposition field value member contains disposition of the message part ("attachment", "inline" etc).
Definition at line 177 of file EmaiMessage.hpp. Member Function Documentation
Adds parameter name and parameter value to the field object.
Definition at line 711 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContentFieldAddParameter(), and Emai::Object< EmaiContentField >::mObject. 00716 { 00717 CheckErrorCode(EmaiContentFieldAddParameter(mObject, inParamName, 00718 inParamValue, inOptions)); 00719 }
Extracts the value from the content field.
Definition at line 722 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContentFieldGetValue(), EmaiErrIncorrectParameter, and Emai::Object< EmaiContentField >::mObject. 00725 { 00726 EmaiConstUniCharPtr value = EmaiContentFieldGetValue(mObject, inOptions); 00727 if (value == NULL) 00728 CheckErrorCode(EmaiErrIncorrectParameter); 00729 00730 return value; 00731 }
Retrieves the number of parameters at the content field.
Definition at line 734 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContentFieldGetParameterCount(), and Emai::Object< EmaiContentField >::mObject. 00737 { 00738 EmaiUint32 count = 0; 00739 CheckErrorCode(EmaiContentFieldGetParameterCount(mObject, &count, inOptions)); 00740 return count; 00741 }
Extracts parameter name at the specified index, from the content field.
Definition at line 744 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContentFieldGetParameterName(), EmaiErrIncorrectParameter, and Emai::Object< EmaiContentField >::mObject. 00748 { 00749 EmaiConstUniCharPtr name = EmaiContentFieldGetParameterName(mObject, 00750 inIndex, inOptions); 00751 if (name == NULL) 00752 CheckErrorCode(EmaiErrIncorrectParameter); 00753 00754 return name; 00755 }
Extracts parameter value at the specified index, from the content field.
Definition at line 758 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContentFieldGetParameterValue(), EmaiErrIncorrectParameter, and Emai::Object< EmaiContentField >::mObject. 00762 { 00763 EmaiConstUniCharPtr value = EmaiContentFieldGetParameterValue(mObject, 00764 inIndex, inOptions); 00765 if (value == NULL) 00766 CheckErrorCode(EmaiErrIncorrectParameter); 00767 00768 return value; 00769 }
Finds parameter value with specified name, from the content field.
Definition at line 772 of file EmaiMessage.hpp. References EmaiContentFieldFindParameterValue(), and Emai::Object< EmaiContentField >::mObject. 00776 { 00777 return EmaiContentFieldFindParameterValue(mObject, 00778 inParamName, inOptions); 00779 }
The documentation for this class was generated from the following file: |