Purpose:
|
Defines a simple list pointer, which allows all active lists to be scanned.
|
|
Derivation:
|
DEBUG_LIST : ACIS_OBJECT : -
|
|
Filename:
|
kern/kernel/kerndata/data/debug.hxx
|
|
Description:
|
This class defines a simple list pointer, which allows all active lists to be scanned.
|
|
References:
|
KERN
|
ENTITY_LIST
|
|
Constructor:
|
public: DEBUG_LIST::DEBUG_LIST
(
|
|
|
char const* type
|
// type name
|
|
|
);
|
|
|
C++ initialize constructor requests memory for this object, initialize its members, and then link it at the end of the chain of headers. The type argument is in three classes:
|
|
|
NULL pointer - The type name is to be obtained from the first entity in the list
|
|
null string - Same as
NULL pointer, except that when performing debug printout, the list is not printed
|
|
non-null string - The type name to be used when identifying the list
|
|
|
|
|
|
|
public: logical DEBUG_LIST::debug_list
(
|
|
|
FILE*
|
// file name
|
|
|
);
|
|
|
C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
|
|
|
|
|
Destructor:
|
public: virtual DEBUG_LIST::~DEBUG_LIST
();
|
|
|
C++ destructor, deleting a
DEBUG_LIST.
|
|
|
|
Methods:
|
public: int DEBUG_LIST::count
() const;
|
|
|
Counts the entities in the list.
|
|
|
|
|
|
|
public: virtual void DEBUG_LIST::debug
(
|
|
|
ENTITY const*,
|
// entity
|
|
|
FILE*
|
// file name
|
|
|
) const;
|
|
|
Displays one entity from the
DEBUG_LIST.
|
|
|
|
|
|
|
public: logical DEBUG_LIST::debug_list
(
|
|
|
FILE*
|
// file name
|
|
|
);
|
|
|
Displays each entity in the list, starting at the
number_printed.
|
|
|
|
|
|
|
public: char const* DEBUG_LIST::entity_name
();
|
|
|
Allows unprivileged utilities to follow the list pointer to return the entity type.
|
|
|
|
|
|
|
public: ENTITY const* DEBUG_LIST::fetch
(
|
|
|
int
|
|
// index number of entity
|
|
|
) const;
|
|
|
Obtains the indexed entity from the list.
|
|
|
|
|
|
|
public: int DEBUG_LIST::lookup
(
|
|
|
ENTITY const*,
|
// entity to lookup
|
|
|
logical
|
// add to list option
|
|
|
);
|
|
|
Search for the given entity in the list, optionally adding it, and returning the index number.
|
|
|
|
|
|
|
public: DEBUG_LIST* DEBUG_LIST::next
();
|
|
|
Allows unprivileged utilities to follow the list pointer to return the next entity type.
|
|
|
|
|
|
|
public: virtual unsigned
|
|
|
DEBUG_LIST::size_list () const;
|
|
|
Determines the total space occupied by all of the entities in the list. It does not include subsidiary structures.
|
|
|
|
|
Related Fncs:
|
clear_debug_lists, debug_add, debug_all, debug_box, debug_entity, debug_header, debug_int, debug_leader, debug_lists, debug_new_pointer, debug_old_pointer, debug_real, debug_sib_pointer, debug_size, debug_string, debug_title, debug_transform, format_pointer, size_all
|