9.190 StpDDFHld Class
class StpDDFHld: public StpDDFBuffer
Managing the DataDictionary buffer
Defined in: StpDDF.hpp
|
Class Members
|
public members
StpDDFHld( LONG llen ): lDDFRecLen( llen )
Constructor set empty record
StpDDFHld( const SCString& scsBuf ): lDDFRecLen( scsBuf.GetLength() )
Constructor insert existing record
VOID SetKey( const SCString&, LONG, LONG )
Set key to DD record
SCString GetKeyType()
Returns the type of record
SCString GetKeyDat()
Returns the subrecord if DDFISN
SCString GetKeyLfn()
Returns the DDFISN of DD - record
SCString GetBuffer()
Returns the DDF buffer
VOID SetBuffer( const SCString scsBuf )
Sets the DDF buffer
|
|
Parameters
|
scsBuf
Imput string value to set as DD - record
SCString GetFileItem( ULONG i )
Gets the file item from DD record type D
SCString GetFileItem( ULONG i, DDF60 ddf )
Sets the file item of DD record type D
i
Imput path item in DD record
ddf
Imput pos and len of item in DD record
SCString GetPathItem( ULONG i )
Gets the path item from DD record type P
i
Imput path item in DD record
SCString GetFieldItem( ULONG i )
Sets the Field item of DD record type P
i
Imput path item in DD record
SCString GetRelationItem( ULONG i )
Gets the Relation item of DD record type R
i
Imput relation item in DD record
VOID SetFileItem( ULONG i, const SCString& scsVal )
Sets the file item of DD record type D
i
Imput file item in DD record
scsVal
Imput value of file item
VOID SetFileItem( ULONG i, DDF60 ddf, const SCString& scsVal )
Sets the file item of DD record type D
i
Imput file item in DD record
ddf
Imput pos and len of file item in DD record
scsVal
Imput value of file item
VOID SetPathItem( ULONG i, const SCString& scsVal )
Sets the path item of DD record type P
i
Imput path item in DD record
scsVal
Imput value of path item
VOID SetFieldItem( ULONG i, const SCString& scsVal )
Sets the field item of DD record type F
i
Imput field item in DD record
scsVal
Imput value of field item
LONG lDDFRecLen
Store length of DD - record
SCString scsDDFRec
DD - record
SCString SetRight( LONG, LONG )
Set key value starting at end of buffer
LONG GetKeyLen()
Returns the length of keyfield
LONG GetFileDescLen()
Returns the length of filedescriton field
LONG GetPathDescLen()
Returns the length of pathdescription field
LONG GetFieldDescLen()
Returns the length of fielddescrition field
LONG GetRelationDescLen()
Returns the length of relationdescrition field
|
