31 #if defined(FrontInsertionSequenceToStackAdapter_RECURSES)
32 #error Recursive header files inclusion detected in FrontInsertionSequenceToStackAdapter.h
35 #define FrontInsertionSequenceToStackAdapter_RECURSES
37 #if !defined FrontInsertionSequenceToStackAdapter_h
39 #define FrontInsertionSequenceToStackAdapter_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/base/Alias.h"
61 template <
typename TSequence>
82 typedef typename Container::value_type
Value;
91 typedef typename Container::size_type
Size;
180 template <
typename TSequence>
190 template <
typename TSequence>
199 #include "DGtal/base/FrontInsertionSequenceToStackAdapter.ih"
206 #undef FrontInsertionSequenceToStackAdapter_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: This class implements a dynamic adapter to an instance of a model of front insertion sequence in...
FrontInsertionSequenceToStackAdapter(Alias< Container > aContainer)
BOOST_CONCEPT_ASSERT((boost::FrontInsertionSequence< Container >))
Container::value_type value_type
Container::value_type Value
void push(const Value &aValue)
Container::size_type Size
Container::size_type size_type
Container * myContainerPtr
void selfDisplay(std::ostream &out) const
const Value & top() const
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
FrontInsertionSequenceToStackAdapter< TSequence > frontStack(TSequence &aSequence)
Go to http://www.sgi.com/tech/stl/FrontInsertionSequence.html.