public class Cpp98Util extends Object
| Constructor and Description |
|---|
Cpp98Util() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cpp98TypeName(PrimitiveType primitiveType)
Map the name of a
PrimitiveType to a C++98 primitive type name. |
static String |
formatByteOrderEncoding(ByteOrder byteOrder,
PrimitiveType primitiveType)
Return the Cpp98 formatted byte order encoding string to use for a given byte order and primitiveType
|
static String |
formatClassName(String str)
Format a String as a class name.
|
static String |
formatPropertyName(String str)
Format a String as a property name.
|
static String |
toLowerFirstChar(String str)
Lowercase the first character of a given String.
|
static String |
toUpperFirstChar(String str)
Uppercase the first character of a given String.
|
public static String cpp98TypeName(PrimitiveType primitiveType)
PrimitiveType to a C++98 primitive type name.primitiveType - to map.public static String toUpperFirstChar(String str)
str - to have the first character upper cased.public static String toLowerFirstChar(String str)
str - to have the first character upper cased.public static String formatPropertyName(String str)
str - to be formatted.public static String formatClassName(String str)
str - to be formatted.public static String formatByteOrderEncoding(ByteOrder byteOrder, PrimitiveType primitiveType)
Copyright © 2013 Real Logic Ltd. All Rights Reserved.