CACAO
Public Member Functions | Private Attributes | Friends
NativeMethod Class Reference

Represents a native method. More...

Public Member Functions

 NativeMethod (Utf8String classname, Utf8String name, Utf8String signature, void *function)
 
 NativeMethod (methodinfo *m)
 
voidget_function () const
 

Private Attributes

Utf8String _classname
 Class name. More...
 
Utf8String _name
 Method name. More...
 
Utf8String _descriptor
 Method signature. More...
 
void_function
 Pointer to the native function. More...
 

Friends

bool operator< (const NativeMethod &first, const NativeMethod &second)
 

Detailed Description

Represents a native method.

Definition at line 112 of file native.hpp.

Constructor & Destructor Documentation

NativeMethod::NativeMethod ( Utf8String  classname,
Utf8String  name,
Utf8String  signature,
void function 
)
inline

Definition at line 122 of file native.hpp.

NativeMethod::NativeMethod ( methodinfo m)
inline

Definition at line 123 of file native.hpp.

Member Function Documentation

void* NativeMethod::get_function ( ) const
inline

Definition at line 125 of file native.hpp.

Friends And Related Function Documentation

bool operator< ( const NativeMethod first,
const NativeMethod second 
)
friend

Definition at line 212 of file native.cpp.

Field Documentation

Utf8String NativeMethod::_classname
private

Class name.

Definition at line 114 of file native.hpp.

Utf8String NativeMethod::_descriptor
private

Method signature.

Definition at line 116 of file native.hpp.

void* NativeMethod::_function
private

Pointer to the native function.

Definition at line 117 of file native.hpp.

Utf8String NativeMethod::_name
private

Method name.

Definition at line 115 of file native.hpp.


The documentation for this class was generated from the following file: