LBMSDMFields is a utility class for LBMSDMessage to collect a set
of fields. The intent of separating the set of fields from LBMSDMessage
is to encourage reuse of the field set.

C# |
public class LBMSDMFields : LBMSDM, ICloneable

All Members | Constructors | Methods | Fields | ||
Icon | Member | Description |
---|---|---|
![]() | LBMSDMFields()()() | Constructor for an empty field set. |
![]() | LBMSDMFields(LBMSDMFieldsAttribute) | Constructor for an empty field set. |
![]() | add(LBMSDMField) | Add an SDM field to the field set same name as a field already in the field set
|
![]() | Clone()()() | Get a copy of this object |
![]() | debug_level | Debug mask for SDM implementation. (Inherited from LBMSDM.) |
![]() | get(Int32) | Get a field by the index |
![]() | get_attr()()() | Get the field set attributes are associated with this message
A copy is returned
|
![]() | iterator()()() | Get the default iterator for this field set |
![]() | length()()() | Get the number of fields in the field set |
![]() | locate(String) | Get a field in the field set based on the name.
Note calling locate() many times on the same message is not optimal.
When processing multiple fields in a message, looping through by
index and comparing the name may be more efficient, eliminating
unnecessary string compares.
|
![]() | log(String) | Log an event. If debug level is set greater than 0, output to stderr (Inherited from LBMSDM.) |
![]() | remove(Int32) | Remove a field by specifying the index |
![]() | remove(String) | Remove a field by specifying the name |
![]() | set(LBMSDMField) | Overwrite/set an existing field based on the name |
![]() | set(LBMSDMField, Int32) | Overwrite/set an existing field based on the field set index |
![]() | set(LBMSDMField, Int32, Int32) | Overwrite/set an existing field based on the field set index and array element |
![]() | set_debug_level(Int32) | Set the debug level for processing this SDM message.
Currently all debugs go to standard out.
(Inherited from LBMSDM.) |
![]() | toDbgString()()() | Dump the internal representation of this field set which includes the fields. |
![]() | ToString()()() | Dump the string representation of this field set which includes the fields. (Overrides Object.ToString()()().) |