Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-10066

Provide utility function for wrapping operator<<

    Details

    • Story Points:
      3
    • Sprint:
      AP S18-2, AP S18-3
    • Team:
      Alert Production

      Description

      We frequently want to implement a class's __str__ or __repr__ methods in terms of its operator<<. The current approach has led to a fair amount of code duplication throughout the stack.

      Once a function template that takes a printable object and returns a string is available, explicit wrappers for operator<< should be rewritten to use it.

        Attachments

          Issue Links

            Activity

            krzys Krzysztof Findeisen created issue -
            krzys Krzysztof Findeisen made changes -
            Field Original Value New Value
            Epic Link DM-9627 [ 30674 ]
            krzys Krzysztof Findeisen made changes -
            Link This issue relates to DM-9869 [ DM-9869 ]
            krzys Krzysztof Findeisen made changes -
            Description We frequently want to implement a class's {{\_\_str\_\_}} or {{\_\_repr\_\_} methods in terms of its {{operator<<}}. The current approach has led to a fair amount of code duplication throughout the stack.

            Once a function that takes a printable object and returns a string is available, explicit wrappers for {{operator<<}} should be rewritten to use it.
            We frequently want to implement a class's {{\_\_str\_\_}} or {{\_\_repr\_\_}} methods in terms of its {{operator<<}}. The current approach has led to a fair amount of code duplication throughout the stack.

            Once a function that takes a printable object and returns a string is available, explicit wrappers for {{operator<<}} should be rewritten to use it.
            krzys Krzysztof Findeisen made changes -
            Description We frequently want to implement a class's {{\_\_str\_\_}} or {{\_\_repr\_\_}} methods in terms of its {{operator<<}}. The current approach has led to a fair amount of code duplication throughout the stack.

            Once a function that takes a printable object and returns a string is available, explicit wrappers for {{operator<<}} should be rewritten to use it.
            We frequently want to implement a class's {{\_\_str\_\_}} or {{\_\_repr\_\_}} methods in terms of its {{operator<<}}. The current approach has led to a fair amount of code duplication throughout the stack.

            Once a function template that takes a printable object and returns a string is available, explicit wrappers for {{operator<<}} should be rewritten to use it.
            krzys Krzysztof Findeisen made changes -
            Sprint Alert Production S17 - 4 [ 610 ]
            krzys Krzysztof Findeisen made changes -
            Rank Ranked higher
            krzys Krzysztof Findeisen made changes -
            Labels SciencePipelines pybind11 PairCoding SciencePipelines pybind11
            krzys Krzysztof Findeisen made changes -
            Sprint Alert Production S17 - 4 [ 610 ] Alert Production S17 - 5 [ 613 ]
            krzys Krzysztof Findeisen made changes -
            Sprint Alert Production S17 - 5 [ 613 ]
            krzys Krzysztof Findeisen made changes -
            Rank Ranked higher
            swinbank John Swinbank made changes -
            Epic Link DM-9627 [ 30674 ] DM-9155 [ 29718 ]
            krzys Krzysztof Findeisen made changes -
            Sprint AP S18-2 [ 677 ]
            krzys Krzysztof Findeisen made changes -
            Rank Ranked higher
            krzys Krzysztof Findeisen made changes -
            Sprint AP S18-2 [ 677 ]
            krzys Krzysztof Findeisen made changes -
            Rank Ranked lower
            krzys Krzysztof Findeisen made changes -
            Sprint AP S18-2 [ 677 ]
            krzys Krzysztof Findeisen made changes -
            Rank Ranked higher
            krzys Krzysztof Findeisen made changes -
            Rank Ranked lower
            krzys Krzysztof Findeisen made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            swinbank John Swinbank made changes -
            Sprint AP S18-2 [ 677 ] AP S18-2, AP S18-3 [ 677, 683 ]
            krzys Krzysztof Findeisen made changes -
            Reviewers Pim Schellart [ pschella ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            krzys Krzysztof Findeisen made changes -
            Rank Ranked higher
            pschella Pim Schellart [X] (Inactive) made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            krzys Krzysztof Findeisen made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            swinbank John Swinbank made changes -
            Epic Link DM-9155 [ 29718 ] DM-12728 [ 36327 ]

              People

              • Assignee:
                krzys Krzysztof Findeisen
                Reporter:
                krzys Krzysztof Findeisen
                Reviewers:
                Pim Schellart [X] (Inactive)
                Watchers:
                John Parejko, Krzysztof Findeisen, Pim Schellart [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel