optional_copy Class Template Reference

Optional allocation of value with new, with value-copy semantics. More...

#include <optional_copy.h>

List of all members.

Public Member Functions

 optional_copy (optional_copy const &other)
optional_copyoperator= (optional_copy const &other)
 optional_copy (ValueType const &value)
optional_copyoperator= (ValueType const &value)
void release ()
ValueType * get ()
ValueType const * get () const
ValueType * operator-> ()
ValueType const * operator-> () const
ValueType::value_type & operator[] (typename ValueType::size_type const &i)
ValueType::value_type const & operator[] (typename ValueType::size_type const &i) const


Detailed Description

template<typename ValueType>
class scitbx::optional_copy< ValueType >

Optional allocation of value with new, with value-copy semantics.
The documentation for this class was generated from the following file:

Generated on Tue Sep 1 17:12:35 2009 for cctbx by  doxygen 1.5.6