CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
xml_name_table.h
1
2
3#pragma once
4
5#include <system/array.h>
6#include <cstdint>
7
8
9namespace System {
10
11namespace Xml {
12
14class ASPOSECPP_SHARED_CLASS XmlNameTable : public System::Object
15{
16 typedef XmlNameTable ThisType;
18
19 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
20 ASPOSECPP_SHARED_RTTI_INFO_DECL();
21
22public:
23
26
27public:
28
43 virtual ASPOSECPP_SHARED_API const String& Get(const ArrayPtr<char16_t>& array, int32_t offset, int32_t length) = 0;
48 virtual ASPOSECPP_SHARED_API const String& Get(const String& array) = 0;
62 virtual ASPOSECPP_SHARED_API const String& Add(const ArrayPtr<char16_t>& array, int32_t offset, int32_t length) = 0;
67 virtual ASPOSECPP_SHARED_API const String& Add(const String& array) = 0;
68
69};
70
71} // namespace Xml
72} // namespace System
73
74
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
Table of atomized string objects.
Definition: xml_name_table.h:15
virtual const String & Get(const ArrayPtr< char16_t > &array, int32_t offset, int32_t length)=0
When overridden in a derived class, gets the atomized string containing the same characters as the sp...
virtual const String & Get(const String &array)=0
When overridden in a derived class, gets the atomized string containing the same value as the specifi...
virtual const String & Add(const ArrayPtr< char16_t > &array, int32_t offset, int32_t length)=0
When overridden in a derived class, atomizes the specified string and adds it to the XmlNameTable.
virtual const String & Add(const String &array)=0
When overridden in a derived class, atomizes the specified string and adds it to the XmlNameTable.
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9