1. 27 Nov, 2014 2 commits
  2. 04 Dec, 2013 1 commit
  3. 16 Dec, 2009 1 commit
  4. 04 Nov, 2008 1 commit
  5. 08 Sep, 2008 1 commit
  6. 05 Jul, 2007 2 commits
  7. 15 Dec, 2006 1 commit
    • Andrea Valassi's avatar
      THIRD BIG CHANGE. · 7568a6b1
      Andrea Valassi authored
      As before, setValue("") is equivalent to setNull().
      Again, this is the ONLY special feature of strings.
      
      But this time, they both result in the variable being equal to ""
      and not null. Both data() and addressOfData will return values
      compatible with "", while isNull() will return false.
      
      Note in particular that wrapped attributes and attribute lists are
      reinterpreted in such a way that fields are considered equal to ""
      both if the corresponding attributes are null and if they are "".
      
      
      git-svn-id: file:///git/lcgcool.svndb/cool/trunk@8217 4525493e-7705-40b1-a816-d608a930855b
      7568a6b1
  8. 14 Dec, 2006 1 commit
  9. 11 Dec, 2006 1 commit
  10. 08 Dec, 2006 3 commits
  11. 07 Dec, 2006 3 commits
  12. 06 Dec, 2006 2 commits
    • Andrea Valassi's avatar
      The IRecord base class manages field names and indexes according to the · 5065099f
      Andrea Valassi authored
      record specification (the implementation of size, index and operator[]
      is inlined in IRecord and delegated to IRecordSpecification). It is up
      to the concrete derived class to implement field() and manage its data
      (e.g. within an AttributeList) in the appropriate way, in particular to
      validate data values against the relevant storage type constraints.
      
      Remove operators from derived classes, add method field() instead.
      
      
      git-svn-id: file:///git/lcgcool.svndb/cool/trunk@7896 4525493e-7705-40b1-a816-d608a930855b
      5065099f
    • Andrea Valassi's avatar
      Add comments: · db96c1fc
      Andrea Valassi authored
      The AttributeList must have AT LEAST all the fields required by the
      IRecordSpecification (with the correct name and storage type), but it
      may have more: it is reinterpreted according to the new specification.
      
      
      git-svn-id: file:///git/lcgcool.svndb/cool/trunk@7872 4525493e-7705-40b1-a816-d608a930855b
      db96c1fc
  13. 04 Dec, 2006 4 commits
    • Andrea Valassi's avatar
      1. · 5e8c018c
      Andrea Valassi authored
      Keep implicit conversion operator() to Attribute[List]
      only in the abstract IField and IRecord classes.
      Implement them in terms of attribute() and attributeList() methods.
      
      Enclose within #ifdef COOL13 onnly some code in IField and IRecord:
      the virtual attribute() and attributeList() methods = 0,
      and the operators implemented in terms of them.
      
      Keep in any case the attribute() and attributeList() methods
      in all concrete classes.
      
      In summary: if we remove backward compatibility extensions,
      we would only touch the abstract base classes IField and IRecord,
      which would then become AttributeList-free.
      The concrete classes may remain AttributeList-aware in all cases,
      since in any case they are defined as wrapper to Attribute[List]s!
      
      2.
      Move non-const methods of ConstFieldAdapter to private
      (or remove them if their presence is not requested by the base class).
      
      
      git-svn-id: file:///git/lcgcool.svndb/cool/trunk@7804 4525493e-7705-40b1-a816-d608a930855b
      5e8c018c
    • Andrea Valassi's avatar
      Remove clone() - previously commented out. · f3c1d42c
      Andrea Valassi authored
      
      git-svn-id: file:///git/lcgcool.svndb/cool/trunk@7803 4525493e-7705-40b1-a816-d608a930855b
      f3c1d42c
    • Andrea Valassi's avatar
      Move non-const methods of ConstRecordAdapter to private. · 3ef57186
      Andrea Valassi authored
      This makes it possible to catch additional problems at build time.
      
      
      git-svn-id: file:///git/lcgcool.svndb/cool/trunk@7801 4525493e-7705-40b1-a816-d608a930855b
      3ef57186
    • Andrea Valassi's avatar
      Rename [Const]Field as [Const]FieldAdapter. · c2259226
      Andrea Valassi authored
      Replace toOutputStream by print and printValue methods.
      Add operator<< consistently. Remove toString() method.
      
      Add IField::compareValue and use it to implement operator==.
      
      
      git-svn-id: file:///git/lcgcool.svndb/cool/trunk@7794 4525493e-7705-40b1-a816-d608a930855b
      c2259226
  14. 02 Dec, 2006 1 commit
  15. 01 Dec, 2006 1 commit