Subversion Repository Public Repository

ChemEqBalancer

This repository has no backups
This repository's network speed is throttled to 100KB/sec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef MOLECULE_H
#define MOLECULE_H

#include <vector>
#include <string>

class Element;

class Molecule
{
  struct element_s_t {
    Element* _atom;
    int  _subscript;
  };
  typedef std::vector<element_s_t> element_s_t_v;
  element_s_t_v atoms;
public:
  Molecule(std::string element, int subscript = 1);
  void addAtom(std::string element, int subscript = 1);
  std::string getName();
protected:
private:
};

#endif // MOLECULE_H

Commits for ChemEqBalancer/Molecule.h

Diff revisions: vs.
Revision Author Commited Message
2 Shaun Mon 24 Jan, 2011 23:32:14 +0000