Clipper
Public Member Functions
clipper::CXmap< T > Class Template Reference

Crystallographic map container. More...

#include <container_map.h>

Inheritance diagram for clipper::CXmap< T >:
clipper::Container clipper::Xmap< T > clipper::Xmap_base

List of all members.

Public Member Functions

 CXmap ()
 null constructor
 CXmap (Container &parent, const String name="")
 constructor: inherit spacegroup, cell and grid
void init (const Spacegroup &spacegroup, const Cell &cell, const Grid_sampling &grid_sampling)
 initialiser: supply or inherit spacegroup, cell and grid
void update ()
 hierarchical update

Detailed Description

template<class T>
class clipper::CXmap< T >

Crystallographic map container.

CXmap: This is a crystallographic map.


Constructor & Destructor Documentation

template<class T >
clipper::CXmap< T >::CXmap ( Container parent,
const String  name = "" 
)

constructor: inherit spacegroup, cell and grid

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:
parentAn object in the hierarchy (usually the parent of the new object).
nameThe path from parent to the new object (usually just the name of the new object).

References clipper::CXmap< T >::init().


Member Function Documentation

template<class T >
void clipper::CXmap< T >::init ( const Spacegroup spacegroup,
const Cell cell,
const Grid_sampling grid_sampling 
)

initialiser: supply or inherit spacegroup, cell and grid

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:
spacegroupThe spacegroup for the map.
nameThe cell for the map.
gridThe grid for the map.

Reimplemented from clipper::Xmap< T >.

References clipper::Grid_sampling::is_null(), clipper::Cell::is_null(), clipper::Spacegroup::is_null(), and clipper::Container::update().

Referenced by clipper::CXmap< T >::CXmap().

template<class T >
void clipper::CXmap< T >::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 clipper::Xmap_base::is_null(), and clipper::Container::update().


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