summaryrefslogtreecommitdiff
path: root/cad/plugins/NanoVision-1/include/Nanorex/Interface/NXMoleculeData.h
blob: ecd868375d8a2689231464b839328d4f8b2322b6 (plain)
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
26
27
28
29
30
31
32
// Copyright 2008 Nanorex, Inc.  See LICENSE file for details.

#ifndef NX_MOLECULE_H
#define NX_MOLECULE_H

#include <openbabel/generic.h>
#define NXMoleculeDataType OBGenericDataType::CustomData0
using namespace OpenBabel;

namespace Nanorex {


/* CLASS: NXMoleculeData */
/**
 * A set of Nanorex-specific data stored in OBMol objects.
 *
 * @ingroup ChemistryDataModel, NanorexInterface
 */
class NXMoleculeData : public OBGenericData {
	public:
		NXMoleculeData() { _type = NXMoleculeDataType; }
		void SetIdx(int idx) { _idx = idx; }
		unsigned int GetIdx() { return _idx; }
	
	private:
		unsigned int _idx;
};


} // Nanorex::

#endif