CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
method_base.h
1
2#ifndef _aspose_system_reflection_method_base_h_
3#define _aspose_system_reflection_method_base_h_
4
5#include "system/shared_ptr.h"
6#include "system/reflection/member_info.h"
7
8namespace System { namespace Diagnostics { namespace _StackFrame_private {
9class Pimpl;
10} } }
11
12namespace System { namespace Reflection {
13
18class ASPOSECPP_SHARED_CLASS MethodBase : public MemberInfo
19{
20 friend class System::Diagnostics::_StackFrame_private::Pimpl;
21protected:
24 ASPOSECPP_SHARED_API MethodBase(const String& full_name);
25
26public:
27 MEMBER_FUNCTION_MAKE_OBJECT(MethodBase, CODEPORTING_ARGS(const String& full_name), CODEPORTING_ARGS(full_name));
29 ASPOSECPP_SHARED_API MethodBase();
31 ASPOSECPP_SHARED_API virtual MemberTypes get_MemberType() const override;
32
35 static ASPOSECPP_SHARED_API System::SharedPtr<MemberInfo> GetCurrentMethod(const String& full_name);
36};
37
38}}
39
40#endif
Provides reflection information on members. Objects of this class should only be allocated using Syst...
Definition: member_info.h:16
Base information on method. Objects of this class should only be allocated using System::MakeObject()...
Definition: method_base.h:19
MethodBase(const String &full_name)
Constructor.
virtual MemberTypes get_MemberType() const override
Indicating the type of the member - method, constructor, event, and so on.
static System::SharedPtr< MemberInfo > GetCurrentMethod(const String &full_name)
This method allows getting current method name. Translator substitutes ASPOSE_CURRENT_FUNCTION as par...
MethodBase()
Initializes a new instance of the MethodBase class.
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
MemberTypes
Marks each type of member.
Definition: member_types.h:11
Definition: db_command.h:9