CppAD: A C++ Algorithmic Differentiation Package  20130102
index_sort_element< Compare > Class Template Reference

Helper class used by index_sort. More...

List of all members.

Public Member Functions

bool operator< (const index_sort_element &other) const
 operator requried by std::sort
void set_key (const Compare &value)
 set the key for this element
void set_index (const size_t &index)
 set the index for this element
Compare get_key (void) const
 get the key for this element
size_t get_index (void) const
 get the index for this element

Private Attributes

Compare key_
 key used to determine position of this element
size_t index_
 index vlaue corresponding to this key

Detailed Description

template<class Compare>
class index_sort_element< Compare >

Helper class used by index_sort.

Definition at line 95 of file index_sort.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines