Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
chainbase::undo_index< T, Allocator, Indices >::node Struct Reference

#include <undo_index.hpp>

Inheritance diagram for chainbase::undo_index< T, Allocator, Indices >::node:
Collaboration diagram for chainbase::undo_index< T, Allocator, Indices >::node:

Public Types

using value_type = T
 
using allocator_type = Allocator
 

Public Member Functions

template<typename... A>
 node (A &&... a)
 
const Titem () const
 
- Public Member Functions inherited from chainbase::offset_node_base< Tag >
 offset_node_base ()=default
 
 offset_node_base (const offset_node_base &)
 
constexpr offset_node_baseoperator= (const offset_node_base &)
 
- Public Member Functions inherited from chainbase::value_holder< T >
template<typename... A>
 value_holder (A &&... a)
 

Public Attributes

uint64_t _mtime = 0
 
- Public Attributes inherited from chainbase::offset_node_base< Tag >
std::ptrdiff_t _parent
 
std::ptrdiff_t _left
 
std::ptrdiff_t _right
 
int _color
 
- Public Attributes inherited from chainbase::value_holder< T >
T _item
 

Detailed Description

template<typename T, typename Allocator, typename... Indices>
struct chainbase::undo_index< T, Allocator, Indices >::node

Definition at line 256 of file undo_index.hpp.

Member Typedef Documentation

◆ allocator_type

template<typename T , typename Allocator , typename... Indices>
using chainbase::undo_index< T, Allocator, Indices >::node::allocator_type = Allocator

Definition at line 258 of file undo_index.hpp.

◆ value_type

template<typename T , typename Allocator , typename... Indices>
using chainbase::undo_index< T, Allocator, Indices >::node::value_type = T

Definition at line 257 of file undo_index.hpp.

Constructor & Destructor Documentation

◆ node()

template<typename T , typename Allocator , typename... Indices>
template<typename... A>
chainbase::undo_index< T, Allocator, Indices >::node::node ( A &&... a)
inlineexplicit

Definition at line 260 of file undo_index.hpp.

260: value_holder<T>{static_cast<A&&>(a)...} {}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1181

Member Function Documentation

◆ item()

template<typename T , typename Allocator , typename... Indices>
const T & chainbase::undo_index< T, Allocator, Indices >::node::item ( ) const
inline

Definition at line 261 of file undo_index.hpp.

261{ return *this; }

Member Data Documentation

◆ _mtime

template<typename T , typename Allocator , typename... Indices>
uint64_t chainbase::undo_index< T, Allocator, Indices >::node::_mtime = 0

Definition at line 262 of file undo_index.hpp.


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