ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/io/DirectionalAtomTypesSectionParser.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/io/DirectionalAtomTypesSectionParser.cpp (file contents):
Revision 1785 by tim, Thu Nov 25 20:18:21 2004 UTC vs.
Revision 1789 by tim, Mon Nov 29 15:27:43 2004 UTC

# Line 51 | Line 51 | void DirectionalAtomTypesSectionParser::parseLine(Forc
51              int ident = ff.getNAtomType() + 1;
52              atomType->setIdent(ident);
53              atomType->setName(atomTypeName);
54 <            ff.addAtomType(atomTypeName, atomType)
54 >            ff.addAtomType(atomTypeName, atomType);
55          } else {
56 <            dAtomType = dynamic_cast<DirectionalAtom*>(atomType);
56 >            dAtomType = dynamic_cast<DirectionalAtomType*>(atomType);
57              if (dAtomType == NULL) {
58                  std::cerr << "DirectionalAtomTypesSectionParser:: Can not cast to DirectionalAtomType" << std::endl;                      
59              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines