GEOSX
Classes | Functions
KeyIndexT.hpp File Reference
#include <string>
#include <ostream>

Go to the source code of this file.

Classes

class  KeyIndexT< KEY_TYPE, INDEX_TYPE, INVALID_INDEX >
 

Functions

template<typename KEY_TYPE , typename INDEX_TYPE , int INVALID_INDEX>
std::ostream & operator<< (std::ostream &os, const KeyIndexT< KEY_TYPE, INDEX_TYPE, INVALID_INDEX > key)
 Print the KeyIndex to an output stream. More...
 

Function Documentation

◆ operator<<()

template<typename KEY_TYPE , typename INDEX_TYPE , int INVALID_INDEX>
std::ostream& operator<< ( std::ostream &  os,
const KeyIndexT< KEY_TYPE, INDEX_TYPE, INVALID_INDEX >  key 
)

Print the KeyIndex to an output stream.

Template Parameters
KEY_TYPEthe type of the key
INDEX_TYPEthe type of the index
INVALID_INDEXthe value of an invalid index
Parameters
osthe stream
keythe key to output
Returns
a reference to the stream os

Definition at line 151 of file KeyIndexT.hpp.