|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.presents.tools.cpp.CPPType
public class CPPType
| Field Summary | |
|---|---|
String |
cast
CPP code to cast from this object to its reader type. |
CPPType |
dependent
Another type embedded in this type, or null if it doesn't have an embedded type. |
String |
fixed
If this is a fixed type and thereby doesn't need a type encoding on the wire. |
String |
interpreter
The method on ObjectInputStream and ObjectOutputStream to interpret this type. |
static String |
JAVA_LIST_FIXED
|
boolean |
primitive
|
Class<?> |
rawType
|
String |
representationImport
|
String |
type
The full cpp type. |
| Constructor Summary | |
|---|---|
CPPType(Type javaType)
|
|
| Method Summary | |
|---|---|
String |
getAsStreamable(String name)
|
String |
getCastFromStreamable(String name)
|
String |
getWithoutShared()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JAVA_LIST_FIXED
public final String type
public final String interpreter
public final String cast
public final String fixed
public final CPPType dependent
public final String representationImport
public final Class<?> rawType
public final boolean primitive
| Constructor Detail |
|---|
public CPPType(Type javaType)
| Method Detail |
|---|
public String getCastFromStreamable(String name)
public String getAsStreamable(String name)
public String getWithoutShared()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||