Lattice Land Core Library
Loading...
Searching...
No Matches
lala::ListVarIndex< Allocator > Struct Template Reference

#include <env.hpp>

Public Types

using allocator_type = Allocator
 
using this_type = ListVarIndex<Allocator>
 
using variable_type = Variable<Allocator>
 
template<class T >
using bvector = battery::vector<T, Allocator>
 
using bstring = battery::string<Allocator>
 

Public Member Functions

CUDA ListVarIndex (bvector< variable_type > *lvars)
 
CUDA ListVarIndex (this_type &&, bvector< variable_type > *lvars)
 
CUDA ListVarIndex (const this_type &, bvector< variable_type > *lvars)
 
template<class Alloc2 >
CUDA ListVarIndex (const ListVarIndex< Alloc2 > &, bvector< variable_type > *lvars)
 
CUDA this_typeoperator= (this_type &&other)
 
CUDA this_typeoperator= (const this_type &other)
 
CUDA std::optional< size_t > lvar_index_of (const char *lv) const
 
CUDA void push_back (variable_type &&var)
 
CUDA void erase (const char *lv)
 
CUDA void set_lvars (bvector< variable_type > *lvars)
 

Public Attributes

bvector< variable_type > * lvars
 

Member Typedef Documentation

◆ allocator_type

template<class Allocator >
using lala::ListVarIndex< Allocator >::allocator_type = Allocator

◆ this_type

template<class Allocator >
using lala::ListVarIndex< Allocator >::this_type = ListVarIndex<Allocator>

◆ variable_type

template<class Allocator >
using lala::ListVarIndex< Allocator >::variable_type = Variable<Allocator>

◆ bvector

template<class Allocator >
template<class T >
using lala::ListVarIndex< Allocator >::bvector = battery::vector<T, Allocator>

◆ bstring

template<class Allocator >
using lala::ListVarIndex< Allocator >::bstring = battery::string<Allocator>

Constructor & Destructor Documentation

◆ ListVarIndex() [1/4]

template<class Allocator >
CUDA lala::ListVarIndex< Allocator >::ListVarIndex ( bvector< variable_type > * lvars)
inline

◆ ListVarIndex() [2/4]

template<class Allocator >
CUDA lala::ListVarIndex< Allocator >::ListVarIndex ( this_type && ,
bvector< variable_type > * lvars )
inline

◆ ListVarIndex() [3/4]

template<class Allocator >
CUDA lala::ListVarIndex< Allocator >::ListVarIndex ( const this_type & ,
bvector< variable_type > * lvars )
inline

◆ ListVarIndex() [4/4]

template<class Allocator >
template<class Alloc2 >
CUDA lala::ListVarIndex< Allocator >::ListVarIndex ( const ListVarIndex< Alloc2 > & ,
bvector< variable_type > * lvars )
inline

Member Function Documentation

◆ operator=() [1/2]

template<class Allocator >
CUDA this_type & lala::ListVarIndex< Allocator >::operator= ( this_type && other)
inline

◆ operator=() [2/2]

template<class Allocator >
CUDA this_type & lala::ListVarIndex< Allocator >::operator= ( const this_type & other)
inline

◆ lvar_index_of()

template<class Allocator >
CUDA std::optional< size_t > lala::ListVarIndex< Allocator >::lvar_index_of ( const char * lv) const
inline

◆ push_back()

template<class Allocator >
CUDA void lala::ListVarIndex< Allocator >::push_back ( variable_type && var)
inline

◆ erase()

template<class Allocator >
CUDA void lala::ListVarIndex< Allocator >::erase ( const char * lv)
inline

◆ set_lvars()

template<class Allocator >
CUDA void lala::ListVarIndex< Allocator >::set_lvars ( bvector< variable_type > * lvars)
inline

Member Data Documentation

◆ lvars

template<class Allocator >
bvector<variable_type>* lala::ListVarIndex< Allocator >::lvars

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