All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Container classes

Classes that hold objects. More...

+ Collaboration diagram for Container classes:

Files

file  iterator.h
 A simple iterator adapter for STL containers.
 
file  typeInfoMap.h
 

Classes

class  TfIterator< T, Reverse >
 A simple iterator adapter for STL containers. More...
 
class  TfTypeInfoMap< VALUE >
 A map whose key is a const std::type_info&, or a string alias. More...
 

Macros

#define TF_FOR_ALL(iter, c)
 Macro for iterating over a container. More...
 
#define TF_REVERSE_FOR_ALL(iter, c)
 Macro for iterating over a container in reverse. More...
 

Functions

template<class T >
TfIterator< typename
std::remove_reference< T >
::type > 
TfMakeIterator (T &&container)
 Helper functions for creating TfIterator objects. More...
 

Detailed Description

Classes that hold objects.

Macro Definition Documentation

#define TF_FOR_ALL (   iter,
 
)

Macro for iterating over a container.

For any container c of type T, the following loop

* for (TfIterator<T> i = c.begin(); i; ++i) {
* ...
* }
*

is equivalent to

* TF_FOR_ALL(i, c) {
* ...
* }
*

Definition at line 390 of file iterator.h.

#define TF_REVERSE_FOR_ALL (   iter,
 
)

Macro for iterating over a container in reverse.

Operates like TF_FOR_ALL, but iterates the container in reverse order.

Definition at line 399 of file iterator.h.

Function Documentation

TfIterator<typename std::remove_reference<T>::type> TfMakeIterator ( T &&  container)

Helper functions for creating TfIterator objects.

Definition at line 359 of file iterator.h.