#include <class.h>
Inheritance diagram for Class::

Public Methods | |
| Class () | |
| Default constructor. | |
| virtual | ~Class () |
| Destructor. | |
| const jobjectID & | getKey (jobjectID &key) |
| Retrieves object's key. More... | |
| int | operator== (const jobjectID &key) |
| Compares object with given key. More... | |
| virtual Buffer & | infoToBin (Buffer &b) |
| Convert info to binary. More... | |
| void | deactivate () |
| Performs deactivation. | |
| void * | operator new (size_t sz) |
| Overloaded new() operator. | |
| void | operator delete (void *unit) |
| Overloaded delete() operator. | |
| virtual eClassIdent | getClassIdent () |
| Class identification. More... | |
| virtual int | isActive () |
| State of object. More... | |
Static Public Methods | |
| int | hashKey (const jobjectID &key) |
| Hash function. More... | |
Public Attributes | |
| String | className |
| name of class. | |
| String | sourceName |
| name of source file that defines the class. | |
| jint | numInterfaces |
| number of interfaces implemented by this class. | |
| jint | numMethods |
| number of methods defined in this class. | |
| List< Method, LI2 > | methods |
| methods defined in this class. | |
| jint | numStaticFields |
| number of static fields defined in this class. | |
| List< ClassField, LI1 > | statics |
| static fields defined in this class. | |
| jint | numInstanceFields |
| number of instance fields defined in this class. | |
| List< ClassField, LI1 > | instances |
| instance fields defined in this class. | |
| jobjectID | classId |
| class object ID. | |
| int | active |
| active or not. | |
| AllocObject * | allocObject |
| corresponding normal AllocObject. | |
| AllocObject * | allocObjectArray |
| corresponding array AllocObject. | |
Static Private Attributes | |
| Allocator | _allocator |
| allocator. | |
This class consists of data aquired by receiving a JVMPI_EVENT_CLASS_LOAD event. There is data about the loaded class here. When class is unloaded (when a JVMPI_EVENT_CLASS_UNLOAD event received), this data is no longer valid, so in this case an 'active' field equals zero.
Definition at line 60 of file class.h.
|
|
Class identification.
Reimplemented from IdObject. |
|
|
Retrieves object's key.
|
|
|
Hash function.
Definition at line 151 of file class.h. Referenced by AllocObject::hashKey().
|
|
|
Convert info to binary. This method converts information data to binary format in which it is sent thru communication interface to client.
Reimplemented from InfoBinaryFormat. |
|
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 198 of file class.h. Referenced by Method::isActive().
|
|
|
Compares object with given key.
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001