NAME

KernelDataTable

PROTOTYPE

	#include <KernelDataTable.h>

	class KernelDataTable 
	{
	public:
		KernelDataTable();
		~KernelDataTable();

		int& get_size();
		void *operator[](uint32 ds_name);
	private:

		...

	};

SYNOPSIS

This class is used to provide a high(er) level interface to the get_kernel_data() system call

CONSTRUCTORS AND DESTRUCTORS

KernelDataTable();

~KernelDataTable();

METHODS

  • int get_size();

This method indicates the number of entries in the kernel data table.

Returns

The number elements defined in the kernel data table.

This method retrieves an entry in the kernel data table.

Parameters

ds_name Denotes the symbolic name of the element being retrieved.

Returns

A pointer to the value returned.

RELATED INFORMATION

See the system call get_kernel_data(). It is recommended that C++ programmers use the OS:: class which provides a high level interface to this information.