ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType > Struct Template Reference

Common compile-time interface for operation, location, value, and Taylor tape buffers. More...

#include <infotype.h>

Public Types

using value_type = ValueType
 
using StatEntries = typename BufferContext::StatEntries
 

Static Public Member Functions

static void ensureReverseReadable (BufferContext &, size_t)
 
static long reverseSeekOffset (const BufferContext &context, size_t blockSize)
 
static void updateBufferStatsForward (BufferContext &context, size_t blockSize)
 
static void updateBufferStatsReverse (BufferContext &context, size_t blockSize)
 
static void updateBufferPositionForward (BufferContext &context)
 
static void updateBufferPositionReverse (BufferContext &context, size_t blockSize)
 
static void prepareForwardPosition (BufferContext &context, size_t)
 

Static Public Attributes

static constexpr bool removeExistingBeforeWrite = true
 
static constexpr const char * openWriteMode = "wb"
 

Detailed Description

template<class Derived, class BufferContext, typename ValueType>
struct ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >

Common compile-time interface for operation, location, value, and Taylor tape buffers.

Derived adapters provide the format-specific buffer, counters, and I/O policy while this base supplies the shared cursor operations.

Member Typedef Documentation

◆ StatEntries

template<class Derived , class BufferContext , typename ValueType >
using ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::StatEntries = typename BufferContext::StatEntries

◆ value_type

template<class Derived , class BufferContext , typename ValueType >
using ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::value_type = ValueType

Member Function Documentation

◆ ensureReverseReadable()

template<class Derived , class BufferContext , typename ValueType >
static void ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::ensureReverseReadable ( BufferContext &  ,
size_t   
)
inlinestatic

◆ prepareForwardPosition()

template<class Derived , class BufferContext , typename ValueType >
static void ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::prepareForwardPosition ( BufferContext &  context,
size_t   
)
inlinestatic

◆ reverseSeekOffset()

template<class Derived , class BufferContext , typename ValueType >
static long ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::reverseSeekOffset ( const BufferContext &  context,
size_t  blockSize 
)
inlinestatic

◆ updateBufferPositionForward()

template<class Derived , class BufferContext , typename ValueType >
static void ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::updateBufferPositionForward ( BufferContext &  context)
inlinestatic

◆ updateBufferPositionReverse()

template<class Derived , class BufferContext , typename ValueType >
static void ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::updateBufferPositionReverse ( BufferContext &  context,
size_t  blockSize 
)
inlinestatic

◆ updateBufferStatsForward()

template<class Derived , class BufferContext , typename ValueType >
static void ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::updateBufferStatsForward ( BufferContext &  context,
size_t  blockSize 
)
inlinestatic

◆ updateBufferStatsReverse()

template<class Derived , class BufferContext , typename ValueType >
static void ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::updateBufferStatsReverse ( BufferContext &  context,
size_t  blockSize 
)
inlinestatic

Member Data Documentation

◆ openWriteMode

template<class Derived , class BufferContext , typename ValueType >
constexpr const char* ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::openWriteMode = "wb"
staticconstexpr

◆ removeExistingBeforeWrite

template<class Derived , class BufferContext , typename ValueType >
constexpr bool ADOLC::detail::InfoAdapter< Derived, BufferContext, ValueType >::removeExistingBeforeWrite = true
staticconstexpr

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