metro_2 v0.1.0 Metro2.Fields

This module defines all the field structs, which can be part of the segments. Further it contains methods to get or set values in the field stucts, which are abracting the access to the diskrete values.

Summary

Functions

This function gets the value in the field_struct in the segment struct, addressed by the parent_struct key

This function sets a new value in the field_struct in the segment struct, addressed by the parent_struct key

Functions

get(parent_struct, parent_struct_key)

This function gets the value in the field_struct in the segment struct, addressed by the parent_struct key

put(parent_struct, parent_struct_key, value)

This function sets a new value in the field_struct in the segment struct, addressed by the parent_struct key