MADNESS 0.10.1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
madness::Recordlist< keyT > Struct Template Reference

#include <cloud.h>

Public Types

template<typename T >
using has_member_hash = madness::meta::is_detected< member_hash_t, T >
 
template<typename T >
using has_member_id = madness::meta::is_detected< member_id_t, T >
 
template<typename T >
using member_hash_t = decltype(std::declval< T >().hash())
 
template<typename T >
using member_id_t = decltype(std::declval< T >().id())
 

Public Member Functions

 Recordlist ()
 
 Recordlist (const keyT &key)
 
 Recordlist (const Recordlist &other)
 
Recordlistoperator+= (const keyT &key)
 
Recordlistoperator+= (const Recordlist &list2)
 
keyT pop_front_and_return ()
 
std::size_t size () const
 

Static Public Member Functions

template<typename T , std::size_t NDIM>
static keyT compute_record (const Function< T, NDIM > &arg)
 
template<typename T , std::size_t NDIM>
static keyT compute_record (const FunctionImpl< T, NDIM > *arg)
 
template<typename T , std::size_t NDIM>
static keyT compute_record (const std::shared_ptr< madness::FunctionImpl< T, NDIM > > &arg)
 
template<typename T >
static keyT compute_record (const std::shared_ptr< T > &arg)
 
template<typename keyQ , typename valueT >
static keyT compute_record (const std::shared_ptr< WorldContainer< keyQ, valueT > > &arg)
 
template<typename T >
static keyT compute_record (const std::vector< T > &arg)
 
template<typename T >
static keyT compute_record (const T &arg)
 
template<typename T >
static keyT compute_record (const Tensor< T > &arg)
 
template<typename keyQ , typename valueT >
static keyT compute_record (const WorldContainer< keyQ, valueT > &arg)
 

Public Attributes

std::list< keyT > list
 

Friends

std::ostream & operator<< (std::ostream &os, const Recordlist &arg)
 

Member Typedef Documentation

◆ has_member_hash

template<typename keyT >
template<typename T >
using madness::Recordlist< keyT >::has_member_hash = madness::meta::is_detected<member_hash_t, T>

◆ has_member_id

template<typename keyT >
template<typename T >
using madness::Recordlist< keyT >::has_member_id = madness::meta::is_detected<member_id_t, T>

◆ member_hash_t

template<typename keyT >
template<typename T >
using madness::Recordlist< keyT >::member_hash_t = decltype(std::declval<T>().hash())

◆ member_id_t

template<typename keyT >
template<typename T >
using madness::Recordlist< keyT >::member_id_t = decltype(std::declval<T>().id())

Constructor & Destructor Documentation

◆ Recordlist() [1/3]

template<typename keyT >
madness::Recordlist< keyT >::Recordlist ( )
inline

◆ Recordlist() [2/3]

template<typename keyT >
madness::Recordlist< keyT >::Recordlist ( const keyT &  key)
inlineexplicit

◆ Recordlist() [3/3]

template<typename keyT >
madness::Recordlist< keyT >::Recordlist ( const Recordlist< keyT > &  other)
inline

Member Function Documentation

◆ compute_record() [1/9]

template<typename keyT >
template<typename T , std::size_t NDIM>
static keyT madness::Recordlist< keyT >::compute_record ( const Function< T, NDIM > &  arg)
inlinestatic

◆ compute_record() [2/9]

template<typename keyT >
template<typename T , std::size_t NDIM>
static keyT madness::Recordlist< keyT >::compute_record ( const FunctionImpl< T, NDIM > *  arg)
inlinestatic

◆ compute_record() [3/9]

template<typename keyT >
template<typename T , std::size_t NDIM>
static keyT madness::Recordlist< keyT >::compute_record ( const std::shared_ptr< madness::FunctionImpl< T, NDIM > > &  arg)
inlinestatic

◆ compute_record() [4/9]

template<typename keyT >
template<typename T >
static keyT madness::Recordlist< keyT >::compute_record ( const std::shared_ptr< T > &  arg)
inlinestatic

◆ compute_record() [5/9]

template<typename keyT >
template<typename keyQ , typename valueT >
static keyT madness::Recordlist< keyT >::compute_record ( const std::shared_ptr< WorldContainer< keyQ, valueT > > &  arg)
inlinestatic

◆ compute_record() [6/9]

template<typename keyT >
template<typename T >
static keyT madness::Recordlist< keyT >::compute_record ( const std::vector< T > &  arg)
inlinestatic

◆ compute_record() [7/9]

template<typename keyT >
template<typename T >
static keyT madness::Recordlist< keyT >::compute_record ( const T arg)
inlinestatic

◆ compute_record() [8/9]

template<typename keyT >
template<typename T >
static keyT madness::Recordlist< keyT >::compute_record ( const Tensor< T > &  arg)
inlinestatic

◆ compute_record() [9/9]

template<typename keyT >
template<typename keyQ , typename valueT >
static keyT madness::Recordlist< keyT >::compute_record ( const WorldContainer< keyQ, valueT > &  arg)
inlinestatic

◆ operator+=() [1/2]

template<typename keyT >
Recordlist & madness::Recordlist< keyT >::operator+= ( const keyT &  key)
inline

◆ operator+=() [2/2]

template<typename keyT >
Recordlist & madness::Recordlist< keyT >::operator+= ( const Recordlist< keyT > &  list2)
inline

◆ pop_front_and_return()

template<typename keyT >
keyT madness::Recordlist< keyT >::pop_front_and_return ( )
inline

◆ size()

template<typename keyT >
std::size_t madness::Recordlist< keyT >::size ( ) const
inline

Friends And Related Symbol Documentation

◆ operator<<

template<typename keyT >
std::ostream & operator<< ( std::ostream &  os,
const Recordlist< keyT > &  arg 
)
friend

Member Data Documentation

◆ list

template<typename keyT >
std::list<keyT> madness::Recordlist< keyT >::list

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