~ben-b-boyer/ptools/readPDB

« back to all changes in this revision

Viewing changes to basetypes.h

  • Committer: Adrien Saladin
  • Date: 2010-03-12 22:38:02 UTC
  • mfrom: (426.2.2 ptools)
  • Revision ID: adrien@saladin.fr-20100312223802-iawp0u0ejkrn0v9a
merging fixes from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
    }
153
153
 
154
154
 
155
 
    std::string str()
 
155
    std::string str() const
156
156
    {
157
157
        std::ostringstream oss;
158
158
        for (int r=0; r<m_rows; r++)
174
174
       return out;
175
175
    }
176
176
 
177
 
    void Print()
 
177
    void Print() const
178
178
    {
179
179
       std::cout << str();
180
180
    }