org.vishia.java2C.test
Class ExpandedDataStruct

java.lang.Object
  extended by org.vishia.java2C.test.SimpleDataStruct
      extended by org.vishia.java2C.test.ExpandedDataStruct

public final class ExpandedDataStruct
extends SimpleDataStruct

This data structure contains the SimpleDataStruct as super class. In C the struct is defined as:

 typedef struct ExpandedDataStruct_Test_t
 { 
   union { ExpandableDataStruct_Test_s super;} base; 
   double e;
   double f;
 } ExpandedDataStruct_Test_s;
The superclass is wrapped with an union, because the access is written anytime ref.base.super, but the union doesn't contain an element ObjectJc object here. That is because the base class in not based on ObjectJc.


Field Summary
(package private)  double e
          Some variables in the data class respectively struct.
(package private)  double f
          Some variables in the data class respectively struct.
 
Fields inherited from class org.vishia.java2C.test.SimpleDataStruct
db, xb, yb
 
Constructor Summary
ExpandedDataStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

e

double e
Some variables in the data class respectively struct.


f

double f
Some variables in the data class respectively struct.

Constructor Detail

ExpandedDataStruct

public ExpandedDataStruct()