position_t Struct Reference

CPP API: ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t Struct Reference
ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t Struct Reference

#include <ad.hpp>

Public Member Functions

const AD_TAPE_INT_progvarcounter () const
 
const AD_TAPE_INT_stackcounter () const
 
bool operator< (const position_t &other) const
 
bool operator== (const position_t &other) const
 
bool operator> (const position_t &other) const
 
 position_t ()
 

Private Member Functions

 position_t (const AD_TAPE_INT nstackcounter, const AD_TAPE_INT nprogvarcounter)
 

Private Attributes

AD_TAPE_INT progvarcounter
 
AD_TAPE_INT stackcounter
 

Friends

struct blob_tape
 

Constructor & Destructor Documentation

◆ position_t() [1/2]

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::position_t ( const AD_TAPE_INT  nstackcounter,
const AD_TAPE_INT  nprogvarcounter 
)
inlineprivate

◆ position_t() [2/2]

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::position_t ( )
inline

Member Function Documentation

◆ _progvarcounter()

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
const AD_TAPE_INT& ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::_progvarcounter ( ) const
inline

◆ _stackcounter()

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
const AD_TAPE_INT& ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::_stackcounter ( ) const
inline

◆ operator<()

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
bool ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::operator< ( const position_t other) const
inline

◆ operator==()

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
bool ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::operator== ( const position_t other) const
inline

◆ operator>()

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
bool ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::operator> ( const position_t other) const
inline

Friends And Related Function Documentation

◆ blob_tape

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
friend struct blob_tape
friend

Member Data Documentation

◆ progvarcounter

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
AD_TAPE_INT ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::progvarcounter
private

◆ stackcounter

template<class AD_TAPE_REAL , class AD_ADJOINT_REAL = AD_TAPE_REAL>
AD_TAPE_INT ad::internal::blob_tape< AD_TAPE_REAL, AD_ADJOINT_REAL >::position_t::stackcounter
private