clang API Documentation

Public Types | Public Member Functions
clang::idx::Storing< handler_type > Class Template Reference

Helper for the Handler classes. Stores the objects into a vector. example: More...

#include <Handlers.h>

Inheritance diagram for clang::idx::Storing< handler_type >:
Inheritance graph
[legend]
Collaboration diagram for clang::idx::Storing< handler_type >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef StoreTy::const_iterator iterator

Public Member Functions

virtual void Handle (receiving_type Obj)
iterator begin () const
iterator end () const

Detailed Description

template<typename handler_type>
class clang::idx::Storing< handler_type >

Helper for the Handler classes. Stores the objects into a vector. example:

 Storing<TranslationUnitHandler> TURes;
 IndexProvider.GetTranslationUnitsFor(Entity, TURes);
 for (Storing<TranslationUnitHandler>::iterator
   I = TURes.begin(), E = TURes.end(); I != E; ++I) { ....

Definition at line 63 of file Handlers.h.


Member Typedef Documentation

template<typename handler_type >
typedef StoreTy::const_iterator clang::idx::Storing< handler_type >::iterator

Definition at line 73 of file Handlers.h.


Member Function Documentation

template<typename handler_type >
iterator clang::idx::Storing< handler_type >::begin ( ) const [inline]

Definition at line 74 of file Handlers.h.

template<typename handler_type >
iterator clang::idx::Storing< handler_type >::end ( ) const [inline]

Definition at line 75 of file Handlers.h.

template<typename handler_type >
virtual void clang::idx::Storing< handler_type >::Handle ( receiving_type  Obj) [inline, virtual]

Definition at line 69 of file Handlers.h.


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