public class PackedFormatConverter extends NMLFormatConverterBase
Related Documentation: RCS Library, NML Programmers Guide (Java Version)
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
align_bytes |
static boolean |
auto_align |
boolean |
data_has_64bit_longs |
boolean |
l64_mode |
base_class_name, bytes_in_input_stream, bytes_in_input_stream_known, check_unsigneds, class_name, class_var_name, debug_on, decoding, diagnostics_mode, diagnostics_mode_string_max, first_format_error, first_update_error_occured, hide_errors, input_stream, input_string, input_string_tokenizer, msg_dict, msg_size, next_default, nfceci, output_stream, output_string_buffer, raw_data_size, save_var_names, updating_unsigned, use_string, var_name, var_name_listadd_array_indexes_to_name, always_update_cmd_msg, always_update_stat_msg, array_val, bufName, bytes_not_used_warning_given, classVarArrayIndex, cmd_msg_updated, error_in_update, error_in_update_string, msg_to_update, msg_type, sending_short, stat_msg_updated, tokens_not_used_warning_given, type_string| Constructor and Description |
|---|
PackedFormatConverter(boolean _l64_mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
align(int align_factor) |
byte[] |
convertMsgToRawData(NMLmsg _msg) |
void |
HandleErrorInUpdate(java.lang.Exception e) |
void |
start_updates() |
java.lang.String |
toString() |
boolean |
update(boolean x) |
byte |
update(byte x) |
void |
update(byte[] x,
int num_elements) |
char |
update(char x) |
void |
update(char[] x,
int num_elements) |
double |
update(double x) |
void |
update(double[] x,
int num_elements) |
float |
update(float x) |
void |
update(float[] x,
int num_elements) |
int |
update(int x) |
void |
update(int[] x,
int num_elements) |
long |
update(long x) |
void |
update(long[] x,
int num_elements) |
short |
update(short x) |
void |
update(short[] x,
int num_elements) |
void |
waste(int bytes_to_waste) |
add_to_output_string, beginBaseClass, beginClass, beginClassArrayElem, beginClassVar, check_type_info, convertMsgToRawData, convertMsgToString, convertRawDataToMsg, convertStringToMsg, endBaseClass, endClass, endClassArrayElem, endClassVar, get_decoding, get_diagnostics_mode_string_max, get_diagnostics_mode, get_length_of_unbounded, get_raw_data_size, get_token_count, get_use_string, GetMessageDictionary, getMessageFromInputStream, getPos, getVersionString, next_update_default, rewind, sendMsgToOutputStream, set_diagnostics_mode_string_max, set_diagnostics_mode, set_do_not_print_diag_overflow_err, SetBufName, SetErrorInUpdate, SetFormatConvertErrCallback, SetMessageDictionary, throw_away_token, update_attribute_enumeration_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_attribute_with_name, update_CMS_DATE, update_CMS_TIME, update_dla_length_with_name, update_enumeration_array_with_name, update_enumeration_with_name, update_ll_with_name, update_ll_with_name, update_ll, update_ll, update_pre_check, update_unbounded_attribute_with_name, update_unbounded_unsigned_with_name, update_unbounded_unsigned_with_name, update_unbounded_unsigned_with_name, update_unbounded_unsigned_with_name, update_unbounded_with_name, update_unbounded_with_name, update_unbounded_with_name, update_unbounded_with_name, update_unbounded_with_name, update_unbounded_with_name, update_unsigned_ll_with_name, update_unsigned_ll_with_name, update_unsigned_ll, update_unsigned_ll, update_unsigned_with_name, update_unsigned_with_name, update_unsigned_with_name, update_unsigned_with_name, update_unsigned_with_name, update_unsigned_with_name, update_unsigned_with_name, update_unsigned_with_name, update_unsigned_with_name, update_unsigned_with_name, update_unsigned, update_unsigned, update_unsigned, update_unsigned, update_unsigned, update_unsigned, update_unsigned, update_unsigned, update_unsigned, update_unsigned, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, update_with_name, updateset_array_val, set_classVarArrayIndexpublic static byte[] align_bytes
public static boolean auto_align
public boolean data_has_64bit_longs
public boolean l64_mode
public void HandleErrorInUpdate(java.lang.Exception e)
public java.lang.String toString()
toString in class NMLFormatConverterpublic void align(int align_factor)
throws java.lang.Exception
java.lang.Exceptionpublic void waste(int bytes_to_waste)
throws java.lang.Exception
java.lang.Exceptionpublic void start_updates()
start_updates in class NMLFormatConverterBasepublic boolean update(boolean x)
update in class NMLFormatConverterBasepublic byte update(byte x)
update in class NMLFormatConverterBasepublic void update(byte[] x,
int num_elements)
update in class NMLFormatConverterBasepublic char update(char x)
update in class NMLFormatConverterBasepublic void update(char[] x,
int num_elements)
update in class NMLFormatConverterBasepublic short update(short x)
update in class NMLFormatConverterBasepublic void update(short[] x,
int num_elements)
update in class NMLFormatConverterBasepublic int update(int x)
update in class NMLFormatConverterBasepublic void update(int[] x,
int num_elements)
update in class NMLFormatConverterBasepublic long update(long x)
update in class NMLFormatConverterBasepublic void update(long[] x,
int num_elements)
update in class NMLFormatConverterBasepublic float update(float x)
update in class NMLFormatConverterBasepublic void update(float[] x,
int num_elements)
update in class NMLFormatConverterBasepublic double update(double x)
update in class NMLFormatConverterBasepublic void update(double[] x,
int num_elements)
update in class NMLFormatConverterBasepublic byte[] convertMsgToRawData(NMLmsg _msg) throws java.lang.Exception
java.lang.Exception