All Packages Class Hierarchy This Package Previous Next Index
Class com.roguewave.vsj.streamer.BasicMappings
java.lang.Object
|
+----com.roguewave.vsj.streamer.BasicMappings
- public class BasicMappings
- extends Object
The BasicMappings class is a repository of streamers mapping
C++ basic types such as int, char, double, etc.
to java.lang wrapper
classes such as Integer, Character, and Double.
-
Boolean
- Map a C++ int to a Java Boolean.
-
Byte
- Map a C++ char to a Java Byte.
-
Character
- Map a C++ char to a Java Character.
-
Double
- Map a C++ double to a Java Double.
-
Float
- Map a C++ float to a Java Float.
-
Integer
- Map a C++ int to a Java Integer.
-
Long
- Map a C++ long to a Java Long.
-
Short
- Map a C++ short to a Java Short.
-
BasicMappings()
-
Boolean
public static final ObjectStreamer Boolean
- Map a C++ int to a Java Boolean.
Be sure to use RWvistream::operator>>(int) and
RWvostream::operator<<(int) to respectively read and
write the value on the C++ side.
Character
public static final ObjectStreamer Character
- Map a C++ char to a Java Character.
Be sure to use RWvistream::operator>>(char) and
RWvostream::operator<<(char) to respectively read and
write the value on the C++ side.
Double
public static final ObjectStreamer Double
- Map a C++ double to a Java Double.
Be sure to use RWvistream::operator>>(double) and
RWvostream::operator<<(double) to respectively read and
write the value on the C++ side.
Float
public static final ObjectStreamer Float
- Map a C++ float to a Java Float.
Be sure to use RWvistream::operator>>(float) and
RWvostream::operator<<(float) to respectively read and
write the value on the C++ side.
Integer
public static final ObjectStreamer Integer
- Map a C++ int to a Java Integer.
Be sure to use RWvistream::operator>>(int) and
RWvostream::operator<<(int) to respectively read and
write the value on the C++ side.
Long
public static final ObjectStreamer Long
- Map a C++ long to a Java Long.
Be sure to use RWvistream::operator>>(long) and
RWvostream::operator<<(long) to respectively read and
write the value on the C++ side.
Short
public static final ObjectStreamer Short
- Map a C++ short to a Java Short.
Be sure to use RWvistream::operator>>(short) and
RWvostream::operator<<(short) to respectively read and
write the value on the C++ side.
Byte
public static final ObjectStreamer Byte
- Map a C++ char to a Java Byte.
Be sure to use RWvistream::get(char) and
RWvostream::put(char) to respectively read and
write the value on the C++ side.
BasicMappings
public BasicMappings()
All Packages Class Hierarchy This Package Previous Next Index