ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libBASS/Component.hpp
Revision: 378
Committed: Fri Mar 21 17:42:12 2003 UTC (21 years, 3 months ago) by mmeineke
File size: 679 byte(s)
Log Message:
This commit was generated by cvs2svn to compensate for changes in r377,
which included commits to RCS files with non-trunk default branches.

File Contents

# Content
1 #ifndef __COMPONENT_H__
2 #define __COMPONENT_H__
3
4 class Component{
5
6 public:
7 Component();
8 ~Component();
9
10 int assignString( char* lhs, char* rhs, char** err );
11 int assignDouble( char* lhs, double rhs, char** err );
12 int assignInt( char* lhs, int rhs, char** err );
13 void startIndex( int* the_start_array, int n_elements );
14 char* checkMe( void );
15
16 int getNMol( void ) { return nMol; }
17 char* getType( void ) { return type; }
18
19 short int haveNMol( void ) { return have_nMol; }
20
21 private:
22
23
24 char type[100];
25 int nMol;
26 double molFraction;
27 int* start_array;
28 int n_start;
29
30 short int have_type, have_nMol, have_molFraction, have_start_array;
31 };
32
33 #endif