Ticket #99 (closed: fixed)

Opened 13 years ago

Last modified 5 years ago

Implement a ArrayProperty class

Reported by: Nick Draper Owned by: Russell Taylor
Priority: major Milestone: Iteration 6
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

This should be a templates class to accept doubles, ints and maybe strings (not if it causes extra trouble).

The property should parse string input seperating on commas to create the seperate elements. These then need to be cast and stored in an internal vector.

Once this is completed let Dickon know as he wnats to use this in his Rebin algorithm.

Change History

comment:1 Changed 13 years ago by Russell Taylor

  • Status changed from new to assigned
  • Owner set to Russell Taylor

comment:2 Changed 13 years ago by Russell Taylor

(In [768]) Added an ArrayProperty class. Can also directly have a PropertyWithValue of type std::vector<int/double/string> if preferred (although that's not as convenient to use with declareProperty). Re #99.

comment:3 Changed 13 years ago by Russell Taylor

(In [770]) We no longer do raw pointers to workspaces anyway. Re #99.

comment:4 Changed 13 years ago by Russell Taylor

(In [777]) Tests for ArrayProperty. Re #99.

comment:5 Changed 13 years ago by Nick Draper

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 947

Note: See TracTickets for help on using tickets.