public class ArrayModule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
bool_arr_t |
static java.lang.String |
bool_r_t |
static java.lang.String |
bool_v_t |
static java.lang.String |
int_arr_t |
static java.lang.String |
int_r_t |
static java.lang.String |
int_v_t |
static java.lang.String |
int32_arr_t |
static java.lang.String |
int32_r_t |
static java.lang.String |
int32_v_t |
static java.lang.String |
ptr_arr_t |
static java.lang.String |
ptr_r_t |
static java.lang.String |
ptr_v_t |
Constructor and Description |
---|
ArrayModule(LanguageWriterForFortran lw,
Context context)
SPECIAL CONSTRUCTOR for creating the GENERIC ARRAY MODULE.
|
ArrayModule(SymbolID id,
int type,
LanguageWriterForFortran lw,
Context context)
Create an object to create a FORTRAN 90 module to provide
client-side bindings for arrays of classes, interfaces, and
enumerated types.
|
Modifier and Type | Method and Description |
---|---|
void |
generateStub() |
public static final java.lang.String int_v_t
public static final java.lang.String int_r_t
public static final java.lang.String int_arr_t
public static final java.lang.String int32_v_t
public static final java.lang.String int32_r_t
public static final java.lang.String int32_arr_t
public static final java.lang.String bool_v_t
public static final java.lang.String bool_r_t
public static final java.lang.String bool_arr_t
public static final java.lang.String ptr_v_t
public static final java.lang.String ptr_r_t
public static final java.lang.String ptr_arr_t
public ArrayModule(SymbolID id, int type, LanguageWriterForFortran lw, Context context) throws CodeGenerationException
id
- the array module should be created for this
id. This can be a real id or a fake id (for
sidl.double and the like).type
- this should be a constant from
Type
. It indicates
the type of id.lw
- here is where the file is created.CodeGenerationException
- this means the arguments were incorrectpublic ArrayModule(LanguageWriterForFortran lw, Context context) throws CodeGenerationException
lw
- here is where the file is created.CodeGenerationException
- this means the arguments were incorrectpublic void generateStub() throws CodeGenerationException
CodeGenerationException