Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
SimpleStack Struct Reference

Fixture with a stack of integers. More...

Inheritance diagram for SimpleStack:
[legend]
Collaboration diagram for SimpleStack:
[legend]

Public Member Functions

 SimpleStack ()
 
 SimpleStack ()
 
 SimpleStack ()
 
 SimpleStack ()
 

Public Attributes

size_t n = 0
 
ArrayStack< ints
 
DynListStack< ints
 
FixedStack< ints
 

Detailed Description

Fixture with a stack of integers.

Definition at line 49 of file arraystack.cc.

Constructor & Destructor Documentation

◆ SimpleStack() [1/4]

SimpleStack::SimpleStack ( )
inline

Definition at line 53 of file arraystack.cc.

References n, N, Aleph::ArrayStack< T >::push(), and s.

◆ SimpleStack() [2/4]

SimpleStack::SimpleStack ( )
inline

Definition at line 53 of file dynliststack.cc.

References n, N, Aleph::ArrayStack< T >::push(), and s.

◆ SimpleStack() [3/4]

SimpleStack::SimpleStack ( )
inline

Definition at line 76 of file dynliststack_test.cc.

References n, N, Aleph::ArrayStack< T >::push(), and s.

◆ SimpleStack() [4/4]

SimpleStack::SimpleStack ( )
inline

Definition at line 53 of file fixedstack.cc.

References n, N, Aleph::ArrayStack< T >::push(), and s.

Member Data Documentation

◆ n

size_t SimpleStack::n = 0

Definition at line 51 of file arraystack.cc.

Referenced by SimpleStack().

◆ s [1/3]

DynListStack< int > SimpleStack::s

Definition at line 52 of file arraystack.cc.

Referenced by SimpleStack().

◆ s [2/3]

DynListStack<int> SimpleStack::s

Definition at line 52 of file dynliststack.cc.

◆ s [3/3]

FixedStack<int> SimpleStack::s

Definition at line 52 of file fixedstack.cc.


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