Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

InfoBinaryFormat Class Reference

Information data binary format. More...

#include <binaryFormat.h>

Inheritance diagram for InfoBinaryFormat::

AllocArena AllocObject Class ClassField GC GroupThread Method Thread Trace List of all members.

Public Methods

 InfoBinaryFormat ()
 Default constructor.

virtual ~InfoBinaryFormat ()
 Destructor.

virtual BufferinfoToBin (Buffer &b)=0
 Convert info to binary. More...


Detailed Description

Information data binary format.

Each class containing info (eg. about class, field etc.) must be inherited from this class. For example: Class, ClassField, Thread etc.

See also:
DataBinaryFormat
Author:
Marek Przeczek

Definition at line 80 of file binaryFormat.h.


Member Function Documentation

virtual Buffer& InfoBinaryFormat::infoToBin Buffer   b [pure virtual]
 

Convert info to binary.

This method converts information data to binary format in which it is sent thru communication interface to client. This method must be implemented in each class which has info data.

Parameters:
b  buffer where to append data
Returns:
reference to same Buffer object as argument 'b'

Reimplemented in AllocArena, AllocObject, GC, Class, ClassField, GroupThread, Method, Thread, and Trace.

Referenced by IProf::_getInfo(), and IProf::sToBin().


The documentation for this class was generated from the following file:
Generated on Mon Jan 28 14:53:29 2002 for Java Profiler Dynamic Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001