Lattice Land Powerdomains Library
Loading...
Searching...
No Matches
lala::Branch< TellTy, Alloc > Class Template Reference

#include <branch.hpp>

Public Types

using tell_type = TellTy
 
using allocator_type = Alloc
 

Public Member Functions

CUDA Branch (const allocator_type &alloc=allocator_type())
 
 Branch (const Branch &)=default
 
 Branch (Branch &&)=default
 
CUDA Branch (battery::vector< tell_type, allocator_type > &&children)
 
template<class BranchType >
CUDA Branch (const BranchType &branch, const allocator_type &alloc=allocator_type())
 
CUDA int size () const
 
CUDA const tell_typenext ()
 
CUDA const tell_typeoperator[] (size_t idx)
 
CUDA bool has_next () const
 
CUDA void prune ()
 
CUDA bool is_pruned () const
 
CUDA const tell_typecurrent () const
 

Friends

template<class TellTy2 , class Alloc2 >
class Branch
 

Member Typedef Documentation

◆ tell_type

template<class TellTy , class Alloc >
using lala::Branch< TellTy, Alloc >::tell_type = TellTy

◆ allocator_type

template<class TellTy , class Alloc >
using lala::Branch< TellTy, Alloc >::allocator_type = Alloc

Constructor & Destructor Documentation

◆ Branch() [1/5]

template<class TellTy , class Alloc >
CUDA lala::Branch< TellTy, Alloc >::Branch ( const allocator_type & alloc = allocator_type())
inline

◆ Branch() [2/5]

template<class TellTy , class Alloc >
lala::Branch< TellTy, Alloc >::Branch ( const Branch< TellTy, Alloc > & )
default

◆ Branch() [3/5]

template<class TellTy , class Alloc >
lala::Branch< TellTy, Alloc >::Branch ( Branch< TellTy, Alloc > && )
default

◆ Branch() [4/5]

template<class TellTy , class Alloc >
CUDA lala::Branch< TellTy, Alloc >::Branch ( battery::vector< tell_type, allocator_type > && children)
inline

◆ Branch() [5/5]

template<class TellTy , class Alloc >
template<class BranchType >
CUDA lala::Branch< TellTy, Alloc >::Branch ( const BranchType & branch,
const allocator_type & alloc = allocator_type() )
inline

Member Function Documentation

◆ size()

template<class TellTy , class Alloc >
CUDA int lala::Branch< TellTy, Alloc >::size ( ) const
inline

◆ next()

template<class TellTy , class Alloc >
CUDA const tell_type & lala::Branch< TellTy, Alloc >::next ( )
inline

◆ operator[]()

template<class TellTy , class Alloc >
CUDA const tell_type & lala::Branch< TellTy, Alloc >::operator[] ( size_t idx)
inline

◆ has_next()

template<class TellTy , class Alloc >
CUDA bool lala::Branch< TellTy, Alloc >::has_next ( ) const
inline

◆ prune()

template<class TellTy , class Alloc >
CUDA void lala::Branch< TellTy, Alloc >::prune ( )
inline

◆ is_pruned()

template<class TellTy , class Alloc >
CUDA bool lala::Branch< TellTy, Alloc >::is_pruned ( ) const
inline

◆ current()

template<class TellTy , class Alloc >
CUDA const tell_type & lala::Branch< TellTy, Alloc >::current ( ) const
inline

Friends And Related Symbol Documentation

◆ Branch

template<class TellTy , class Alloc >
template<class TellTy2 , class Alloc2 >
friend class Branch
friend

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