CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
leakage_detector.h
1#pragma once
2
3#include <system/multicast_delegate.h>
4#include <system/object.h>
5#include <system/string.h>
6
7
8namespace PorterInterface { namespace Reporters {
9
11{
12public:
13 using ReportHandler = System::MulticastDelegate<void(System::SharedPtr<System::Object>, System::String, int)>;
14 static bool SetHandler(ReportHandler handler, bool reportLeaksFromMakeObject = false);
15};
16
17} } // namespace PorterInterface::Reporters
18
Definition: leakage_detector.h:11
System::MulticastDelegate< void(System::SharedPtr< System::Object >, System::String, int)> ReportHandler
Definition: leakage_detector.h:13
static bool SetHandler(ReportHandler handler, bool reportLeaksFromMakeObject=false)
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
Definition: leakage_detector.h:8