CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
gc.h
1
3#ifndef _aspose_system_gc_h_
4#define _aspose_system_gc_h_
5
6#include "fwd.h"
7#include "system/object.h"
8#include "system/exceptions.h"
9
10namespace System {
11
15class GC : public Object
16{
17 RTTI_INFO(GC, ::System::BaseTypesInfo<System::Object>);
18public:
21 static ASPOSECPP_SHARED_API void SuppressFinalize(const SharedPtr<Object>& obj);
26 static ASPOSECPP_SHARED_API int64_t GetTotalMemory(bool force_full_collection);
29 static ASPOSECPP_SHARED_API void Collect();
31 static ASPOSECPP_SHARED_API void Collect(int generation);
33 static ASPOSECPP_SHARED_API void WaitForPendingFinalizers();
35 static ASPOSECPP_SHARED_API int get_MaxGeneration();
37};
38
39} // System
40#endif
Represents an emulated Garbage Collection which acts more like a stub which effectively does nothing....
Definition: gc.h:16
static int64_t GetTotalMemory(bool force_full_collection)
Returns the number of bytes of private memory currently allocated by the current process.
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
Definition: db_command.h:9