#ifndef BRANCH_H
#define BRANCH_H

#ifndef ARBITRARY_ATOM_GROUP_H
#include "Arbitrary_atom_group.h"
#endif

#ifndef BRANCH_ITERATOR_H
#include "Branch_iterator.h"
#endif

namespace MM
{

class Branch : public Arbitrary_atom_group
{
    Branch_iterator     it_;
    bool                whole_molecule_;

public:
    explicit    Branch (Atom & root_atom, Atom & outside_atom);
    bool        is_a_whole_molecule () {return whole_molecule_;}
};

}//MM

#endif //BRANCH_H
