CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
soap_header.h
1
2#pragma once
3
4#include <system/object.h>
5#include <system/shared_ptr.h>
6#include <system/string.h>
7#include <xml/xml_element.h>
8
9namespace System { namespace Web { namespace Services { namespace Protocols {
10
15class ABSTRACT SoapHeader : public System::Object
16{
17public:
20 ASPOSECPP_SHARED_API String get_Actor();
23 ASPOSECPP_SHARED_API void set_Actor(String value);
26 ASPOSECPP_SHARED_API bool get_DidUnderstand();
29 ASPOSECPP_SHARED_API void set_DidUnderstand(bool value);
32 ASPOSECPP_SHARED_API String get_EncodedMustUnderstand();
35 ASPOSECPP_SHARED_API void set_EncodedMustUnderstand(String value);
38 ASPOSECPP_SHARED_API bool get_MustUnderstand();
41 ASPOSECPP_SHARED_API void set_MustUnderstand(bool value);
44 ASPOSECPP_SHARED_API String get_EncodedMustUnderstand12();
47 ASPOSECPP_SHARED_API void set_EncodedMustUnderstand12(String value);
50 ASPOSECPP_SHARED_API String get_EncodedRelay();
54 ASPOSECPP_SHARED_API void set_EncodedRelay(String value);
57 ASPOSECPP_SHARED_API bool get_Relay();
60 ASPOSECPP_SHARED_API void set_Relay(bool value);
63 ASPOSECPP_SHARED_API String get_Role();
66 ASPOSECPP_SHARED_API void set_Role(String value);
67
71
72protected:
74 ASPOSECPP_SHARED_API SoapHeader();
75
76private:
78 String actor;
80 bool didUnderstand;
82 bool mustUnderstand;
84 String role;
86 bool relay;
87};
88
89}}}} // namespace System::Web::Services::Protocols
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Represents content of the SOAP header. Objects of this class should only be allocated using System::M...
Definition: soap_header.h:16
bool get_Relay()
Gets a value of the 'relay' attribute.
String get_Role()
Gets the URI of the SOAP header recipient when SOAP version 1.2 is used.
String get_EncodedMustUnderstand()
Gets a value of the 'mustUnderstand' attribute when SOAP version 1.1 is used.
bool get_MustUnderstand()
Gets a value that indicates if the SOAP header must be understood.
SoapHeader(System::SharedPtr< Xml::XmlElement > elem)
Constructs a new instance.
void set_MustUnderstand(bool value)
Sets a value that indicates if the SOAP header must be understood.
void set_Role(String value)
Sets the URI of the SOAP header recipient when SOAP version 1.2 is used.
bool get_DidUnderstand()
Gets a value that indicates if the SOAP header is properly processed.
String get_Actor()
Gets the URI of the SOAP header recipient when SOAP version 1.1 is used.
void set_DidUnderstand(bool value)
Sets a value that indicates if the SOAP header is properly processed.
SoapHeader()
Constructs a new instance.
void set_EncodedMustUnderstand12(String value)
Sets a value of the 'mustUnderstand' attribute when SOAP version 1.2 is used.
void set_EncodedRelay(String value)
Sets a string representation of the 'relay' attribute value.
void set_EncodedMustUnderstand(String value)
Sets a value of the 'mustUnderstand' attribute when SOAP version 1.1 is used.
void set_Actor(String value)
Sets the URI of the SOAP header recipient when SOAP version 1.1 is used.
void set_Relay(bool value)
Sets a value of the 'relay' attribute.
String get_EncodedMustUnderstand12()
Gets a value of the 'mustUnderstand' attribute when SOAP version 1.2 is used.
String get_EncodedRelay()
Gets a string representation of the 'relay' attribute value.
Definition: db_command.h:9