Ticket #54 (closed: fixed)

Opened 13 years ago

Last modified 5 years ago

Create a Properties class based on the Gaudi PropertyWithValue implementation

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

Description (last modified by Nick Draper) (diff)

Create a Properties class based on the Gaudi PropertyWithValue implementation Look at GAUDI http://proj-gaudi.web.cern.ch/proj-gaudi/releases/v19r3/doxygen/class_property_with_value.html

The property class should include the following methos (many more may be taken from GAUDI)

  • string name; the property name
  • <T> operator=(),to return the value (we should support int double and string as a minimum)
  • <T> operator= ( const TYPE & value ) to set the value
  • bool isDefault(); if the value held has been set by the default value of the class
  • bool isValid(); true if the property has a valid value.

Change History

comment:1 Changed 13 years ago by Nick Draper

  • Description modified (diff)

comment:2 Changed 13 years ago by Nick Draper

  • Owner set to Russell Taylor

Thinking again we need to consider a none temaplated way of doing this so that these can be accessed from Python.

comment:3 Changed 13 years ago by Russell Taylor

  • Status changed from new to assigned

comment:4 Changed 13 years ago by Russell Taylor

(In [304]) First version of property classes (based on Gaudi). Re #54.

comment:5 Changed 13 years ago by Russell Taylor

(In [305]) Renamed Property.h header file in Geometry because it clashes with new Property header in Kernel. As far as I can tell it's not used at the moment. Re #54.

comment:6 Changed 13 years ago by Russell Taylor

(In [307]) Completed the tests on PropertyWithValue, plus small modifications in class itself. Re #54.

comment:7 Changed 13 years ago by Russell Taylor

(In [322]) Added a property collection. Re #54.

comment:8 Changed 13 years ago by Russell Taylor

(In [332]) Algorithms now use the PropertyManager class. Re #54.

comment:9 Changed 13 years ago by Russell Taylor

(In [334]) Help the tests run on Windows. Re #54.

comment:10 Changed 13 years ago by Russell Taylor

(In [347]) Improved efficiency of PropertyManager. Re #54.

comment:11 Changed 13 years ago by Russell Taylor

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

comment:12 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 902

Note: See TracTickets for help on using tickets.