SAP ABAP Class CL_CM_STACK (CM: Generic Stack)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   LO-CM (Application Component) Configuration management
     CMT2 (Package) Configuration Management - Core Development - (Version2)
Properties
Class CL_CM_STACK  
Short Description CM: Generic Stack    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CMT2   Configuration Management - Core Development - (Version2) 
Created 20000901   SAP 
Last change 20020412   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CM_STACK has no interface implemented.
Friends
Class CL_CM_STACK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 FALSE Constant Public Type reference (TYPE) I 0 Boolean: False 20000901
2 M_HEAD Instance attribute Private Object reference (TYPE REF TO) DATA Stack header 20000904
3 M_KEY_TYPE Instance attribute Private Type reference (TYPE) ABAP_ABSTYPENAME Type of data object in the stack 20000904
4 M_ZERO Instance attribute Private Object reference (TYPE REF TO) DATA End of the stack 20000904
5 TRUE Constant Public Type reference (TYPE) I 1 Boolean: True 20000901
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20000901
2 H_SIZE Instance method Private Method Recursive determination of the size of the stack 20000904
3 IS_EMPTY Instance method Public Method Check whether the stack is empty 20000901
4 IS_TYPE_WRONG Instance method Private Method Does the data object fit in the stack contents? 20000904
5 POP Instance method Public Method Get instance from the stack 20000901
6 PUSH Instance method Public Method Create an instance from the stack 20000901
7 REFRESH Instance method Public Method Stack empty 20000901
8 SIZE Instance method Public Method Number of objects in the stack 20000901
9 TOP Instance method Public Method Read instance from the stack without also calling up value 20000901
Events
Class CL_CM_STACK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_NODE Private See coding Structure of the stack levels 20000904
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_CM_STACK has no parameter.
# Exception Resumable Description Created on
1 EXC_NO_MEMORY Fataler Fehler: Seicher konnte nicht allokiert werden 20000901

Method H_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_HEAD Call by reference Object reference (TYPE REF TO) DATA MUSS bei Aufruf initial sein !! 20000904
2 Changing C_SIZE Call by reference Type reference (TYPE) I Enthält die Stackgrösse 20000904

Method H_SIZE on class CL_CM_STACK has no exception.

Method IS_EMPTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) I 1: Stack ist leer - 0: Stack nicht leer 20000904

Method IS_EMPTY on class CL_CM_STACK has no exception.

Method IS_TYPE_WRONG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEY Call by reference Type reference (TYPE) ANY Datenobjekt dessen Typ gegen den Stack geprüft werden soll 20000904
2 Returning RESULT Value transfer Type reference (TYPE) I TRUE oder FALSE 20000904

Method IS_TYPE_WRONG on class CL_CM_STACK has no exception.

Method POP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KEY Call by reference Type reference (TYPE) ANY Hole oberstes Datenobjekt vom Stack 20000904
# Exception Resumable Description Created on
1 EXC_STACK_EMPTY Der Stack ist leer 20000901
2 EXC_WRONG_TYPE Datentyp von E_KEY passt nicht zu den Daten auf dem Stack 20000901

Method PUSH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEY Call by reference Type reference (TYPE) ANY Datenobjekt, die auf dem Stack abgelegt werden soll 20000901
# Exception Resumable Description Created on
1 EXC_NO_MEMORY Fataler Fehler: Seicher konnte nicht allokiert werden 20000901
2 EXC_WRONG_TYPE Datentyp von I_KEY passt nicht zu den Daten auf dem Stack 20000901

Method REFRESH Signature

Method REFRESH on class CL_CM_STACK has no parameter.
Method REFRESH on class CL_CM_STACK has no exception.

Method SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_SIZE Value transfer Type reference (TYPE) I Aktuelle Zahl der Objekte auf dem Stack 20000904

Method SIZE on class CL_CM_STACK has no exception.

Method TOP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KEY Call by reference Type reference (TYPE) ANY Lese oberstes Datenobjekt auf dem Stack 20000904
# Exception Resumable Description Created on
1 EXC_STACK_EMPTY Der Stack ist leer 20000904
2 EXC_WRONG_TYPE Datentyp von E_KEY passt nicht zu den Daten auf dem Stack 20000904
History
Last changed by/on SAP  20020412 
SAP Release Created in 46C