# TAttributeReader< T > Class Template Reference
[Shell Interfaces]

List of all members.

## Public Member Functions
| TAttributeReader (T &object, IShTokenStream *stream)
MCCOMErr | Read ()
MCCOMErr | ReadIndexed (IDType indexKeyword, int32 &index)
## Protected Attributes
T & | fObject
IShTokenStream * | fStream

## Detailed Description

### template<class T>
class TAttributeReader< T >

Helper object that allow you to read an object from a stream. The object must implement the method: boolean ReadAttribute(IShTokenStream* stream,IDType keyword).

## Constructor & Destructor Documentation

template<class T >

TAttributeReader< T >::TAttributeReader | ( | T & | object,
|  | IShTokenStream * | stream |
| ) |  |  | `[inline]`

## Member Function Documentation

template<class T >

MCCOMErr TAttributeReader< T >::Read | ( |  | ) | `[inline]`

template<class T >

MCCOMErr TAttributeReader< T >::ReadIndexed | ( | IDType | indexKeyword,
|  | int32 & | index |
| ) |  |  | `[inline]`

## Member Data Documentation

template<class T >

T& TAttributeReader< T >::fObject`[protected]`

template<class T >

IShTokenStream* TAttributeReader< T >::fStream`[protected]`

The documentation for this class was generated from the following file:

- IShTokenStream.h