Hi guys,
            I want to make a subclass of Avogadro::Molecule. Can I do that kind of association?

superclass: Molecule
subclass: CustomMolecule

Molecule *parent = gl->molecule();
CustomMolecule *child = parent; 

(gl is the GLWidget). I know this seems to be an easy question, but I face some problems and I am not so familiar with C++... Thanks,

Marc
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to