Classes | Namespaces | Defines | Functions
PlayaHandle.hpp File Reference

Go to the source code of this file.

Classes

class  Playa::ConstHandleTraits< X >
class  Playa::ConstHandleTraits< const X >
class  Playa::Handle< PointerType >

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 67 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 226 of file PlayaHandle.hpp.

Site Contact