Finality Engine
Loading...
Searching...
No Matches
ReflectionCache Class Reference

#include <ReflectionCache.h>

Public Member Functions

std::optional< CachedReflection > Read (const std::filesystem::path &source) const
void Write (const std::filesystem::path &source, const CachedReflection &value) const

Static Public Member Functions

static std::string Key (const std::filesystem::path &path)
static std::string Stamp (const std::filesystem::path &path)

Public Attributes

std::filesystem::path Directory
std::string Context

Detailed Description

Todo
TODO: Document ReflectionCache class semantics, ownership and usage.

Definition at line 27 of file ReflectionCache.h.

Member Function Documentation

◆ Key()

std::string ReflectionCache::Key ( const std::filesystem::path & path)
inlinestatic

Definition at line 33 of file ReflectionCache.h.

◆ Stamp()

std::string ReflectionCache::Stamp ( const std::filesystem::path & path)
inlinestatic

Definition at line 41 of file ReflectionCache.h.

◆ Read()

std::optional< CachedReflection > ReflectionCache::Read ( const std::filesystem::path & source) const
inline

Definition at line 48 of file ReflectionCache.h.

◆ Write()

void ReflectionCache::Write ( const std::filesystem::path & source,
const CachedReflection & value ) const
inline

Definition at line 76 of file ReflectionCache.h.

Member Data Documentation

◆ Directory

std::filesystem::path ReflectionCache::Directory

Definition at line 30 of file ReflectionCache.h.

◆ Context

std::string ReflectionCache::Context

Definition at line 31 of file ReflectionCache.h.


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