contentstorage/cautils/inc/caentryattribute.h
changeset 109 e0aa398e6810
parent 66 32469d7d46ff
equal deleted inserted replaced
104:9b022b1f357c 109:e0aa398e6810
   127      * @param aId Id.
   127      * @param aId Id.
   128      * @param aName Name.
   128      * @param aName Name.
   129      * @param aAttr Attribute value.
   129      * @param aAttr Attribute value.
   130      * @return TBool ,ETrue if attribute was found
   130      * @return TBool ,ETrue if attribute was found
   131      */
   131      */
   132     IMPORT_C TBool Find( const TDesC& aName, TDes& aAttrVal );
   132     IMPORT_C TBool Find( const TDesC& aName, TDes& aAttrVal ) const;
   133 
   133 
   134     /**
   134     /**
   135      * Find attribute by name.
   135      * Find attribute by name.
   136      * @param aId Id.
   136      * @param aId Id.
   137      * @param aName Name.
   137      * @param aName Name.
   138      * @param aAttr Attribute value.
   138      * @param aAttr Attribute value.
   139      * @return TBool, ETrue if attribute was found
   139      * @return TBool, ETrue if attribute was found
   140      */
   140      */
   141     IMPORT_C TBool Find( const TDesC& aName, TPtrC& aAttrVal );
   141     IMPORT_C TBool Find( const TDesC& aName, TPtrC& aAttrVal ) const;
   142 
   142 
   143     /*
   143     /*
   144      * Check if attribute exists
   144      * Check if attribute exists
   145      * @param aId Id
   145      * @param aId Id
   146      * @param aName Name
   146      * @param aName Name
   147      * @return ETrue if attribute exists
   147      * @return ETrue if attribute exists
   148      */
   148      */
   149     IMPORT_C TBool Exist( const TDesC& aName );
   149     IMPORT_C TBool Exist( const TDesC& aName ) const;
   150 
   150 
   151     /**
   151     /**
   152      * Remove attribute
   152      * Remove attribute
   153      * @param aId Id.
   153      * @param aId Id.
   154      * @param aAttrName Attribute name
   154      * @param aAttrName Attribute name