clipper::MiniMol Class Reference

MiniMol lightweight coordinate model object. More...

#include <minimol.h>

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

List of all members.

Public Types

enum  MODE { UNIQUE, ANY }

Public Member Functions

 MiniMol ()
 null constructor
 MiniMol (const Spacegroup &spacegroup, const Cell &cell)
 constructor: from spacegroup and cell
void init (const Spacegroup &spacegroup, const Cell &cell)
 initialiser: from spacegroup and cell
const Cellcell () const
 get the cell
const Spacegroupspacegroup () const
 get the spacegroup
const MModelmodel () const
 explicitly get model
MModelmodel ()
 explicitly set model
bool is_null () const
 test for null model

Detailed Description

MiniMol lightweight coordinate model object.

A MiniMol object is a model (clipper::MModel) embedded in a crystal frame, i.e. with additional spacegroup and cell information.

The design of this object was inspired by and contributed to by Paul Emsley.


Constructor & Destructor Documentation

clipper::MiniMol::MiniMol ( const Spacegroup spacegroup,
const Cell cell 
)

constructor: from spacegroup and cell

The object is constructed with no atoms.

Parameters:
spacegroup the spacegroup.
cell the cell.

References init(), and clipper::message.


Member Function Documentation

void clipper::MiniMol::init ( const Spacegroup spacegroup,
const Cell cell 
)

initialiser: from spacegroup and cell

The object is initialised with no atoms.

Parameters:
spacegroup the spacegroup.
cell the cell.

Reimplemented in clipper::CMiniMol.

Referenced by clipper::CMiniMol::init(), and MiniMol().


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

Generated on 4 Jan 2010 for Clipper_minimol by  doxygen 1.6.1