mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Friends
m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad Struct Reference
Collaboration diagram for m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad:
[legend]

Public Member Functions

 Scratchpad ()=default
 
 Scratchpad (const QueryGraph &G)
 
 Scratchpad (const Scratchpad &)=delete
 
 Scratchpad (Scratchpad &&other)
 
 ~Scratchpad ()
 
Scratchpadoperator= (Scratchpad other)
 
bool is_allocated () const
 
bool owned_by (const EdgePtrBottomUp *state) const
 
void make_owner (const EdgePtrBottomUp *state, const QueryGraph &G)
 

Data Fields

const EdgePtrBottomUpowner = nullptr
 
Subproblemsubproblems = nullptr
 
uint8_t * datasource_to_subproblem = nullptr
 

Friends

void swap (Scratchpad &first, Scratchpad &second)
 

Detailed Description

Definition at line 917 of file HeuristicSearchPlanEnumerator.hpp.

Constructor & Destructor Documentation

◆ Scratchpad() [1/4]

m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::Scratchpad ( )
default

◆ Scratchpad() [2/4]

m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::Scratchpad ( const QueryGraph G)
inline

Definition at line 931 of file HeuristicSearchPlanEnumerator.hpp.

◆ Scratchpad() [3/4]

m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::Scratchpad ( const Scratchpad )
delete

◆ Scratchpad() [4/4]

m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::Scratchpad ( Scratchpad &&  other)
inline

Definition at line 937 of file HeuristicSearchPlanEnumerator.hpp.

References swap.

◆ ~Scratchpad()

m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::~Scratchpad ( )
inline

Definition at line 939 of file HeuristicSearchPlanEnumerator.hpp.

References datasource_to_subproblem, owner, and subproblems.

Member Function Documentation

◆ is_allocated()

bool m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::is_allocated ( ) const
inline

◆ make_owner()

void m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::make_owner ( const EdgePtrBottomUp state,
const QueryGraph G 
)
inline

◆ operator=()

Scratchpad & m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::operator= ( Scratchpad  other)
inline

Definition at line 947 of file HeuristicSearchPlanEnumerator.hpp.

References swap.

◆ owned_by()

bool m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::owned_by ( const EdgePtrBottomUp state) const
inline

Definition at line 950 of file HeuristicSearchPlanEnumerator.hpp.

References owner.

Referenced by make_owner().

Friends And Related Function Documentation

◆ swap

void swap ( Scratchpad first,
Scratchpad second 
)
friend

Definition at line 919 of file HeuristicSearchPlanEnumerator.hpp.

Referenced by operator=(), and Scratchpad().

Field Documentation

◆ datasource_to_subproblem

uint8_t* m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::datasource_to_subproblem = nullptr

Definition at line 928 of file HeuristicSearchPlanEnumerator.hpp.

Referenced by make_owner(), and ~Scratchpad().

◆ owner

const EdgePtrBottomUp* m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::owner = nullptr

Definition at line 926 of file HeuristicSearchPlanEnumerator.hpp.

Referenced by make_owner(), owned_by(), and ~Scratchpad().

◆ subproblems

Subproblem* m::pe::hs::search_states::EdgePtrBottomUp::Scratchpad::subproblems = nullptr

Definition at line 927 of file HeuristicSearchPlanEnumerator.hpp.

Referenced by is_allocated(), make_owner(), and ~Scratchpad().


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