#!/usr/bin/env python

from nanotechsoftware.base import *
from nanotechsoftware.chemistry import *
from nanotechsoftware.chemistry.framework import *
from nanotechsoftware.chemistry.core import *
from nanotechsoftware.chemistry.io import *

import os

mol = fromSmiles("c1ccccc1")



print "Atoms :"
for atom in CompositeIteratorFactory.create(Atom, mol):
    print atom.getIndex(), atom.getElement().getSymbol()

print "Bonds :"
for bond in CompositeIteratorFactory.create(Bond, mol):
    print bond.getOrder()


