bpp-core3  3.0.0
bpp::BppVector< T > Class Template Reference

The BppVector object class. This class extends the std::vector class to support the Clonable interface. More...

#include <Bpp/BppVector.h>

+ Inheritance diagram for bpp::BppVector< T >:
+ Collaboration diagram for bpp::BppVector< T >:

Public Member Functions

template<typename ... Args>
 BppVector (Args &&... args)
 
BppVector< T > * clone () const
 Create a copy of this object and send a pointer to it. More...
 
const std::vector< T > & toSTL () const
 
std::vector< T > & toSTL ()
 

Public Attributes

elements
 STL member. More...
 

Detailed Description

template<typename T>
class bpp::BppVector< T >

The BppVector object class. This class extends the std::vector class to support the Clonable interface.

Deprecated:
Do not use in new code anymore.

Definition at line 20 of file BppVector.h.

Constructor & Destructor Documentation

◆ BppVector()

template<typename T>
template<typename ... Args>
bpp::BppVector< T >::BppVector ( Args &&...  args)
inline

Definition at line 26 of file BppVector.h.

Member Function Documentation

◆ clone()

template<typename T>
BppVector<T>* bpp::BppVector< T >::clone ( ) const
inlinevirtual

Create a copy of this object and send a pointer to it.

Returns
A pointer toward the copy object.

Implements bpp::Clonable.

Definition at line 30 of file BppVector.h.

◆ toSTL() [1/2]

template<typename T>
const std::vector<T>& bpp::BppVector< T >::toSTL ( ) const
inline

Definition at line 32 of file BppVector.h.

◆ toSTL() [2/2]

template<typename T>
std::vector<T>& bpp::BppVector< T >::toSTL ( )
inline

Definition at line 33 of file BppVector.h.

Member Data Documentation

◆ elements

T std::vector< T >::elements
inherited

STL member.


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