Changes in src/atom.hpp [d74077:0ba410]
- File:
-
- 1 edited
-
src/atom.hpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/atom.hpp
rd74077 r0ba410 27 27 #include "atom_particleinfo.hpp" 28 28 #include "atom_trajectoryparticle.hpp" 29 #include " TesselPoint.hpp"29 #include "tesselation.hpp" 30 30 #include "types.hpp" 31 31 … … 42 42 * Class incorporates position, type 43 43 */ 44 class atom : public T rajectoryParticle, public GraphNode, public BondedParticle, public TesselPoint{44 class atom : public TesselPoint, public TrajectoryParticle, public GraphNode, public BondedParticle, public virtual ParticleInfo, public virtual AtomInfo { 45 45 friend atom* NewAtom(atomId_t); 46 46 friend void DeleteAtom(atom*); … … 52 52 53 53 bool OutputIndexed(ofstream * const out, const int ElementNo, const int AtomNo, const char *comment = NULL) const; 54 bool OutputArrayIndexed(ostream * const out, const int *ElementNo, int *AtomNo, const char *comment = NULL) const;54 bool OutputArrayIndexed(ostream * const out,const enumeration<const element*>&, int *AtomNo, const char *comment = NULL) const; 55 55 bool OutputXYZLine(ofstream *out) const; 56 56 bool OutputTrajectory(ofstream * const out, const int *ElementNo, int *AtomNo, const int step) const; … … 61 61 62 62 void EqualsFather ( const atom *ptr, const atom **res ) const; 63 bool isFather(const atom *ptr); 63 64 void CorrectFather(); 64 65 atom *GetTrueFather(); … … 93 94 void removeFromMolecule(); 94 95 95 // Output operator96 std::ostream & operator << (std::ostream &ost) const;97 98 96 protected: 99 97 … … 122 120 123 121 /** 124 * Global output operator for class atom.125 */126 std::ostream & operator << (std::ostream &ost, const atom &_atom);127 128 /**129 122 * internal method used by the world. Do not use if you don't know what you are doing. 130 123 * You might get burned...
Note:
See TracChangeset
for help on using the changeset viewer.
