sparrow 0.6.0
Loading...
Searching...
No Matches
sparrow::children_ownership Class Reference

#include <private_data_ownership.hpp>

Inheritance diagram for sparrow::children_ownership:
[legend]

Public Member Functions

std::size_t children_size () const noexcept
 
void set_child_ownership (std::size_t child, bool ownership)
 
template<std::ranges::input_range CHILDREN_OWNERSHIP>
void set_children_ownership (const CHILDREN_OWNERSHIP &children_ownership_values)
 
bool has_child_ownership (std::size_t child) const
 
void resize_children (std::size_t size)
 

Protected Member Functions

 children_ownership (std::size_t size=0)
 
template<std::ranges::input_range CHILDREN_OWNERSHIP>
requires std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool>
constexpr children_ownership (const CHILDREN_OWNERSHIP &children_ownership_values)
 

Detailed Description

Definition at line 49 of file private_data_ownership.hpp.

Constructor & Destructor Documentation

◆ children_ownership() [1/2]

sparrow::children_ownership::children_ownership ( std::size_t size = 0)
explicitprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ children_ownership() [2/2]

template<std::ranges::input_range CHILDREN_OWNERSHIP>
requires std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool>
sparrow::children_ownership::children_ownership ( const CHILDREN_OWNERSHIP & children_ownership_values)
inlineexplicitconstexprprotected

Definition at line 67 of file private_data_ownership.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ children_size()

std::size_t sparrow::children_ownership::children_size ( ) const
nodiscardnoexcept
Here is the caller graph for this function:

◆ has_child_ownership()

bool sparrow::children_ownership::has_child_ownership ( std::size_t child) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resize_children()

void sparrow::children_ownership::resize_children ( std::size_t size)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_child_ownership()

void sparrow::children_ownership::set_child_ownership ( std::size_t child,
bool ownership )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_children_ownership()

template<std::ranges::input_range CHILDREN_OWNERSHIP>
void sparrow::children_ownership::set_children_ownership ( const CHILDREN_OWNERSHIP & children_ownership_values)
Here is the call graph for this function:
Here is the caller graph for this function:

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