LibreOffice Module sc (master) 1
Classes | Namespaces | Functions
mtvfunctions.hxx File Reference
#include <cstdlib>
#include <mdds/multi_type_vector/types.hpp>
Include dependency graph for mtvfunctions.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sc::FuncElseNoOp< SizeT, Ret >
 
struct  sc::FuncNotElem< FuncElem, Elem >
 

Namespaces

namespace  sc
 CAUTION! The following defines must be in the same namespace as the respective type.
 

Functions

template<typename StoreT , typename Func >
StoreT::const_iterator sc::ParseBlock (const typename StoreT::const_iterator &itPos, const StoreT &rStore, Func &rFunc, typename StoreT::size_type nStart, typename StoreT::size_type nEnd)
 Generic algorithm to parse blocks of multi_type_vector either partially or fully. More...
 
template<typename StoreT , typename Func >
StoreT::iterator sc::ProcessBlock (const typename StoreT::iterator &itPos, StoreT &rStore, Func &rFunc, typename StoreT::size_type nStart, typename StoreT::size_type nEnd)
 Non-const variant of the above function. More...
 
template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void sc::EachElem (NodeT &rNode, size_t nOffset, size_t nDataSize, FuncElem &rFuncElem)
 
template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void sc::EachElem (NodeT &rNode, FuncElem &rFuncElem)
 
template<typename BlkT , typename ItrT , typename NodeT , typename FuncElem >
void sc::EachElemReverse (NodeT &rNode, FuncElem &rFuncElem)
 
template<typename BlkT , typename StoreT , typename FuncElem >
std::pair< typename StoreT::const_iterator, size_t > sc::CheckElem (const StoreT &rStore, const typename StoreT::const_iterator &it, size_t nOffset, size_t nDataSize, FuncElem &rFuncElem)
 
template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
void sc::ParseElements1 (const StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
StoreT::const_iterator sc::ParseElements1 (const typename StoreT::const_iterator &itPos, const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
StoreT::const_iterator sc::ParseElements2 (const typename StoreT::const_iterator &itPos, const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename Blk3 , typename Blk4 , typename FuncElem , typename FuncElse >
StoreT::const_iterator sc::ParseElements4 (const typename StoreT::const_iterator &itPos, const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
void sc::ProcessElements1 (StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename BlkT , typename FuncElem , typename FuncElse >
StoreT::iterator sc::ProcessElements1 (const typename StoreT::iterator &itPos, StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 This variant specifies start and end positions. More...
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
void sc::ProcessElements2 (StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
void sc::ProcessElements2Reverse (StoreT &rStore, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename FuncElem , typename FuncElse >
std::pair< typename StoreT::const_iterator, typename StoreT::size_type > sc::FindElement1 (const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename StoreT , typename Blk1 , typename Blk2 , typename FuncElem , typename FuncElse >
std::pair< typename StoreT::const_iterator, typename StoreT::size_type > sc::FindElement2 (const StoreT &rStore, typename StoreT::size_type nStart, typename StoreT::size_type nEnd, FuncElem &rFuncElem, FuncElse &rFuncElse)
 
template<typename Blk1 , typename StoreT , typename FuncElem >
void sc::SetElementsToEmpty1 (StoreT &rStore, FuncElem &rFuncElem)