HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Exec_CacheView Class Reference

#include <cacheView.h>

Public Member Functions

 Exec_CacheView ()=default
 Constructs an invalid cache view. More...
 
 Exec_CacheView (const Exec_CacheView &)=delete
 Exec_CacheView is move-only. More...
 
EXEC_API Exec_CacheView (Exec_CacheView &&other)
 
EXEC_API ~Exec_CacheView ()
 
EXEC_API VtValue Get (int index) const
 

Friends

class Exec_RequestImpl
 

Detailed Description

A view into values cached by ExecSystem.

This class is not intended to be used directly by users but as part of higher level libraries. Cache views must not outlive the ExecSystem or request from which they were built.

Definition at line 33 of file cacheView.h.

Constructor & Destructor Documentation

Exec_CacheView::Exec_CacheView ( )
default

Constructs an invalid cache view.

Exec_CacheView::Exec_CacheView ( const Exec_CacheView )
delete

Exec_CacheView is move-only.

EXEC_API Exec_CacheView::Exec_CacheView ( Exec_CacheView &&  other)

Constructs a cache view from another.

The other cache view becomes invalid.

EXEC_API Exec_CacheView::~Exec_CacheView ( )

Member Function Documentation

EXEC_API VtValue Exec_CacheView::Get ( int  index) const

Returns the computed value for the provided extraction index.

Emits an error and returns an empty value if the index is not evaluated.

Friends And Related Function Documentation

friend class Exec_RequestImpl
friend

Definition at line 61 of file cacheView.h.


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