#include <container_minimol.h>
Public Member Functions | |
CMiniMol () | |
null constructor | |
CMiniMol (Container &parent, const String name="") | |
constructor: inherit spacegroup, cell | |
void | init (const Spacegroup &spacegroup, const Cell &cell) |
initialiser: supply or inherit spacegroup, cell | |
void | update () |
hierarchical update |
MiniMol container.
See clipper::MiniMol for method descriptions.
constructor: inherit spacegroup, cell
The object is constructed at the given location in the hierarchy. An attempt is made to initialise the object using information from its parents in the hierarchy.
parent | An object in the hierarchy (usually the parent of the new object). | |
name | The path from parent to the new object (usually just the name of the new object). |
References init(), clipper::NullCell, and clipper::NullSpacegroup.
void clipper::CMiniMol::init | ( | const Spacegroup & | spacegroup, | |
const Cell & | cell | |||
) |
initialiser: supply or inherit spacegroup, cell
An attempt is made to initialise the object using information from the supplied parameters, or if they are Null, from its parents in the hierarchy.
spacegroup | The spacegroup for the model. | |
name | The cell for the model. |
Reimplemented from clipper::MiniMol.
References clipper::MiniMol::init(), clipper::Cell::is_null(), clipper::Spacegroup::is_null(), and update().
Referenced by CMiniMol(), and update().
void clipper::CMiniMol::update | ( | ) | [virtual] |
hierarchical update
Hierarchical update. If this object is uninitialised, an attempt is made to initialise the object using information from its parents in the hierarchy. The childen of the object are then updated.
Reimplemented from clipper::Container.
References init(), clipper::MiniMol::is_null(), clipper::NullCell, and clipper::NullSpacegroup.
Referenced by init().