Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

ClassEncoder::InterfaceMethodref_info Class Reference

Constant pool InterfaceMethodref_info entry. More...

#include <constantpool.hpp>

Inheritance diagram for ClassEncoder::InterfaceMethodref_info:

Inheritance graph
[legend]
Collaboration diagram for ClassEncoder::InterfaceMethodref_info:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 InterfaceMethodref_info (u2 classi, u2 nameati)
 Constructor.

virtual ~InterfaceMethodref_info ()
 Destructor.

virtual void write (std::ofstream &stream) const
 Write entry to stream.


Private Attributes

u2 class_index
u2 name_and_type_index

Detailed Description

Constant pool InterfaceMethodref_info entry.

Represents a methodref_info entry as defined by SUN: http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#42041

Definition at line 112 of file constantpool.hpp.


Constructor & Destructor Documentation

ClassEncoder::InterfaceMethodref_info::InterfaceMethodref_info u2  classi,
u2  nameati
[inline]
 

Constructor.

Parameters:
classi Index in the constant pool to a Class_info object.
nameati Index in the constant pool to a NameAndType_info object.

Definition at line 120 of file constantpool.hpp.


Member Function Documentation

void ClassEncoder::InterfaceMethodref_info::write std::ofstream &  stream  )  const [virtual]
 

Write entry to stream.

Parameters:
stream Stream to write to.

Reimplemented from ClassEncoder::cp_info.

Definition at line 105 of file constantpool.cpp.

References ClassEncoder::ClassWriterBase::writeu2().


The documentation for this class was generated from the following files:
Generated on Mon Dec 1 14:26:31 2003 for Ck by doxygen 1.3.3