RobinTrace
Public Member Functions | Public Attributes | Private Member Functions | Friends | List of all members
lpart_vec Class Reference

Vector of lparts. More...

#include <lpart_vec.h>

Collaboration diagram for lpart_vec:
[legend]

Public Member Functions

template<typename T >
void add_lpart (T part)
 Add a lpart to the vector. More...
 
lpart_vec cpy () const
 Return a deep copy of the instance.
 

Public Attributes

std::vector< std::unique_ptr< lpart > > v
 Vector of lpart.
 

Private Member Functions

std::vector< std::unique_ptr< lpart > > clone_vec () const
 Return a deep copy of the raw vector of lparts.
 

Friends

std::ostream & operator<< (std::ostream &out, const lpart_vec &parts)
 Printer.
 

Detailed Description

Vector of lparts.

Thin wrapper around a vector for lpart objects.

Member Function Documentation

◆ add_lpart()

template<typename T >
void lpart_vec::add_lpart ( part)
inline

Add a lpart to the vector.

A copy of the lpart is added.


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