Go to the source code of this file.
Classes | |
| class | Sundance::ConstHandleTraits< X > |
| This traits class is used to extract the non-const version of a template argument. More... | |
| class | Sundance::ConstHandleTraits< const X > |
| Specialization of CHT to types "const X". More... | |
| class | Sundance::Handle< PointerType > |
| Class Sundance::Handle provides a general implementation of the common features of reference-counted handles. More... | |
Namespaces | |
| namespace | Sundance |
Defines | |
| #define | HANDLE_CTORS(handle, contents) |
| #define | STREAM_OUT(handleType) |
Functions | |
| template<class PointerType > | |
| std::ostream & | Sundance::operator<< (std::ostream &os, const Sundance::Handle< PointerType > &h) |
| #define HANDLE_CTORS | ( | handle, | |
| contents | |||
| ) |
/** Empty ctor */ \ handle() : Sundance::Handle<contents >() {;} \ /** Construct a #handle with a raw pointer to a #contents */ \ handle(Sundance::Handleable<contents >* rawPtr) : Sundance::Handle<contents >(rawPtr) {;} \ /** Construct a #handle with a smart pointer to a #contents */ \ handle(const Teuchos::RCP<contents >& smartPtr) : Sundance::Handle<contents >(smartPtr){;}
Definition at line 54 of file SundanceHandle.hpp.
| #define STREAM_OUT | ( | handleType | ) |
inline std::ostream& operator<<(std::ostream& os, const handleType& h) \ {h.print(os); return os;}
Definition at line 290 of file SundanceHandle.hpp.