LMCAS
Lamina Computer Algebra System
载入中...
搜索中...
未找到
LMCAS::CacheKey结构体 参考

由表达式结构哈希、属性和自变量组成缓存键。 更多...

#include <query_interface.hpp>

LMCAS::CacheKey 的协作图:

Public 成员函数

bool operator== (const CacheKey &other) const

Public 属性

std::size_t expression_hash
PropType property
std::string variable {}

详细描述

由表达式结构哈希、属性和自变量组成缓存键。

注解
结构相同的表达式具有相同哈希,与指针身份无关。

在文件 query_interface.hpp 第 54 行定义.

成员函数说明

◆ operator==()

bool LMCAS::CacheKey::operator== ( const CacheKey & other) const
inline

在文件 query_interface.hpp 第 59 行定义.

59 {
60 return expression_hash == other.expression_hash && property == other.property &&
61 variable == other.variable;
62 }

引用了 expression_hash, property , 以及 variable.

类成员变量说明

◆ expression_hash

std::size_t LMCAS::CacheKey::expression_hash

在文件 query_interface.hpp 第 55 行定义.

被这些函数引用 LMCAS::CacheKeyHash::operator()() , 以及 operator==().

◆ property

PropType LMCAS::CacheKey::property

在文件 query_interface.hpp 第 56 行定义.

被这些函数引用 LMCAS::CacheKeyHash::operator()() , 以及 operator==().

◆ variable

std::string LMCAS::CacheKey::variable {}

在文件 query_interface.hpp 第 57 行定义.

被这些函数引用 LMCAS::CacheKeyHash::operator()() , 以及 operator==().


该结构体的文档由以下文件生成: