Index

DKMatchesDocSectionTS

Purpose:

The DKMatchesDocSectionTS class provides the interface for a document section.

Class summary:

    class DKMatchesDocSectionTS : public dkDataObjectBase
    {
   public:
     ...
     DKMatchesDocSectionTS();
     virtual ~DKMatchesDocSectionTS();
     short protocol();
     DKString getObjectType();
     DKString getSectionName();
     void setSectionName(const char* sectionName);
     long numberOfParagraphs();
     DKMatchesParagraphTS* getParagraph(long paragraphIndex);
     void addParagraph(DKMatchesParagraphTS* paragraph);
    }
 

Members:

Constructors and destructor
     DKMatchesDocSectionTS();
     virtual ~DKMatchesDocSectionTS();

Member functions

protocol
Gets the protocol type associated with this data object.
     short protocol();
 

getObjectType
Gets the type of this object.
     DKString getObjectType();
 

getSectionName
Gets the section name.
     DKString getSectionName();
 

setSectionName
Sets the section name.
     void setSectionName(const char* sectionName);
 

numberOfParagraphs
Returns the number of document paragraphs contained in the section.

        long numberOfParagraphs();
 

getParagraph
Gets the document paragraph. The paragraphIndex value ranges between 1 and the total number of paragraphs. If no document paragraphs are found, this function returns the value NULL.
     DKMatchesParagraphTS* getParagraph(long paragraphIndex);
 

addParagraph
Adds a document paragraph.
     void addParagraph(DKMatchesParagraphTS* paragraph);
 

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