rcs.nml
Class XDRFormatConverter
java.lang.Object
rcs.nml.NMLFormatConverter
rcs.nml.NMLFormatConverterBase
rcs.nml.XDRFormatConverter
public class XDRFormatConverter
- extends NMLFormatConverterBase
The XDRFormatConverter converts NML message classes to XDR.
XDR stands for eXternal Data Representation.
Most users should not use it directly.
Related Documentation:
RCS Library, NML Programmers Guide (Java Version)
Fields inherited from class rcs.nml.NMLFormatConverterBase |
base_class_name, bytes_in_input_stream, bytes_in_input_stream_known, check_unsigneds, class_name, class_var_name, 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_list |
Fields inherited from class rcs.nml.NMLFormatConverter |
add_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 |
Method Summary |
void |
align(int align_factor)
|
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)
|
Methods inherited from class rcs.nml.NMLFormatConverterBase |
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, 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, start_updates, 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_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_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, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
align_bytes
public static byte[] align_bytes
auto_align
public static boolean auto_align
debug_on
public static boolean debug_on
XDRFormatConverter
public XDRFormatConverter()
toString
public java.lang.String toString()
- Overrides:
toString
in class NMLFormatConverter
align
public void align(int align_factor)
throws java.lang.Exception
- Throws:
java.lang.Exception
waste
public void waste(int bytes_to_waste)
throws java.lang.Exception
- Throws:
java.lang.Exception
update
public boolean update(boolean x)
- Overrides:
update
in class NMLFormatConverterBase
update
public byte update(byte x)
- Specified by:
update
in class NMLFormatConverterBase
update
public void update(byte[] x,
int num_elements)
- Specified by:
update
in class NMLFormatConverterBase
update
public char update(char x)
- Specified by:
update
in class NMLFormatConverterBase
update
public void update(char[] x,
int num_elements)
- Specified by:
update
in class NMLFormatConverterBase
update
public short update(short x)
- Specified by:
update
in class NMLFormatConverterBase
update
public void update(short[] x,
int num_elements)
- Specified by:
update
in class NMLFormatConverterBase
update
public int update(int x)
- Specified by:
update
in class NMLFormatConverterBase
update
public void update(int[] x,
int num_elements)
- Specified by:
update
in class NMLFormatConverterBase
update
public long update(long x)
- Specified by:
update
in class NMLFormatConverterBase
update
public void update(long[] x,
int num_elements)
- Specified by:
update
in class NMLFormatConverterBase
update
public float update(float x)
- Specified by:
update
in class NMLFormatConverterBase
update
public void update(float[] x,
int num_elements)
- Specified by:
update
in class NMLFormatConverterBase
update
public double update(double x)
- Specified by:
update
in class NMLFormatConverterBase
update
public void update(double[] x,
int num_elements)
- Specified by:
update
in class NMLFormatConverterBase