CbmRoot
Loading...
Searching...
No Matches
cbm::algo::ca::Vector< bool > Class Reference

#include <CaVector.h>

Inheritance diagram for cbm::algo::ca::Vector< bool >:
[legend]
Collaboration diagram for cbm::algo::ca::Vector< bool >:
[legend]

Public Types

using Tbase
 
using value_type
 
using allocator_type
 
using pointer
 
using const_pointer
 
using reference
 
using const_reference
 
using size_type
 
using difference_type
 
using iterator
 
using const_iterator
 
using reverse_iterator
 
using const_reverse_iterator
 
using Tbase
 
using value_type
 
using allocator_type
 
using pointer
 
using const_pointer
 
using reference
 
using const_reference
 
using size_type
 
using difference_type
 
using iterator
 
using const_iterator
 
using reverse_iterator
 
using const_reverse_iterator
 
using Tbase
 
using value_type
 
using allocator_type
 
using pointer
 
using const_pointer
 
using reference
 
using const_reference
 
using size_type
 
using difference_type
 
using iterator
 
using const_iterator
 
using reverse_iterator
 
using const_reverse_iterator
 

Public Member Functions

 Vector (Tinput... value)
 Generic constructor from vairadic parameter list.
 
 Vector (const char *name, Tinput... value)
 Generic constructor from vairadic parameter list including the name of the vector.
 
 Vector (const std::string &name, std::initializer_list< bool > init)
 Constructor to make initializations like ca::Vector<int> myVector {"MyVector", {1, 2, 3}}.
 
 Vector (const Vector &v)
 Copy constructor.
 
 Vector (Vector &&v) noexcept
 Move constructor.
 
Vectoroperator= (const Vector &v)
 Copy assignment operator.
 
Vectoroperator= (Vector &&v) noexcept
 Move assignment operator.
 
void swap (Vector &v) noexcept
 Swap operator.
 
void SetName (const std::string &s)
 Sets the name of the vector.
 
void SetName (const std::basic_ostream< char > &s)
 Sets the name of the vector.
 
std::string GetName () const
 Gets name of the vector.
 
void reset (std::size_t count, Tinput... value)
 Clears vector and resizes it to the selected size with selected values.
 
void enlarge (std::size_t count, Tinput... value)
 Enlarges the vector to the new size.
 
void shrink (std::size_t count)
 Reduces the vector to a given size.
 
void reserve (std::size_t count)
 Reserves a new size for the vector.
 
void push_back (Tinput value)
 Pushes back a value to the vector.
 
void push_back_no_warning (Tinput value)
 Pushes back a value to the vector without testing for the memory re-alocation.
 
void emplace_back (Tinput &&... value)
 Creates a parameter in the end of the vector.
 
bool & operator[] (std::size_t pos)
 Mutable access to the element by its index.
 
const bool & operator[] (std::size_t pos) const
 Constant access to the element by its index.
 
bool & back ()
 Mutable access to the last element of the vector.
 
const bool & back () const
 Constant access to the last element of the vector.
 
 Vector (Tinput... value)
 Generic constructor from vairadic parameter list.
 
 Vector (const char *name, Tinput... value)
 Generic constructor from vairadic parameter list including the name of the vector.
 
 Vector (const std::string &name, std::initializer_list< bool > init)
 Constructor to make initializations like ca::Vector<int> myVector {"MyVector", {1, 2, 3}}.
 
 Vector (const Vector &v)
 Copy constructor.
 
 Vector (Vector &&v) noexcept
 Move constructor.
 
Vectoroperator= (const Vector &v)
 Copy assignment operator.
 
Vectoroperator= (Vector &&v) noexcept
 Move assignment operator.
 
void swap (Vector &v) noexcept
 Swap operator.
 
void SetName (const std::string &s)
 Sets the name of the vector.
 
void SetName (const std::basic_ostream< char > &s)
 Sets the name of the vector.
 
std::string GetName () const
 Gets name of the vector.
 
void reset (std::size_t count, Tinput... value)
 Clears vector and resizes it to the selected size with selected values.
 
void enlarge (std::size_t count, Tinput... value)
 Enlarges the vector to the new size.
 
void shrink (std::size_t count)
 Reduces the vector to a given size.
 
void reserve (std::size_t count)
 Reserves a new size for the vector.
 
void push_back (Tinput value)
 Pushes back a value to the vector.
 
void push_back_no_warning (Tinput value)
 Pushes back a value to the vector without testing for the memory re-alocation.
 
void emplace_back (Tinput &&... value)
 Creates a parameter in the end of the vector.
 
bool & operator[] (std::size_t pos)
 Mutable access to the element by its index.
 
const bool & operator[] (std::size_t pos) const
 Constant access to the element by its index.
 
bool & back ()
 Mutable access to the last element of the vector.
 
const bool & back () const
 Constant access to the last element of the vector.
 
 Vector (Tinput... value)
 Generic constructor from vairadic parameter list.
 
 Vector (const char *name, Tinput... value)
 Generic constructor from vairadic parameter list including the name of the vector.
 
 Vector (const std::string &name, std::initializer_list< bool > init)
 Constructor to make initializations like ca::Vector<int> myVector {"MyVector", {1, 2, 3}}.
 
 Vector (const Vector &v)
 Copy constructor.
 
 Vector (Vector &&v) noexcept
 Move constructor.
 
Vectoroperator= (const Vector &v)
 Copy assignment operator.
 
Vectoroperator= (Vector &&v) noexcept
 Move assignment operator.
 
void swap (Vector &v) noexcept
 Swap operator.
 
void SetName (const std::string &s)
 Sets the name of the vector.
 
void SetName (const std::basic_ostream< char > &s)
 Sets the name of the vector.
 
std::string GetName () const
 Gets name of the vector.
 
void reset (std::size_t count, Tinput... value)
 Clears vector and resizes it to the selected size with selected values.
 
void enlarge (std::size_t count, Tinput... value)
 Enlarges the vector to the new size.
 
void shrink (std::size_t count)
 Reduces the vector to a given size.
 
void reserve (std::size_t count)
 Reserves a new size for the vector.
 
void push_back (Tinput value)
 Pushes back a value to the vector.
 
void push_back_no_warning (Tinput value)
 Pushes back a value to the vector without testing for the memory re-alocation.
 
void emplace_back (Tinput &&... value)
 Creates a parameter in the end of the vector.
 
bool & operator[] (std::size_t pos)
 Mutable access to the element by its index.
 
const bool & operator[] (std::size_t pos) const
 Constant access to the element by its index.
 
bool & back ()
 Mutable access to the last element of the vector.
 
const bool & back () const
 Constant access to the last element of the vector.
 

Private Member Functions

void serialize (Archive &ar, const unsigned int)
 Serialization function for the vector.
 
void serialize (Archive &ar, const unsigned int)
 Serialization function for the vector.
 
void serialize (Archive &ar, const unsigned int)
 Serialization function for the vector.
 

Private Attributes

std::string fName
 Name of the vector.
 
std::string fName
 Name of the vector.
 
std::string fName
 Name of the vector.
 

Friends

class boost::serialization::access
 
class boost::serialization::access
 
class boost::serialization::access
 

Detailed Description

std::vector<bool> has a special implementation that is space-optimized and therefore slow and not thread-safe. That is why one should use ca::Vector<char> instead.

Definition at line 298 of file CaVector.h.

Member Typedef Documentation

◆ allocator_type [1/3]

using cbm::algo::ca::Vector< bool >::allocator_type

Definition at line 45 of file CaVector.h.

◆ allocator_type [2/3]

using cbm::algo::ca::Vector< bool >::allocator_type

Definition at line 45 of file CaVector.h.

◆ allocator_type [3/3]

using cbm::algo::ca::Vector< bool >::allocator_type

Definition at line 45 of file CaVector.h.

◆ const_iterator [1/3]

using cbm::algo::ca::Vector< bool >::const_iterator

Definition at line 53 of file CaVector.h.

◆ const_iterator [2/3]

using cbm::algo::ca::Vector< bool >::const_iterator

Definition at line 53 of file CaVector.h.

◆ const_iterator [3/3]

using cbm::algo::ca::Vector< bool >::const_iterator

Definition at line 53 of file CaVector.h.

◆ const_pointer [1/3]

using cbm::algo::ca::Vector< bool >::const_pointer

Definition at line 47 of file CaVector.h.

◆ const_pointer [2/3]

using cbm::algo::ca::Vector< bool >::const_pointer

Definition at line 47 of file CaVector.h.

◆ const_pointer [3/3]

using cbm::algo::ca::Vector< bool >::const_pointer

Definition at line 47 of file CaVector.h.

◆ const_reference [1/3]

using cbm::algo::ca::Vector< bool >::const_reference

Definition at line 49 of file CaVector.h.

◆ const_reference [2/3]

using cbm::algo::ca::Vector< bool >::const_reference

Definition at line 49 of file CaVector.h.

◆ const_reference [3/3]

using cbm::algo::ca::Vector< bool >::const_reference

Definition at line 49 of file CaVector.h.

◆ const_reverse_iterator [1/3]

using cbm::algo::ca::Vector< bool >::const_reverse_iterator

Definition at line 55 of file CaVector.h.

◆ const_reverse_iterator [2/3]

using cbm::algo::ca::Vector< bool >::const_reverse_iterator

Definition at line 55 of file CaVector.h.

◆ const_reverse_iterator [3/3]

using cbm::algo::ca::Vector< bool >::const_reverse_iterator

Definition at line 55 of file CaVector.h.

◆ difference_type [1/3]

using cbm::algo::ca::Vector< bool >::difference_type

Definition at line 51 of file CaVector.h.

◆ difference_type [2/3]

using cbm::algo::ca::Vector< bool >::difference_type

Definition at line 51 of file CaVector.h.

◆ difference_type [3/3]

using cbm::algo::ca::Vector< bool >::difference_type

Definition at line 51 of file CaVector.h.

◆ iterator [1/3]

using cbm::algo::ca::Vector< bool >::iterator

Definition at line 52 of file CaVector.h.

◆ iterator [2/3]

using cbm::algo::ca::Vector< bool >::iterator

Definition at line 52 of file CaVector.h.

◆ iterator [3/3]

using cbm::algo::ca::Vector< bool >::iterator

Definition at line 52 of file CaVector.h.

◆ pointer [1/3]

using cbm::algo::ca::Vector< bool >::pointer

Definition at line 46 of file CaVector.h.

◆ pointer [2/3]

using cbm::algo::ca::Vector< bool >::pointer

Definition at line 46 of file CaVector.h.

◆ pointer [3/3]

using cbm::algo::ca::Vector< bool >::pointer

Definition at line 46 of file CaVector.h.

◆ reference [1/3]

using cbm::algo::ca::Vector< bool >::reference

Definition at line 48 of file CaVector.h.

◆ reference [2/3]

using cbm::algo::ca::Vector< bool >::reference

Definition at line 48 of file CaVector.h.

◆ reference [3/3]

using cbm::algo::ca::Vector< bool >::reference

Definition at line 48 of file CaVector.h.

◆ reverse_iterator [1/3]

using cbm::algo::ca::Vector< bool >::reverse_iterator

Definition at line 54 of file CaVector.h.

◆ reverse_iterator [2/3]

using cbm::algo::ca::Vector< bool >::reverse_iterator

Definition at line 54 of file CaVector.h.

◆ reverse_iterator [3/3]

using cbm::algo::ca::Vector< bool >::reverse_iterator

Definition at line 54 of file CaVector.h.

◆ size_type [1/3]

using cbm::algo::ca::Vector< bool >::size_type

Definition at line 50 of file CaVector.h.

◆ size_type [2/3]

using cbm::algo::ca::Vector< bool >::size_type

Definition at line 50 of file CaVector.h.

◆ size_type [3/3]

using cbm::algo::ca::Vector< bool >::size_type

Definition at line 50 of file CaVector.h.

◆ Tbase [1/3]

using cbm::algo::ca::Vector< bool >::Tbase

Definition at line 43 of file CaVector.h.

◆ Tbase [2/3]

using cbm::algo::ca::Vector< bool >::Tbase

Definition at line 43 of file CaVector.h.

◆ Tbase [3/3]

using cbm::algo::ca::Vector< bool >::Tbase

Definition at line 43 of file CaVector.h.

◆ value_type [1/3]

using cbm::algo::ca::Vector< bool >::value_type

Definition at line 44 of file CaVector.h.

◆ value_type [2/3]

using cbm::algo::ca::Vector< bool >::value_type

Definition at line 44 of file CaVector.h.

◆ value_type [3/3]

using cbm::algo::ca::Vector< bool >::value_type

Definition at line 44 of file CaVector.h.

Constructor & Destructor Documentation

◆ Vector() [1/15]

cbm::algo::ca::Vector< bool >::Vector ( Tinput... value)
inline

Generic constructor from vairadic parameter list.

Definition at line 60 of file CaVector.h.

◆ Vector() [2/15]

cbm::algo::ca::Vector< bool >::Vector ( const char * name,
Tinput... value )
inline

Generic constructor from vairadic parameter list including the name of the vector.

Definition at line 66 of file CaVector.h.

◆ Vector() [3/15]

cbm::algo::ca::Vector< bool >::Vector ( const std::string & name,
std::initializer_list< bool > init )
inline

Constructor to make initializations like ca::Vector<int> myVector {"MyVector", {1, 2, 3}}.

Definition at line 72 of file CaVector.h.

◆ Vector() [4/15]

cbm::algo::ca::Vector< bool >::Vector ( const Vector< bool > & v)
inline

Copy constructor.

Definition at line 75 of file CaVector.h.

◆ Vector() [5/15]

cbm::algo::ca::Vector< bool >::Vector ( Vector< bool > && v)
inlinenoexcept

Move constructor.

Definition at line 78 of file CaVector.h.

◆ Vector() [6/15]

cbm::algo::ca::Vector< bool >::Vector ( Tinput... value)
inline

Generic constructor from vairadic parameter list.

Definition at line 60 of file CaVector.h.

◆ Vector() [7/15]

cbm::algo::ca::Vector< bool >::Vector ( const char * name,
Tinput... value )
inline

Generic constructor from vairadic parameter list including the name of the vector.

Definition at line 66 of file CaVector.h.

◆ Vector() [8/15]

cbm::algo::ca::Vector< bool >::Vector ( const std::string & name,
std::initializer_list< bool > init )
inline

Constructor to make initializations like ca::Vector<int> myVector {"MyVector", {1, 2, 3}}.

Definition at line 72 of file CaVector.h.

◆ Vector() [9/15]

cbm::algo::ca::Vector< bool >::Vector ( const Vector< bool > & v)
inline

Copy constructor.

Definition at line 75 of file CaVector.h.

◆ Vector() [10/15]

cbm::algo::ca::Vector< bool >::Vector ( Vector< bool > && v)
inlinenoexcept

Move constructor.

Definition at line 78 of file CaVector.h.

◆ Vector() [11/15]

cbm::algo::ca::Vector< bool >::Vector ( Tinput... value)
inline

Generic constructor from vairadic parameter list.

Definition at line 60 of file CaVector.h.

◆ Vector() [12/15]

cbm::algo::ca::Vector< bool >::Vector ( const char * name,
Tinput... value )
inline

Generic constructor from vairadic parameter list including the name of the vector.

Definition at line 66 of file CaVector.h.

◆ Vector() [13/15]

cbm::algo::ca::Vector< bool >::Vector ( const std::string & name,
std::initializer_list< bool > init )
inline

Constructor to make initializations like ca::Vector<int> myVector {"MyVector", {1, 2, 3}}.

Definition at line 72 of file CaVector.h.

◆ Vector() [14/15]

cbm::algo::ca::Vector< bool >::Vector ( const Vector< bool > & v)
inline

Copy constructor.

Definition at line 75 of file CaVector.h.

◆ Vector() [15/15]

cbm::algo::ca::Vector< bool >::Vector ( Vector< bool > && v)
inlinenoexcept

Move constructor.

Definition at line 78 of file CaVector.h.

Member Function Documentation

◆ back() [1/6]

bool & cbm::algo::ca::Vector< bool >::back ( )
inline

Mutable access to the last element of the vector.

Definition at line 244 of file CaVector.h.

◆ back() [2/6]

bool & cbm::algo::ca::Vector< bool >::back ( )
inline

Mutable access to the last element of the vector.

Definition at line 244 of file CaVector.h.

◆ back() [3/6]

bool & cbm::algo::ca::Vector< bool >::back ( )
inline

Mutable access to the last element of the vector.

Definition at line 244 of file CaVector.h.

◆ back() [4/6]

const bool & cbm::algo::ca::Vector< bool >::back ( ) const
inline

Constant access to the last element of the vector.

Definition at line 254 of file CaVector.h.

◆ back() [5/6]

const bool & cbm::algo::ca::Vector< bool >::back ( ) const
inline

Constant access to the last element of the vector.

Definition at line 254 of file CaVector.h.

◆ back() [6/6]

const bool & cbm::algo::ca::Vector< bool >::back ( ) const
inline

Constant access to the last element of the vector.

Definition at line 254 of file CaVector.h.

◆ emplace_back() [1/3]

void cbm::algo::ca::Vector< bool >::emplace_back ( Tinput &&... value)
inline

Creates a parameter in the end of the vector.

Parameters
valueVariadic list of the parameters, which are passed to the element constructor

Definition at line 210 of file CaVector.h.

◆ emplace_back() [2/3]

void cbm::algo::ca::Vector< bool >::emplace_back ( Tinput &&... value)
inline

Creates a parameter in the end of the vector.

Parameters
valueVariadic list of the parameters, which are passed to the element constructor

Definition at line 210 of file CaVector.h.

◆ emplace_back() [3/3]

void cbm::algo::ca::Vector< bool >::emplace_back ( Tinput &&... value)
inline

Creates a parameter in the end of the vector.

Parameters
valueVariadic list of the parameters, which are passed to the element constructor

Definition at line 210 of file CaVector.h.

◆ enlarge() [1/3]

void cbm::algo::ca::Vector< bool >::enlarge ( std::size_t count,
Tinput... value )
inline

Enlarges the vector to the new size.

Parameters
countNew size of the vector
valueValue of the new elements

Definition at line 147 of file CaVector.h.

◆ enlarge() [2/3]

void cbm::algo::ca::Vector< bool >::enlarge ( std::size_t count,
Tinput... value )
inline

Enlarges the vector to the new size.

Parameters
countNew size of the vector
valueValue of the new elements

Definition at line 147 of file CaVector.h.

◆ enlarge() [3/3]

void cbm::algo::ca::Vector< bool >::enlarge ( std::size_t count,
Tinput... value )
inline

Enlarges the vector to the new size.

Parameters
countNew size of the vector
valueValue of the new elements

Definition at line 147 of file CaVector.h.

◆ GetName() [1/3]

std::string cbm::algo::ca::Vector< bool >::GetName ( ) const
inline

Gets name of the vector.

Definition at line 124 of file CaVector.h.

◆ GetName() [2/3]

std::string cbm::algo::ca::Vector< bool >::GetName ( ) const
inline

Gets name of the vector.

Definition at line 124 of file CaVector.h.

◆ GetName() [3/3]

std::string cbm::algo::ca::Vector< bool >::GetName ( ) const
inline

Gets name of the vector.

Definition at line 124 of file CaVector.h.

◆ operator=() [1/6]

Vector & cbm::algo::ca::Vector< bool >::operator= ( const Vector< bool > & v)
inline

Copy assignment operator.

Definition at line 81 of file CaVector.h.

◆ operator=() [2/6]

Vector & cbm::algo::ca::Vector< bool >::operator= ( const Vector< bool > & v)
inline

Copy assignment operator.

Definition at line 81 of file CaVector.h.

◆ operator=() [3/6]

Vector & cbm::algo::ca::Vector< bool >::operator= ( const Vector< bool > & v)
inline

Copy assignment operator.

Definition at line 81 of file CaVector.h.

◆ operator=() [4/6]

Vector & cbm::algo::ca::Vector< bool >::operator= ( Vector< bool > && v)
inlinenoexcept

Move assignment operator.

Definition at line 92 of file CaVector.h.

◆ operator=() [5/6]

Vector & cbm::algo::ca::Vector< bool >::operator= ( Vector< bool > && v)
inlinenoexcept

Move assignment operator.

Definition at line 92 of file CaVector.h.

◆ operator=() [6/6]

Vector & cbm::algo::ca::Vector< bool >::operator= ( Vector< bool > && v)
inlinenoexcept

Move assignment operator.

Definition at line 92 of file CaVector.h.

◆ operator[]() [1/6]

bool & cbm::algo::ca::Vector< bool >::operator[] ( std::size_t pos)
inline

Mutable access to the element by its index.

Parameters
posIndex of the element

Definition at line 221 of file CaVector.h.

◆ operator[]() [2/6]

bool & cbm::algo::ca::Vector< bool >::operator[] ( std::size_t pos)
inline

Mutable access to the element by its index.

Parameters
posIndex of the element

Definition at line 221 of file CaVector.h.

◆ operator[]() [3/6]

bool & cbm::algo::ca::Vector< bool >::operator[] ( std::size_t pos)
inline

Mutable access to the element by its index.

Parameters
posIndex of the element

Definition at line 221 of file CaVector.h.

◆ operator[]() [4/6]

const bool & cbm::algo::ca::Vector< bool >::operator[] ( std::size_t pos) const
inline

Constant access to the element by its index.

Parameters
posIndex of the element

Definition at line 233 of file CaVector.h.

◆ operator[]() [5/6]

const bool & cbm::algo::ca::Vector< bool >::operator[] ( std::size_t pos) const
inline

Constant access to the element by its index.

Parameters
posIndex of the element

Definition at line 233 of file CaVector.h.

◆ operator[]() [6/6]

const bool & cbm::algo::ca::Vector< bool >::operator[] ( std::size_t pos) const
inline

Constant access to the element by its index.

Parameters
posIndex of the element

Definition at line 233 of file CaVector.h.

◆ push_back() [1/3]

void cbm::algo::ca::Vector< bool >::push_back ( Tinput value)
inline

Pushes back a value to the vector.

Parameters
valueNew value
Note
Raises a warning, if the vector re-alocates memory

Definition at line 190 of file CaVector.h.

◆ push_back() [2/3]

void cbm::algo::ca::Vector< bool >::push_back ( Tinput value)
inline

Pushes back a value to the vector.

Parameters
valueNew value
Note
Raises a warning, if the vector re-alocates memory

Definition at line 190 of file CaVector.h.

◆ push_back() [3/3]

void cbm::algo::ca::Vector< bool >::push_back ( Tinput value)
inline

Pushes back a value to the vector.

Parameters
valueNew value
Note
Raises a warning, if the vector re-alocates memory

Definition at line 190 of file CaVector.h.

◆ push_back_no_warning() [1/3]

void cbm::algo::ca::Vector< bool >::push_back_no_warning ( Tinput value)
inline

Pushes back a value to the vector without testing for the memory re-alocation.

Parameters
valueNew value

Definition at line 202 of file CaVector.h.

◆ push_back_no_warning() [2/3]

void cbm::algo::ca::Vector< bool >::push_back_no_warning ( Tinput value)
inline

Pushes back a value to the vector without testing for the memory re-alocation.

Parameters
valueNew value

Definition at line 202 of file CaVector.h.

◆ push_back_no_warning() [3/3]

void cbm::algo::ca::Vector< bool >::push_back_no_warning ( Tinput value)
inline

Pushes back a value to the vector without testing for the memory re-alocation.

Parameters
valueNew value

Definition at line 202 of file CaVector.h.

◆ reserve() [1/3]

void cbm::algo::ca::Vector< bool >::reserve ( std::size_t count)
inline

Reserves a new size for the vector.

Parameters
countNew size of the vector

Definition at line 176 of file CaVector.h.

◆ reserve() [2/3]

void cbm::algo::ca::Vector< bool >::reserve ( std::size_t count)
inline

Reserves a new size for the vector.

Parameters
countNew size of the vector

Definition at line 176 of file CaVector.h.

◆ reserve() [3/3]

void cbm::algo::ca::Vector< bool >::reserve ( std::size_t count)
inline

Reserves a new size for the vector.

Parameters
countNew size of the vector

Definition at line 176 of file CaVector.h.

◆ reset() [1/3]

void cbm::algo::ca::Vector< bool >::reset ( std::size_t count,
Tinput... value )
inline

Clears vector and resizes it to the selected size with selected values.

Parameters
countNew size of the vector
valueVariadic list of the parameters to pass to the base std::vector::resize function

Definition at line 135 of file CaVector.h.

◆ reset() [2/3]

void cbm::algo::ca::Vector< bool >::reset ( std::size_t count,
Tinput... value )
inline

Clears vector and resizes it to the selected size with selected values.

Parameters
countNew size of the vector
valueVariadic list of the parameters to pass to the base std::vector::resize function

Definition at line 135 of file CaVector.h.

◆ reset() [3/3]

void cbm::algo::ca::Vector< bool >::reset ( std::size_t count,
Tinput... value )
inline

Clears vector and resizes it to the selected size with selected values.

Parameters
countNew size of the vector
valueVariadic list of the parameters to pass to the base std::vector::resize function

Definition at line 135 of file CaVector.h.

◆ serialize() [1/3]

void cbm::algo::ca::Vector< bool >::serialize ( Archive & ar,
const unsigned int  )
inlineprivate

Serialization function for the vector.

Definition at line 285 of file CaVector.h.

◆ serialize() [2/3]

void cbm::algo::ca::Vector< bool >::serialize ( Archive & ar,
const unsigned int  )
inlineprivate

Serialization function for the vector.

Definition at line 285 of file CaVector.h.

◆ serialize() [3/3]

void cbm::algo::ca::Vector< bool >::serialize ( Archive & ar,
const unsigned int  )
inlineprivate

Serialization function for the vector.

Definition at line 285 of file CaVector.h.

◆ SetName() [1/6]

void cbm::algo::ca::Vector< bool >::SetName ( const std::basic_ostream< char > & s)
inline

Sets the name of the vector.

Parameters
sName of the vector (string stream)

Definition at line 116 of file CaVector.h.

◆ SetName() [2/6]

void cbm::algo::ca::Vector< bool >::SetName ( const std::basic_ostream< char > & s)
inline

Sets the name of the vector.

Parameters
sName of the vector (string stream)

Definition at line 116 of file CaVector.h.

◆ SetName() [3/6]

void cbm::algo::ca::Vector< bool >::SetName ( const std::basic_ostream< char > & s)
inline

Sets the name of the vector.

Parameters
sName of the vector (string stream)

Definition at line 116 of file CaVector.h.

◆ SetName() [4/6]

void cbm::algo::ca::Vector< bool >::SetName ( const std::string & s)
inline

Sets the name of the vector.

Parameters
sName of the vector

Definition at line 112 of file CaVector.h.

◆ SetName() [5/6]

void cbm::algo::ca::Vector< bool >::SetName ( const std::string & s)
inline

Sets the name of the vector.

Parameters
sName of the vector

Definition at line 112 of file CaVector.h.

◆ SetName() [6/6]

void cbm::algo::ca::Vector< bool >::SetName ( const std::string & s)
inline

Sets the name of the vector.

Parameters
sName of the vector

Definition at line 112 of file CaVector.h.

◆ shrink() [1/3]

void cbm::algo::ca::Vector< bool >::shrink ( std::size_t count)
inline

Reduces the vector to a given size.

Parameters
countSize of the new vector

Definition at line 164 of file CaVector.h.

◆ shrink() [2/3]

void cbm::algo::ca::Vector< bool >::shrink ( std::size_t count)
inline

Reduces the vector to a given size.

Parameters
countSize of the new vector

Definition at line 164 of file CaVector.h.

◆ shrink() [3/3]

void cbm::algo::ca::Vector< bool >::shrink ( std::size_t count)
inline

Reduces the vector to a given size.

Parameters
countSize of the new vector

Definition at line 164 of file CaVector.h.

◆ swap() [1/3]

void cbm::algo::ca::Vector< bool >::swap ( Vector< bool > & v)
inlinenoexcept

Swap operator.

Definition at line 102 of file CaVector.h.

◆ swap() [2/3]

void cbm::algo::ca::Vector< bool >::swap ( Vector< bool > & v)
inlinenoexcept

Swap operator.

Definition at line 102 of file CaVector.h.

◆ swap() [3/3]

void cbm::algo::ca::Vector< bool >::swap ( Vector< bool > & v)
inlinenoexcept

Swap operator.

Definition at line 102 of file CaVector.h.

Friends And Related Symbol Documentation

◆ boost::serialization::access [1/3]

friend class boost::serialization::access
friend

Definition at line 40 of file CaVector.h.

◆ boost::serialization::access [2/3]

friend class boost::serialization::access
friend

Definition at line 40 of file CaVector.h.

◆ boost::serialization::access [3/3]

friend class boost::serialization::access
friend

Definition at line 40 of file CaVector.h.

Member Data Documentation

◆ fName [1/3]

std::string cbm::algo::ca::Vector< bool >::fName
private

Name of the vector.

Definition at line 278 of file CaVector.h.

◆ fName [2/3]

std::string cbm::algo::ca::Vector< bool >::fName
private

Name of the vector.

Definition at line 278 of file CaVector.h.

◆ fName [3/3]

std::string cbm::algo::ca::Vector< bool >::fName
private

Name of the vector.

Definition at line 278 of file CaVector.h.


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