public class MappingsManager extends Object
| Constructor and Description |
|---|
MappingsManager(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMappings(Mappings other)
Add a mappings configuration bean to the actual context.
|
String |
escapeName(String name) |
ClassMapping |
get(Class<?> clazz) |
String |
getCppName(Class<?> clazz)
Return a valid C++ name for the class
clazz, by escaping reserved
words or by returning the name specified by the mapping or the
annotation. |
List<String> |
getNamespace(Class<?> clazz)
Return the final full qualified C++ name of the class.
|
void |
start() |
public MappingsManager(Context context)
public void start()
public void addMappings(Mappings other)
other - the mappings bean to addpublic List<String> getNamespace(Class<?> clazz)
public String getCppName(Class<?> clazz)
clazz, by escaping reserved
words or by returning the name specified by the mapping or the
annotation.public ClassMapping get(Class<?> clazz)
Copyright © 2014. All Rights Reserved.