CxxObject

public interface CxxObject

Base class for every C++ composite type.

Methods

_cxx_rt_delete

void _cxx_rt_delete()

Call to the destructor.

_cxx_rt_peer

long _cxx_rt_peer()

Returns the underlying C++ peer to this object.

Returns:peer of this object

cxxGetDirectInterface

<T extends CxxObject> T cxxGetDirectInterface(Class<T> cls)

Returns a direct interface to the specified class.

Parameters:
  • cls – class
Returns:

direct interface

cxxGetUnsafeDirectInterface

<T extends CxxObject> T cxxGetUnsafeDirectInterface(Class<T> cls)

Returns a direct interface to the specified class without checking compatibility.

Parameters:
  • cls – class
Returns:

direct interface

cxxGetUnsafeImplInterface

<T extends CxxObject> T cxxGetUnsafeImplInterface(Class<T> cls)

Returns an implementing interface to the specified class without checking compatibility.

Parameters:
  • cls – class
Returns:

implementing interface

cxxIsConstInterface

boolean cxxIsConstInterface()

Tells whether or not this object is a const interface or not.

Returns:true if this object is a const interface otherwise false

cxxIsDirectInterface

boolean cxxIsDirectInterface()

Tells whether or not this object is a direct interface or not.

Returns:true if this object is a direct interface otherwise false

cxxIsIdenticalTo

boolean cxxIsIdenticalTo(Object other)

Tells whether or not this object is identical to another.

Parameters:
  • other – other object
Returns:

true when identical otherwise false