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::ValInfo< BufferContext, EType > Struct Template Reference

Adapter for the values tape (val tape). More...

#include <infotype.h>

Inheritance diagram for ADOLC::detail::ValInfo< BufferContext, EType >:
Inheritance graph
[legend]
Collaboration diagram for ADOLC::detail::ValInfo< BufferContext, EType >:
Collaboration graph
[legend]

Public Types

using Self = ValInfo< BufferContext, EType >
 
using Base = InfoAdapter< Self, BufferContext, double >
 
using value_type = typename Base::value_type
 
using StatEntries = typename Base::StatEntries
 
- Public Types inherited from ADOLC::detail::InfoAdapter< ValInfo< BufferContext, EType >, BufferContext, double >
using value_type = double
 
using StatEntries = typename BufferContext::StatEntries
 

Static Public Member Functions

static ValBuffer & getBuffer (BufferContext &context)
 
static const ValBuffer & getBuffer (const BufferContext &context)
 
static void updateBufferPositionForward (BufferContext &context)
 
static void updateBufferPositionReverse (BufferContext &context, size_t blockSize)
 
- Static Public Member Functions inherited from ADOLC::detail::InfoAdapter< ValInfo< BufferContext, EType >, BufferContext, double >
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 StatEntries num = BufferContext::NUM_VALUES
 
static constexpr StatEntries fileAccess = BufferContext::VAL_FILE_ACCESS
 
static constexpr StatEntries bufferSize = BufferContext::VAL_BUFFER_SIZE
 
static constexpr size_t fileIndex = 2
 
static constexpr EType error = EType::VAL_READ_FAILED
 
static constexpr size_t chunkSize = ADOLC_IO_CHUNK_SIZE / sizeof(value_type)
 
- Static Public Attributes inherited from ADOLC::detail::InfoAdapter< ValInfo< BufferContext, EType >, BufferContext, double >
static constexpr bool removeExistingBeforeWrite
 
static constexpr const char * openWriteMode
 

Detailed Description

template<class BufferContext, class EType>
struct ADOLC::detail::ValInfo< BufferContext, EType >

Adapter for the values tape (val tape).

Member Typedef Documentation

◆ Base

template<class BufferContext , class EType >
using ADOLC::detail::ValInfo< BufferContext, EType >::Base = InfoAdapter<Self, BufferContext, double>

◆ Self

template<class BufferContext , class EType >
using ADOLC::detail::ValInfo< BufferContext, EType >::Self = ValInfo<BufferContext, EType>

◆ StatEntries

template<class BufferContext , class EType >
using ADOLC::detail::ValInfo< BufferContext, EType >::StatEntries = typename Base::StatEntries

◆ value_type

template<class BufferContext , class EType >
using ADOLC::detail::ValInfo< BufferContext, EType >::value_type = typename Base::value_type

Member Function Documentation

◆ getBuffer() [1/2]

template<class BufferContext , class EType >
static ValBuffer & ADOLC::detail::ValInfo< BufferContext, EType >::getBuffer ( BufferContext &  context)
inlinestatic

◆ getBuffer() [2/2]

template<class BufferContext , class EType >
static const ValBuffer & ADOLC::detail::ValInfo< BufferContext, EType >::getBuffer ( const BufferContext &  context)
inlinestatic

◆ updateBufferPositionForward()

template<class BufferContext , class EType >
static void ADOLC::detail::ValInfo< BufferContext, EType >::updateBufferPositionForward ( BufferContext &  context)
inlinestatic

◆ updateBufferPositionReverse()

template<class BufferContext , class EType >
static void ADOLC::detail::ValInfo< BufferContext, EType >::updateBufferPositionReverse ( BufferContext &  context,
size_t  blockSize 
)
inlinestatic

Member Data Documentation

◆ bufferSize

template<class BufferContext , class EType >
constexpr StatEntries ADOLC::detail::ValInfo< BufferContext, EType >::bufferSize = BufferContext::VAL_BUFFER_SIZE
staticconstexpr

◆ chunkSize

template<class BufferContext , class EType >
constexpr size_t ADOLC::detail::ValInfo< BufferContext, EType >::chunkSize = ADOLC_IO_CHUNK_SIZE / sizeof(value_type)
staticconstexpr

◆ error

template<class BufferContext , class EType >
constexpr EType ADOLC::detail::ValInfo< BufferContext, EType >::error = EType::VAL_READ_FAILED
staticconstexpr

◆ fileAccess

template<class BufferContext , class EType >
constexpr StatEntries ADOLC::detail::ValInfo< BufferContext, EType >::fileAccess = BufferContext::VAL_FILE_ACCESS
staticconstexpr

◆ fileIndex

template<class BufferContext , class EType >
constexpr size_t ADOLC::detail::ValInfo< BufferContext, EType >::fileIndex = 2
staticconstexpr

◆ num

template<class BufferContext , class EType >
constexpr StatEntries ADOLC::detail::ValInfo< BufferContext, EType >::num = BufferContext::NUM_VALUES
staticconstexpr

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