clipper::CMiniMol Class Reference

MiniMol container. More...

#include <container_minimol.h>

Inheritance diagram for clipper::CMiniMol:
clipper::Container clipper::MiniMol clipper::MModel clipper::PropertyManager

List of all members.

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

Detailed Description

MiniMol container.

See clipper::MiniMol for method descriptions.


Constructor & Destructor Documentation

clipper::CMiniMol::CMiniMol ( Container parent,
const String  name = "" 
)

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.

Parameters:
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.


Member Function Documentation

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.

Parameters:
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().


The documentation for this class was generated from the following files:

Generated on 4 Jan 2010 for Clipper_minimol by  doxygen 1.6.1