CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CppAD::index_sort_element< Compare > Class Template Reference

Helper class used by index_sort. More...

Public Member Functions

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

Private Attributes

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

Detailed Description

template<class Compare>
class CppAD::index_sort_element< Compare >

Helper class used by index_sort.

Definition at line 93 of file index_sort.hpp.


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