31 #if defined(FrontInsertionSequenceToStackAdapter_RECURSES)
32 #error Recursive header files inclusion detected in FrontInsertionSequenceToStackAdapter.h
33 #else // defined(FrontInsertionSequenceToStackAdapter_RECURSES)
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"
204 #endif // !defined FrontInsertionSequenceToStackAdapter_h
206 #undef FrontInsertionSequenceToStackAdapter_RECURSES
207 #endif // else defined(FrontInsertionSequenceToStackAdapter_RECURSES)
void selfDisplay(std::ostream &out) const
Container::size_type size_type
Container * myContainerPtr
FrontInsertionSequenceToStackAdapter(Alias< Container > aContainer)
Container::value_type Value
Aim: This class implements a dynamic adapter to an instance of a model of front insertion sequence in...
DGtal is the top-level namespace which contains all DGtal functions and types.
Container::size_type Size
const Value & top() const
Container::value_type value_type
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
BOOST_CONCEPT_ASSERT((boost::FrontInsertionSequence< Container >))
void push(const Value &aValue)
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
FrontInsertionSequenceToStackAdapter< TSequence > frontStack(TSequence &aSequence)
Go to http://www.sgi.com/tech/stl/FrontInsertionSequence.html.