X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc4bfafe5a31cb96f35b3ec9b19fa2b0b3a4eef..e333075415c35d2e869ea585fa41f01a2c938897:/interface/stackwalk.h diff --git a/interface/stackwalk.h b/interface/stackwalk.h index 50978638eb..782b5268e5 100644 --- a/interface/stackwalk.h +++ b/interface/stackwalk.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: stackwalk.h -// Purpose: documentation for wxStackWalker class +// Purpose: interface of wxStackWalker // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -43,8 +43,7 @@ @library{wxbase} @category{FIXME} - @seealso - wxStackFrame + @see wxStackFrame */ class wxStackWalker { @@ -85,6 +84,7 @@ public: }; + /** @class wxStackFrame @wxheader{stackwalk.h} @@ -97,8 +97,7 @@ public: @library{wxbase} @category{FIXME} - @seealso - wxStackWalker + @see wxStackWalker */ class wxStackFrame { @@ -106,7 +105,7 @@ public: /** Return the address of this frame. */ - void* GetAddress(); + void* GetAddress() const; /** Return the name of the file containing this frame, empty if @@ -114,35 +113,35 @@ public: Use HasSourceLocation() to check whether the file name is available. */ - wxString GetFileName(); + wxString GetFileName() const; /** Get the level of this frame (deepest/innermost one is 0). */ - size_t GetLevel(); + size_t GetLevel() const; /** Return the line number of this frame, 0 if unavailable. - + @see GetFileName() */ - size_t GetLine(); + size_t GetLine() const; /** Get the module this function belongs to (empty if not available). */ - wxString GetModule(); + wxString GetModule() const; /** Return the unmangled (if possible) name of the function containing this frame. */ - wxString GetName(); + wxString GetName() const; /** Return the return address of this frame. */ - size_t GetOffset(); + size_t GetOffset() const; /** Get the name, type and value (in text form) of the given parameter. @@ -153,17 +152,18 @@ public: file. */ bool GetParam(size_t n, wxString* type, wxString* name, - wxString* value); + wxString* value) const; /** Return the number of parameters of this function (may return 0 if we can't retrieve the parameters info even although the function does have parameters). */ - size_t GetParamCount(); + size_t GetParamCount() const; /** Return @true if we have the file name and line number for this frame. */ - bool HasSourceLocation(); + bool HasSourceLocation() const; }; +