ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/libBASS/Component.hpp
Revision: 1334
Committed: Fri Jul 16 18:58:03 2004 UTC (19 years, 11 months ago) by gezelter
File size: 679 byte(s)
Log Message:
Initial import of OOPSE-1.0 source tree

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