CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
ixml_namespace_resolver.h
1
2
3#pragma once
4
5#include <xml/xml_namespace_scope.h>
6#include <system/object.h>
7
8
10namespace System
11{
12namespace Collections
13{
14namespace Generic
15{
16template <typename, typename> class IDictionary;
17} // namespace Generic
18} // namespace Collections
19class String;
20} // namespace System
22
23namespace System {
24
25namespace Xml {
26
28class ASPOSECPP_SHARED_CLASS IXmlNamespaceResolver : public virtual System::Object
29{
32
33 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
34 ASPOSECPP_SHARED_RTTI_INFO_DECL();
35
36public:
37
45 virtual String LookupNamespace(const String& prefix) = 0;
49 virtual String LookupPrefix(const String& namespaceName) = 0;
50
51};
52
53} // namespace Xml
54} // namespace System
55
56
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
Provides read-only access to a set of prefix and namespace mappings.
Definition: ixml_namespace_resolver.h:29
virtual String LookupPrefix(const String &namespaceName)=0
Returns the prefix that is mapped to the specified namespace URI.
virtual SharedPtr< Collections::Generic::IDictionary< String, String > > GetNamespacesInScope(XmlNamespaceScope scope)=0
Returns a collection of defined prefix-namespace mappings that are currently in scope.
virtual String LookupNamespace(const String &prefix)=0
Returns the namespace URI mapped to the specified prefix.
@ Xml
Serialize according to the XML 1.0 rules.
XmlNamespaceScope
Defines the namespace scope.
Definition: xml_namespace_scope.h:15
Definition: db_command.h:9