searchsrv_plat/cpix_search_api/inc/cpixdocument.h
changeset 24 65456528cac2
parent 23 d4d56f5e7c55
equal deleted inserted replaced
23:d4d56f5e7c55 24:65456528cac2
   157      * @param aValue The value of the field
   157      * @param aValue The value of the field
   158      * @param aConfig The config of the field
   158      * @param aConfig The config of the field
   159      * @return the CpixDocumentField that was added to the document.
   159      * @return the CpixDocumentField that was added to the document.
   160      */
   160      */
   161     void addField(const QString aName, const QString aValue, const int aConfig = CpixDocument::DefaultConfig);
   161     void addField(const QString aName, const QString aValue, const int aConfig = CpixDocument::DefaultConfig);
       
   162     
       
   163     /**
       
   164      * Getter: Gets the field by name from the document.
       
   165      * @param aName name of the field that is to be retrieved.
       
   166      * @return CpixDocumentField .
       
   167      */
       
   168     const CpixDocumentField& field( const QString aName ) const THROWS_EXCEPTION;
   162 
   169 
   163 private:
   170 private:
   164     /**
   171     /**
   165      * Default constructor
   172      * Default constructor
   166      */
   173      */