Ignore:
Timestamp:
Oct 27, 2009, 8:54:44 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
8b6ee4
Parents:
2e6aa1
Message:

Begun with ticket #38 (make const what is const).

  • basically all changes to member function that now state that they do not change member attributes.
  • in molecule_template.hpp all member functions are declared const, as we only need start and end from molecule and these are never changed (lots of overloaded templates removed thereby).
  • Vector::Distance...() and ...DistanceSquared() are const now too
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/atom_particleinfo.cpp

    r2e6aa1 r94d0ad  
    2020};
    2121
     22ostream & operator << (ostream &ost, const ParticleInfo &a)
     23{
     24  ost << "[" << a.Name << "|" << &a << "]";
     25  return ost;
     26};
     27
     28ostream & ParticleInfo::operator << (ostream &ost) const
     29{
     30  ost << "[" << Name << "|" << this << "]";
     31  return ost;
     32};
     33
Note: See TracChangeset for help on using the changeset viewer.