def __str__(self):
        """String representation of the Parameter

        Output format is:`<class_name> full_name (len:X, `comment`): value`.
        If comment is the empty string, the comment is omitted.
        If the parameter is not explored the length is omitted.

        """
        if self.f_has_range():
            lenstr = 'len:%d' % self.f_get_range_length()
        else:
            lenstr = ''

        if self.v_comment:
            commentstr = '`%s`' % self.v_comment
        else:
            commentstr = ''

        if commentstr or lenstr:
            if commentstr and lenstr:
                combined_str = '%s, %s' % (lenstr, commentstr)
            elif commentstr:
                combined_str = commentstr
            elif lenstr:
                combined_str = lenstr
            else:
                raise RuntimeError('You shall not pass!')

            infostr = ' (%s)' % combined_str

        else:
            infostr = ''

        return_string = '%s %s%s' % (self.f_get_class_name(), self.v_full_name, infostr)

        if not self.f_is_empty():
            return_string += ': ' + self.f_val_to_str()

        return return_string
def __str__ ( self ) : if self . f_has_range ( ) : lenstr = 'len:%d' % self . f_get_range_length ( ) else : lenstr = '' if self . v_comment : commentstr = '`%s`' % self . v_comment else : commentstr = '' if commentstr or lenstr : if commentstr and lenstr : combined_str = '%s, %s' % ( lenstr , commentstr ) elif commentstr : combined_str = commentstr elif lenstr : combined_str = lenstr else : raise RuntimeError ( 'You shall not pass!' ) infostr = ' (%s)' % combined_str else : infostr = '' return_string = '%s %s%s' % ( self . f_get_class_name ( ) , self . v_full_name , infostr ) if not self . f_is_empty ( ) : return_string += ': ' + self . f_val_to_str ( ) return return_string
String representation of the Parameter

        Output format is:`<class_name> full_name (len:X, `comment`): value`.
        If comment is the empty string, the comment is omitted.
        If the parameter is not explored the length is omitted.