|
Clipper
|
Resolution container. More...
#include <container_types.h>
Public Member Functions | |
| CResolution (const String name="", const Resolution &resol=NullResolution) | |
| constructor: make null object or top object in tree | |
| CResolution (Container &parent, const String name="", const Resolution &resol=NullResolution) | |
| constructor: make child object | |
| void | init (const Resolution &resolution_) |
| initialiser: from Resolution More... | |
Public Member Functions inherited from clipper::Container | |
| Container (const String name="") | |
| constructor: make null object or top object in a tree | |
| Container (Container &parent, const String &path) | |
| constructor: from any other member and a relative path | |
| virtual void | update () |
| update: hierarchical content update function | |
| String | path () const |
| get the path of this tree object | |
| String | name () const |
| get the name of this tree object | |
| void | set_name (const String &name) |
| set the name of this tree object | |
| bool | is_destroyed_with_parent () const |
| is this object to be destroyed when parent is destroyed? | |
| void | set_destroyed_with_parent (const bool d=true) |
| set this object to be destroyed when parent is destroyed | |
| void | move (const String &path) |
| 'move' method moves this object to somewhere else in the hierarchy | |
| bool | has_parent () const |
| test if this object has a parent | |
| const Container & | parent () const |
| get the parent of this object | |
| Container & | parent () |
| get the parent of this object | |
| int | num_children () const |
| return number of children | |
| const Container & | child (const int &i) const |
| get the i'th child of this object | |
| Container & | child (const int &i) |
| get the i'th child of this object | |
| const Container & | ultimate_parent () const |
| get the ultimate parent of this object - the top of the tree | |
| Container & | ultimate_parent () |
| get the ultimate parent of this object - the top of the tree | |
| Container * | parent_ptr () |
| get the parent of this object (NULL on fail) | |
| template<class T > | |
| T * | parent_of_type_ptr () |
| search up the tree for a parent of the specified type (NULL on fail) | |
| Container * | find_path_ptr (const String &path) |
| find an object using a directory-like path (NULL on fail) | |
| virtual | ~Container () |
| destructor: virtual | |
| void | debug () |
Public Member Functions inherited from clipper::Resolution | |
| Resolution () | |
| null constructor | |
| Resolution (const ftype &resol_) | |
| constructor: from ftype More... | |
| void | init (const ftype &resol_) |
| initialiser: from ftype More... | |
| const ftype & | limit () const |
| get resolution limit More... | |
| ftype | invresolsq_limit () const |
| get invresolsq limit More... | |
| bool | is_null () const |
| test if value has been initialised More... | |
Resolution container.
CResolution: This has a name and a resolution. It overrides the base resolution for any objects below it.
| void clipper::CResolution::init | ( | const Resolution & | resolution_ | ) |
initialiser: from Resolution
The object is initialised, and children are updated.
| resolution_ | The value to give to the contained object. |
1.8.7