The Conroy & Conroy Subroutine Library (2021.3 edition)

TCOM_Debug_Interface
What: Class TCommon_COM_Interface
Ancestor: None (C++, Delphi), TSDebug_Interface (PHP)
File: _DebugIn
Layer: 0
Platforms: C++, Javascript, Pascal (All), PHP, Python

This class is the abstract base class for debug iterators. The methods in this class use the stdcall calling convention for C++ and Pascal. The class contains the following methods:

Activate
void Activate()
procedure Activate
Indicates that the user wished to activate this level. The behavior is undefined and up to the implementor. Typically, this does nothing unless this level is a terminal representing some complex data which is not viewable in a hierarchical form.

Arbitrary_Length
bool Arbitrary_Length()
function Arbitrary_Length : boolean
Returns true if the number of children can very.

Can_Change
bool Can_Change()
function Can_Change : boolean
Returns True if this item can be modified.

Child
TCOM_Debug_Interface *Child( int32 Index )
function Child( Index : longint ) : TCOM_Debug_Interface
Returns a debug interface for the specified child level (first child level is 0).

Context
property Context : longint
(Not available in C++).
Access to the object context value.

Count
int32 Count()
function Count : longint
Returns the number of child components under this level. If this is a terminal (leaf) node, the method returns 0.

Get_Context
int32 Get_Context()
function Get_Context : longint
Returns the context for the object.

Get_Title
char* Get_Title()
function Get_Title : PAnsiChar
Returns text representing this level (such as "Cached data").

Has_Children
bool Has_Children()
function Has_Children : boolean
Returns whether or not there are child components under this level. If this is a terminal (leaf) node, the method returns false.

Kill
void Kill()
procedure Kill
Tells object to destroy itself.

Modify
char* Modify( char* Data, int Size )
function Modify( Data : PAnsiChar ; Size : integer ) : PAnsiChar
Modifies data. If Size is -1, Data is assumed to be null-terminated and its length is automatically determined. The result will be nil or a pointer to a null string to indicate success and error text otherwise.

Recursive
bool Recursive()
function Recursive : boolean
Returns true if this item is recursive.

Set_Context
void Set_Context( int32 Value )
procedure Set_Context( Value : longint )
Sets the object context.

Set_Title
void Set_Title( char* Value )
procedure Set_Title
Sets text representing this level.

Title
property Title : PAnsiChar
(Not available in C++).
Access to the object title.