Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

ISoapAttachment.hpp

00001 /*
00002  *   Copyright 2003-2004 The Apache Software Foundation.
00003  *
00004  *   Licensed under the Apache License, Version 2.0 (the "License");
00005  *   you may not use this file except in compliance with the License.
00006  *   You may obtain a copy of the License at
00007  *
00008  *       http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  *   Unless required by applicable law or agreed to in writing, software
00011  *   distributed under the License is distributed on an "AS IS" BASIS,
00012  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  *   See the License for the specific language governing permissions and
00014  *   limitations under the License.
00015  */
00016 
00017 /*
00018  * @author Nithyakala Thangarajah (nithya@opensource.lk)
00019  * @author Rangika Mendis (rangika@opensource.lk) 
00020  * @author Roshan Weerasuriya (roshan@opensource.lk, roshan@jkcsworld.com)
00021  *
00022  */
00023 
00024 // ISoapAttachment.h: interface for the ISoapAttachment class.
00025 //
00027 
00028 #if !defined(AFX_ISOAPATTACHMENT_H__8B3A65FD_40A6_45B2_A8C5_295DE4222952__INCLUDED_)
00029 #define AFX_ISOAPATTACHMENT_H__8B3A65FD_40A6_45B2_A8C5_295DE4222952__INCLUDED_
00030 
00031 #if _MSC_VER > 1000
00032 #pragma once
00033 #endif // _MSC_VER > 1000
00034 
00035 #include <axis/AxisUserAPI.hpp>
00036 
00037 AXIS_CPP_NAMESPACE_START
00038 
00039 typedef enum 
00040 { 
00041     AXIS_BASE64=0, 
00042     AXIS_BINARY = 1
00043 } AXIS_ATTACHMENT_ENCODING_TYPE;
00044 
00045 
00046 class STORAGE_CLASS_INFO ISoapAttachment  
00047 {
00048 public:
00049         virtual const char* getAttachmentId()=0;
00053         virtual void addBody(xsd__base64Binary* objBody)=0;     
00054 
00058         virtual void addHeader(const char* pchName, const char* pchValue)=0;
00059 
00063         virtual xsd__base64Binary* getBody()=0; 
00064 
00070         virtual const char* getHeader(const char* pchName)=0;
00071 
00072         virtual ~ISoapAttachment() {};
00073 
00074 };
00075 
00076 AXIS_CPP_NAMESPACE_END
00077 
00078 #endif // !defined(AFX_ISOAPATTACHMENT_H__8B3A65FD_40A6_45B2_A8C5_295DE4222952__INCLUDED_)
00079 

Generated on Tue May 17 02:30:31 2005 for AxisC++ by doxygen1.2.18