FreePOOMA  2.4.1
Classes | Functions
AttributeWrapper.h File Reference

AttributeWrapper<T> is a subclass of Attribute that implements the basic Attribute interface by passing on the operations in the interface to an object of type T that AttributeWrapper wraps. More...

#include "Particles/Attribute.h"
#include "Utilities/Inform.h"
#include "Utilities/PAssert.h"
#include <iostream>
#include <fstream>
Include dependency graph for AttributeWrapper.h:
This graph shows which files directly or indirectly include this file:

Classes

class  AttributeWrapper< T >
 AttributeWrapper<T> is a subclass of the abstract base class Attribute. More...

Functions

template<class T >
std::ostream & operator<< (std::ostream &o, const AttributeWrapper< T > &attrib)

Detailed Description

AttributeWrapper<T> is a subclass of Attribute that implements the basic Attribute interface by passing on the operations in the interface to an object of type T that AttributeWrapper wraps.

This is basically a standard external polymorphism mechanism for objects of various types, for example for wrapping DynamicArray objects.


Function Documentation

template<class T >
std::ostream& operator<< ( std::ostream &  o,
const AttributeWrapper< T > &  attrib 
)