PlayaHandle.hpp File Reference

Go to the source code of this file.


Classes

class  Playa::ConstHandleTraits< X >
 This traits class is used to extract the non-const version of a template argument. More...
class  Playa::ConstHandleTraits< const X >
 Specialization of CHT to types "const X". More...
class  Playa::Handle< PointerType >
 Class Playa::Handle provides a general implementation of the common features of reference-counted handles. More...

Namespaces

namespace  Playa
 Playa is a collection of high-level objects for linear algebra.

Defines

#define HANDLE_CTORS(handle, contents)
#define STREAM_OUT(handleType)

Functions

template<class PointerType >
std::ostream & Playa::operator<< (std::ostream &os, const Playa::Handle< PointerType > &h)


Define Documentation

#define HANDLE_CTORS ( handle,
contents   ) 

Value:

/** Empty ctor */ \
handle() : Playa::Handle<contents >() {;} \
  /** Construct a #handle with a raw pointer to a #contents */ \
  handle(Playa::Handleable<contents >* rawPtr) : Playa::Handle<contents >(rawPtr) {;} \
  /** Construct a #handle with a smart pointer to a #contents */ \
  handle(const Teuchos::RCP<contents >& smartPtr) : Playa::Handle<contents >(smartPtr){;}

Definition at line 30 of file PlayaHandle.hpp.

#define STREAM_OUT ( handleType   ) 

Value:

inline std::ostream& operator<<(std::ostream& os, const handleType& h) \
                        {h.print(os); return os;}

Definition at line 189 of file PlayaHandle.hpp.

Site Contact