45 #ifndef CLIPPER_CONTAINER_MAP
46 #define CLIPPER_CONTAINER_MAP
49 #include "container_types.h"
50 #include "nxmap_operator.h"
122 init( NullSpacegroup, NullCell, NullGrid_sampling );
136 const Cell* cp = &cell;
139 if ( sp->
is_null() ) sp = parent_of_type_ptr<const Spacegroup>();
140 if ( cp->
is_null() ) cp = parent_of_type_ptr<const Cell>();
141 if ( gp->
is_null() ) gp = parent_of_type_ptr<const Grid_sampling>();
143 if ( sp != NULL && cp != NULL && gp != NULL )
156 init( NullSpacegroup, NullCell, NullGrid_sampling );
190 const Cell* cp = &cell;
193 if ( cp->
is_null() ) cp = parent_of_type_ptr<const Cell>();
194 if ( gp->
is_null() ) gp = parent_of_type_ptr<const Grid_sampling>();
195 if ( !nxmap.
is_null() ) nxmap_ = &nxmap;
196 if ( !nxop.
is_null() ) nxop_ = nxop;
198 if ( cp != NULL && gp != NULL && nxmap_ != NULL )