Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

java::lang::reflect::Member Class Reference

Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor. More...

#include <java_lang_reflect_Member.h>

Inheritance diagram for java::lang::reflect::Member:

Inheritance graph
[legend]
Collaboration diagram for java::lang::reflect::Member:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9,
  xmogBuildNumber = 2047
}
typedef ::xmog_java_array_template<
::java::lang::reflect::Member
array1D
typedef ::xmog_java_array_template<
::xmog_java_array_template<
::java::lang::reflect::Member > > 
array2D

Public Member Functions

virtual ::java::lang::Class getDeclaringClass (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
virtual jint getModifiers (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
virtual ::java::lang::String getName (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Returns the simple name of the underlying member or constructor represented by this Member.

Static Public Attributes

static xmog_int DECLARED
 Identifies the set of declared members of a class or interface.
static xmog_int PUBLIC
 Identifies the set of all public members of a class or interface, including inherited members.

Detailed Description

Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor.

Author:
Nakul Saraiya


Member Function Documentation

virtual ::java::lang::Class java::lang::reflect::Member::getDeclaringClass ::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.

Parameters:
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.
Returns:
an object representing the declaring class of the underlying member

Reimplemented in java::lang::reflect::Constructor, java::lang::reflect::Field, and java::lang::reflect::Method.

virtual jint java::lang::reflect::Member::getModifiers ::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
[virtual]
 

Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.

The Modifier class should be used to decode the modifiers in the integer.

Parameters:
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.
Returns:
the Java language modifiers for the underlying member

Reimplemented in java::lang::reflect::Constructor, java::lang::reflect::Field, and java::lang::reflect::Method.

virtual ::java::lang::String java::lang::reflect::Member::getName ::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Returns the simple name of the underlying member or constructor represented by this Member.

Parameters:
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.
Returns:
the simple name of the underlying member

Reimplemented in java::lang::reflect::Constructor, java::lang::reflect::Field, and java::lang::reflect::Method.


Member Data Documentation

xmog_int java::lang::reflect::Member::DECLARED [static]
 

Identifies the set of declared members of a class or interface.

Inherited members are not included.


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 10:19:37 2006 for JMS Courier for C++ by  doxygen 1.4.1