GlobalJObject Class Reference

Global JObject. More...

#include <GlobalJObject.h>

Inheritance diagram for GlobalJObject:

DimensionObject RectangleObject

List of all members.

Public Member Functions

 GlobalJObject (JNIEnv *env, jobject obj)
 Constructs new GlobalJObject object.
virtual ~GlobalJObject ()
 Destructs GlobalJObject object.
jobject ref () const
 Returns global reference.

Protected Attributes

JNIEnv * m_env
jobject m_obj


Detailed Description

Global JObject.

@(#)GlobalJObject.h 0.1.0 / 2007-08-21

Copyright (c) 2007, ETF and contributors. All rights reserved.

This software is licensed under the LGPL, version 2.1, license. A copy of the license is included in the file LICENSE-LGPL.txt.

Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)
Version:
0.2.0

Constructor & Destructor Documentation

GlobalJObject::GlobalJObject ( JNIEnv *  env,
jobject  obj 
)

Constructs new GlobalJObject object.

@(#)GlobalJObject.cpp 0.1.0 / 2007-08-21

Copyright (c) 2007, ETF and contributors. All rights reserved.

This software is licensed under the LGPL, version 2.1, license. A copy of the license is included in the file LICENSE-LGPL.txt.

Parameters:
env the JNIEnv pointer
obj the Java object


Member Function Documentation

jobject GlobalJObject::ref (  )  const [inline]

Returns global reference.

Returns:
global reference


Copyright © 2007 ETF and contributors. All Rights Reserved.