ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/types/CutoffGroupStamp.hpp
Revision: 1492
Committed: Fri Sep 24 16:27:58 2004 UTC (19 years, 9 months ago) by tim
File size: 842 byte(s)
Log Message:
change the #include in source files

File Contents

# Content
1 #ifndef __CUTOFFGROUPSTAMP_H__
2 #define __CUTOFFGROUPSTAMP_H__
3
4 #include "io/LinkedAssign.hpp"
5 #include "types/AtomStamp.hpp"
6
7
8 class CutoffGroupStamp{
9
10 public:
11 CutoffGroupStamp();
12 ~CutoffGroupStamp();
13
14 char* assignString( char* lhs, char* rhs );
15 char* assignDouble( char* lhs, double rhs );
16 char* assignInt( char* lhs, int rhs );
17 char* checkMe( void );
18
19 char* addMember( int atomIndex );
20 int getNMembers( void ) { return n_members; }
21 int getMember( int index ) { return members[index]; }
22
23 int haveExtras( void ) { return have_extras; }
24 LinkedAssign* getExtras( void ) { return unhandled; }
25
26 static char errMsg[500];
27 private:
28
29 int n_members;
30 int which;
31 short int have_members;
32
33 int* members;
34
35 LinkedAssign* unhandled; // the unhandled assignments
36 short int have_extras;
37 };
38
39 #endif