CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
stack_trace.h
1
2#ifndef _aspose_system_diagnostics_stack_trace_h_
3#define _aspose_system_diagnostics_stack_trace_h_
4
5#include <system/object.h>
6#include "system/shared_ptr.h"
7
8namespace System { namespace Diagnostics {
9
10namespace _StackTrace_private
11{
13 class Pimpl;
14}
15
16class StackFrame;
17
22class ASPOSECPP_SHARED_CLASS StackTrace : public System::Object
23{
24public:
26 ASPOSECPP_SHARED_API StackTrace();
29 ASPOSECPP_SHARED_API StackTrace(bool isFileInfoNeeded);
31 virtual ASPOSECPP_SHARED_API ~StackTrace();
32
34 StackTrace(const StackTrace&) = delete;
36 const StackTrace& operator=(const StackTrace&) const = delete;
37
41 virtual ASPOSECPP_SHARED_API SharedPtr<StackFrame> GetFrame(uint32_t index);
44 int ASPOSECPP_SHARED_API get_FrameCount() const;
45
46private:
48 _StackTrace_private::Pimpl *m_pimpl;
49} ;
50
51}}
52
53#endif
Collection of stack frames. Objects of this class should only be allocated using System::MakeObject()...
Definition: stack_trace.h:23
int get_FrameCount() const
Gets count of frames in stack trace.
StackTrace()
Creates stack trace describing current stack state.
const StackTrace & operator=(const StackTrace &) const =delete
No assignment.
virtual ~StackTrace()
Destructor.
StackTrace(bool isFileInfoNeeded)
Creates stack trace describing current stack state.
StackTrace(const StackTrace &)=delete
No copying.
virtual SharedPtr< StackFrame > GetFrame(uint32_t index)
Gets stack frame.
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