ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/SHAPES/SHAPE.hpp
(Generate patch)

Comparing trunk/SHAPES/SHAPE.hpp (file contents):
Revision 1299 by gezelter, Thu Jun 24 15:56:05 2004 UTC vs.
Revision 1300 by gezelter, Thu Jun 24 19:06:47 2004 UTC

# Line 16 | Line 16 | class SHAPE { (public)
16    void readSHAPEfile(const char*);
17  
18    char *getType() {return shapeType;}
19 <  void setType(char * name) {strcpy(shapeType, name);}
19 >  void setType(char * name) {shapeType = strdup(name);}
20  
21    vector<SHFunc*> getSigmaFuncs(void) {return sigmaFuncs;}
22    vector<SHFunc*> getSFuncs(void) {return sFuncs;}
# Line 33 | Line 33 | class SHAPE { (public)
33  
34    void findBegin( char* startText );  
35    int count_tokens(char *line, char *delimiters);  // doesn't belong here!
36 +  char *TrimSpaces(char *str);                     // doesn't belong here!
37 +  int isEndLine(char *line);                       // doesn't belong here!
38  
39 +
40    FILE *shapeFile;      
41  
42    char *shapeType;             // The name of the shape

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines