Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SH::storage_trait< T > Struct Template Reference

A type trait class that determines storage type used for T in a ShManipulator. There must be an automatic conversion from T to StorageType or an applicable copy constructor. The storage type also must be responsible for its own memory management as the code often uses shallow copies of ranges/range vectors. More...

#include <ShManipulator.hpp>

List of all members.

Public Types

typedef T StorageType


Detailed Description

template<typename T>
struct SH::storage_trait< T >

A type trait class that determines storage type used for T in a ShManipulator. There must be an automatic conversion from T to StorageType or an applicable copy constructor. The storage type also must be responsible for its own memory management as the code often uses shallow copies of ranges/range vectors.

The only function that needs to be added after adding a new storage type is the OffsetRange::absIndex function in ShManipulator.cpp. This converts the storage type index into an absolute integer index.

Definition at line 48 of file ShManipulator.hpp.


The documentation for this struct was generated from the following file:
Generated on Mon Jan 24 18:38:13 2005 for Sh by  doxygen 1.4.1