Changes in / [b9b604:bdedb1]
- Location:
- src
- Files:
-
- 10 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
rb9b604 rbdedb1 50 50 51 51 52 PARSERSOURCE = Parser/ChangeTracker.cpp Parser/FormatParser.cpp Parser/TremoloParser.cpp Parser/XyzParser.cpp53 PARSERHEADER = Parser/ChangeTracker.hpp Parser/FormatParser.hpp Parser/TremoloParser.hpp Parser/XyzParser.hpp54 55 52 PATTERNSOURCE = Patterns/Observer.cpp 56 53 PATTERNHEADER = Patterns/Cacheable.hpp \ … … 101 98 ${ATOMSOURCE} \ 102 99 ${PATTERNSOURCE} \ 103 ${PARSERSOURCE} \104 100 ${UISOURCE} \ 105 101 ${DESCRIPTORSOURCE} \ … … 144 140 ${ANALYSISHEADER} \ 145 141 ${ATOMHEADER} \ 146 ${PARSERHEADER} \147 142 ${PATTERNHEADER} \ 148 143 ${UIHEADER} \ -
src/atom_bondedparticle.cpp
rb9b604 rbdedb1 74 74 *BondFile << nr << "\t" << (*Runner)->GetOtherAtom(this)->nr << "\n"; 75 75 }; 76 77 /**78 * Adds a bond between this bonded particle and another. Does nothing if this79 * bond already exists.80 *81 * \param bonding partner82 */83 void BondedParticle::addBond(BondedParticle* Partner) {84 if (IsBondedTo(Partner)) {85 return;86 }87 88 bond* newBond = new bond((atom*) this, (atom*) Partner, 1, 0);89 RegisterBond(newBond);90 Partner->RegisterBond(newBond);91 }92 76 93 77 /** Puts a given bond into atom::ListOfBonds. -
src/atom_bondedparticle.hpp
rb9b604 rbdedb1 37 37 virtual ~BondedParticle(); 38 38 39 void addBond(BondedParticle* Partner);40 39 bool RegisterBond(bond *Binder); 41 40 bool UnregisterBond(bond *Binder); -
src/atom_particleinfo.cpp
rb9b604 rbdedb1 16 16 nr(pointer->nr), 17 17 Name(pointer->Name) 18 { 19 if (Name == NULL) 20 Name = " "; 21 } 18 {} 22 19 23 20 -
src/bond.cpp
rb9b604 rbdedb1 15 15 /** Empty Constructor for class bond. 16 16 */ 17 bond::bond() 18 : leftatom(NULL), rightatom(NULL), previous(NULL), next(NULL), HydrogenBond(0), 19 BondDegree(0), nr(-1), Cyclic(false), Type(Undetermined), Used(white) 17 bond::bond() : leftatom(NULL), rightatom(NULL), previous(NULL), next(NULL), HydrogenBond(0), BondDegree(0), nr(-1), Cyclic(false), Type(Undetermined), Used(white) 20 18 { 21 19 }; … … 27 25 * \param number increasing index 28 26 */ 29 bond::bond(atom *left, atom *right, const int degree, const int number) 30 : leftatom(left), rightatom(right), previous(NULL), next(NULL), HydrogenBond(0), 31 BondDegree(degree), nr(number), Cyclic(false), Type(Undetermined), Used(white) 27 bond::bond(atom *left, atom *right, const int degree, const int number) : leftatom(left), rightatom(right), previous(NULL), next(NULL), HydrogenBond(0), BondDegree(degree), nr(number), Cyclic(false), Type(Undetermined), Used(white) 32 28 { 33 29 if ((left != NULL) && (right != NULL)) { -
src/unittests/Makefile.am
rb9b604 rbdedb1 32 32 PlaneUnittest \ 33 33 ObserverTest \ 34 ParserUnitTest \35 34 SingletonTest \ 36 35 StackClassUnitTest \ … … 74 73 PlaneUnittest.cpp \ 75 74 ObserverTest.cpp \ 76 ParserUnitTest.cpp \77 75 SingletonTest.cpp \ 78 76 stackclassunittest.cpp \ … … 206 204 AtomDescriptorTest_LDADD = ${ALLLIBS} 207 205 208 ParserUnitTest_SOURCES = UnitTestMain.cpp ParserUnitTest.cpp ParserUnitTest.hpp209 ParserUnitTest_LDADD = ${ALLLIBS}210 211 206 manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp 212 207 manipulateAtomsTest_LDADD = ${ALLLIBS} -
src/unittests/SingletonTest.cpp
rb9b604 rbdedb1 52 52 count1++; 53 53 } 54 // explicit copy constructor to catch if th isis ever called54 // explicit copy constructor to catch if thsi is ever called 55 55 SingletonStub2(const SingletonStub2&){ 56 56 CPPUNIT_FAIL ( "Copy constructor of Singleton called" );
Note:
See TracChangeset
for help on using the changeset viewer.