STOFFListManager Class Reference

a manager which manages the lists, keeps the different kind of lists, to assure the unicity of each list More...

#include <STOFFList.hxx>

Public Member Functions

 STOFFListManager ()
 the constructor More...
 
 ~STOFFListManager ()
 the destructor More...
 
bool needToSend (int index, std::vector< int > &idMarkerList) const
 check if a list need to be send/resend to the interface More...
 
std::shared_ptr< STOFFListgetList (int index) const
 returns a list with given index ( if found ) More...
 
std::shared_ptr< STOFFListgetNewList (std::shared_ptr< STOFFList > actList, int levl, STOFFListLevel const &level)
 returns a new list corresponding to a list where we have a new level More...
 
std::shared_ptr< STOFFListaddList (std::shared_ptr< STOFFList > actList)
 add a new list More...
 

Protected Attributes

std::vector< STOFFListm_listList
 the list of created list More...
 
std::vector< int > m_sendIdMarkerList
 the list of send list to interface More...
 

Detailed Description

a manager which manages the lists, keeps the different kind of lists, to assure the unicity of each list

Constructor & Destructor Documentation

◆ STOFFListManager()

STOFFListManager::STOFFListManager ( )
inline

the constructor

◆ ~STOFFListManager()

STOFFListManager::~STOFFListManager ( )
inline

the destructor

Member Function Documentation

◆ addList()

std::shared_ptr< STOFFList > STOFFListManager::addList ( std::shared_ptr< STOFFList actList)

add a new list

◆ getList()

std::shared_ptr< STOFFList > STOFFListManager::getList ( int  index) const

returns a list with given index ( if found )

◆ getNewList()

std::shared_ptr< STOFFList > STOFFListManager::getNewList ( std::shared_ptr< STOFFList actList,
int  levl,
STOFFListLevel const &  level 
)

returns a new list corresponding to a list where we have a new level

◆ needToSend()

bool STOFFListManager::needToSend ( int  index,
std::vector< int > &  idMarkerList 
) const

check if a list need to be send/resend to the interface

Member Data Documentation

◆ m_listList

std::vector<STOFFList> STOFFListManager::m_listList
protected

the list of created list

Referenced by addList(), getList(), getNewList(), and needToSend().

◆ m_sendIdMarkerList

std::vector<int> STOFFListManager::m_sendIdMarkerList
mutableprotected

the list of send list to interface


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

Generated on Sun Mar 24 2019 23:33:13 for libstaroffice by doxygen 1.8.15