Index

dkClob

Purpose:

dkClob represents a part object.

Class summary:

dkClob
 
class dkClob : public dkXDO  {
  public:
   virtual dkClob&  operator +=(const dkClob& adkClob);
   virtual dkClob&  operator +=(const DKString& astring);
   virtual long     indexOf(const DKString& astring,
                              long startPos=1) const;
   virtual long     indexOf(const dkClob& adkClob,
                              long startpos=1) const;
   virtual DKString  subString(long startpos,
                                long length) const;
   virtual dkClob&  remove(long startpos,
                             long alength);
   virtual dkClob&  insert(const DKString& astring,
                             long  startpos);
   virtual dkClob&  insert(const dkClob& adkClob,
                             long  startpos);
}

Members:

Member functions

operator +=
Concatenates this object with another dkClob object or string. The results of the concatenation replace the existing contents of this object.
virtual dkClob&  operator +=(const dkClob& adkClob);
virtual dkClob&  operator +=(const DKString& astring);

indexOf
Returns the byte offset of the first occurrence of the search argument within this object, starting the search at offset startPos. The first position in the string is position 1. If the search argument is not found, or if startPos is beyond the end of data, zero is returned.
virtual long indexOf(const DKString& astring, long startPos=1) const;
virtual long indexOf(const dkClob& adkClob,
                              long startpos=1) const;

subString
Returns the byte offset of the first occurrence of the search argument within this object, starting the search at offset startPos. The first position in the string is position 1. If the search argument is not found, or if startPos is beyond the end of data, zero is returned.
virtual DKString  subString(long startpos,
                                long length) const;

remove
Deletes the portion of the LOB data of this object starting at startPos, for aLength bytes.
virtual dkClob&  remove(long startpos,
                             long alength);

insert
Inserts the argument data, following position startPos in the LOB data of this object.
virtual dkClob&  insert(const DKString& astring, long  startpos);
   virtual dkClob&  insert(const dkClob& adkClob,
                             long  startpos);

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.