ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/generic_stamps/AtomStamp.cpp
(Generate patch)

Comparing trunk/mdtools/generic_stamps/AtomStamp.cpp (file contents):
Revision 11 by mmeineke, Tue Jul 9 18:40:59 2002 UTC vs.
Revision 175 by mmeineke, Thu Nov 14 22:00:39 2002 UTC

# Line 5 | Line 5
5  
6   #include "AtomStamp.hpp"
7  
8
8   AtomStamp::AtomStamp(){
9    
10    unhandled = NULL;
# Line 38 | Line 37 | void AtomStamp::assignString( char* lhs, char* rhs ){
37    have_orientation = 1;
38   }
39  
40 < void AtomStamp::assignString( char* lhs, char* rhs ){
40 > char* AtomStamp::assignString( char* lhs, char* rhs ){
41  
42    if( !strcmp( lhs, "type" ) ){
43      strcpy( type, rhs );
# Line 49 | Line 48 | void AtomStamp::assignString( char* lhs, char* rhs ){
48      else unhandled->add( lhs, rhs );
49      have_extras = 1;
50    }
51 +  return NULL;
52   }
53  
54 < void AtomStamp::assignDouble( char* lhs, double rhs ){
54 > char* AtomStamp::assignDouble( char* lhs, double rhs ){
55    
56    if( unhandled == NULL ) unhandled = new LinkedAssign( lhs, rhs );
57    else unhandled->add( lhs, rhs );
58    have_extras = 1;
59 +  return NULL;
60   }
61  
62 < void AtomStamp::assignInt( char* lhs, int rhs ){
62 > char* AtomStamp::assignInt( char* lhs, int rhs ){
63    
64    if( unhandled == NULL ) unhandled = new LinkedAssign( lhs, rhs );
65    else unhandled->add( lhs, rhs );
66    have_extras = 1;
67 +  return NULL;
68   }
69  
70   char* AtomStamp::checkMe( void ){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines