SAP ABAP Class CL_BS_STACK (Primitive Data Stack)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-MDG-APP-BP (Application Component) MDG Business Partner (Central Part)
     BS_COMMON_OBJECTS (Package) Common Tools and Interfaces
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_BS_STACK_INERTIAL Inertial Stack 20110126
Properties
Class CL_BS_STACK  
Short Description Primitive Data Stack    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package BS_COMMON_OBJECTS   Common Tools and Interfaces 
Created 20110124   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_BS_STACK has no forward declaration.
Interfaces
Class CL_BS_STACK has no interface implemented.
Friends
Class CL_BS_STACK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_STACK Instance attribute Public Type reference (TYPE) TY_STACK the stack data 20110124
2 MV_CAPACITY Instance attribute Public Type reference (TYPE) I capacity of the stack, "0" means no limits 20110126
3 MV_LEVEL Instance attribute Public Type reference (TYPE) I 0 current level of the stack 20110124
Methods
# Method Level Visibility Method type Description Created on
1 CLEAR Instance method Public Method clears complete stack 20110126
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110126
3 PEEK Instance method Public Method peeks data at the given stack level 20110126
4 POP Instance method Public Method pops data from stack 20110124
5 PUSH Instance method Public Method pushes data to stack 20110124
Events
Class CL_BS_STACK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_STACK Public See coding 20110124 ty_stack TYPE STANDARD TABLE OF REF TO data
2 TY_STACK_ENTRY Public See coding 20110124 BEGIN OF ty_stack_entry, data TYPE REF TO data, END OF ty_stack_entry
Method Signatures

Method CLEAR Signature

Method CLEAR on class CL_BS_STACK has no parameter.
Method CLEAR on class CL_BS_STACK has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CAPACITY Call by reference Type reference (TYPE) I 0 max. capacity of the stack 20110126

Method CONSTRUCTOR on class CL_BS_STACK has no exception.

Method PEEK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATA Call by reference Type reference (TYPE) DATA 20110126
2 Importing IV_LEVEL Call by reference Type reference (TYPE) I the level to peek from 20110126

Method PEEK on class CL_BS_STACK has no exception.

Method POP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATA Call by reference Type reference (TYPE) DATA 20110124

Method POP on class CL_BS_STACK has no exception.

Method PUSH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATA Call by reference Type reference (TYPE) DATA 20110124

Method PUSH on class CL_BS_STACK has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 703