SAP ABAP Class CL_LIB_RESOURCE (simple resource maintainance)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB (Application Component) Database Interface, Database Platforms
     SHDB_TOOLS (Package) helper classes for HANA DB
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SHDB_TOOLS_BASE basic functions for SHDB_TOOLS 20130312
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_LIB_ID_SRC generic source of GUID16 20130809
Properties
Class CL_LIB_RESOURCE  
Short Description simple resource maintainance    
Super Class CL_SHDB_TOOLS_BASE basic functions for SHDB_TOOLS 
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SHDB_TOOLS   helper classes for HANA DB 
Created 20130208   SAP 
Last change 20140121   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
# Interface Abstract Final Description Created on
1 IF_LIB_ID_SRC generic source of GUID16 20130809
Friends
Class CL_LIB_RESOURCE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_LAST_RESERVED_REF Instance attribute Public Object reference (TYPE REF TO) DATA 20130809
2 _MT_RES Instance attribute Private Type reference (TYPE) TT_RES 20130312
3 _MV_CAPACITY Instance attribute Private Type reference (TYPE) I 20130312
4 _MV_RESNAME Instance attribute Private Type reference (TYPE) TV_RESNAME 20130312
Methods
# Method Level Visibility Method type Description Created on
1 AVAILABLE Instance method Public Method 20130312
2 CAPACITY Instance method Public Method 20130312
3 CONSTRUCTOR Instance method Private Constructor 20130312
4 NEW Static method Public Method 20130312
5 NEW_BY_ITER Static method Public Method 20130809
6 RELEASE Instance method Public Method 20130312
7 RESERVE Instance method Public Method 20130312
8 USED Instance method Public Method 20130312
9 _ZTEST Static method Public Method 20130809
Events
Class CL_LIB_RESOURCE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_RES Private See coding 20130312 begin of TS_RES, id type tv_resid, count type i, used type abap_bool, ref type REF TO data, end of ts_res
2 TT_RES Private See coding 20130312 tt_res type STANDARD TABLE OF TS_RES WITH DEFAULT KEY
3 TV_RESID Public Type reference (TYPE) CHAR16 20130312
4 TV_RESNAME Public Type reference (TYPE) CHAR8 20130312
Method Signatures

Method AVAILABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_AVAILABLE Value transfer Type reference (TYPE) ABAP_BOOL 20130312

Method AVAILABLE on class CL_LIB_RESOURCE has no exception.

Method CAPACITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_CAPA Value transfer Type reference (TYPE) I 20130312

Method CAPACITY on class CL_LIB_RESOURCE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ITER Call by reference Object reference (TYPE REF TO) IF_LIB_ITERABLE 20130809
2 Importing IV_CAPACITY Call by reference Type reference (TYPE) I 20130312
3 Importing IV_NAME Call by reference Type reference (TYPE) CHAR8 20130312

Method CONSTRUCTOR on class CL_LIB_RESOURCE has no exception.

Method NEW 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 20130312
2 Importing IV_NAME Call by reference Type reference (TYPE) CHAR8 Character Feld der Länge 8 20130312
3 Returning RR_REF Value transfer Object reference (TYPE REF TO) CL_LIB_RESOURCE simple resource maintainance 20130312

Method NEW on class CL_LIB_RESOURCE has no exception.

Method NEW_BY_ITER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ITER Call by reference Object reference (TYPE REF TO) IF_LIB_ITERABLE 20130809
2 Importing IV_NAME Call by reference Type reference (TYPE) CHAR8 20130809
3 Returning RR_REF Value transfer Object reference (TYPE REF TO) CL_LIB_RESOURCE 20130809

Method NEW_BY_ITER on class CL_LIB_RESOURCE has no exception.

Method RELEASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RESOURCE Call by reference Type reference (TYPE) TV_RESID Feld der Länge 16 20130312

Method RELEASE on class CL_LIB_RESOURCE has no exception.

Method RESERVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RESOURCE Value transfer Type reference (TYPE) CHAR16 Feld der Länge 16 20130312

Method RESERVE on class CL_LIB_RESOURCE has no exception.

Method USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_USED Value transfer Type reference (TYPE) ABAP_BOOL 20130312

Method USED on class CL_LIB_RESOURCE has no exception.

Method _ZTEST Signature

Method _ZTEST on class CL_LIB_RESOURCE has no parameter.
Method _ZTEST on class CL_LIB_RESOURCE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in