mds_plat/metadata_engine_api/inc/mdeobjectdef.h
changeset 1 acef663c1218
parent 0 c53acadfccc6
child 8 6752808b2036
equal deleted inserted replaced
0:c53acadfccc6 1:acef663c1218
   114 	CMdEPropertyDef* PropertyDefL(TInt aIndex, CMdEObjectDef* aChild);
   114 	CMdEPropertyDef* PropertyDefL(TInt aIndex, CMdEObjectDef* aChild);
   115 
   115 
   116 	CMdEPropertyDef* GetPropertyDefL(const TDesC& aName, CMdEObjectDef* aChild);
   116 	CMdEPropertyDef* GetPropertyDefL(const TDesC& aName, CMdEObjectDef* aChild);
   117 
   117 
   118 	void ConstructL(CMdCSerializationBuffer& aSchemaBuffer);
   118 	void ConstructL(CMdCSerializationBuffer& aSchemaBuffer);
       
   119 	
       
   120     /**
       
   121      * Compares two properties.
       
   122      *
       
   123      * @param aFirst   First property.
       
   124      * @param aSecond  Second property.
       
   125      *
       
   126      * @return  0, if the properties are equal;
       
   127      *          a negative value, if the first property is less than the second;
       
   128      *          a positive value, if the first property is greater than the second.
       
   129      */
       
   130     static TInt CompareProperties( const CMdEPropertyDef& aFirst, const CMdEPropertyDef& aSecond );
   119 
   131 
       
   132     /**
       
   133      * Compares two properties.
       
   134      *
       
   135      * @param aFirst   First property id.
       
   136      * @param aSecond  Second property.
       
   137      *
       
   138      * @return  0, if the properties are equal;
       
   139      *          a negative value, if the first property is less than the second;
       
   140      *          a positive value, if the first property is greater than the second.
       
   141      */
       
   142     static TInt CompareProperties( const TDefId* aFirst, const CMdEPropertyDef& aSecond );
       
   143     
   120 private:
   144 private:
   121 	const TMdCObjectDef& iObjectDef;
   145 	const TMdCObjectDef& iObjectDef;
   122 	CMdENamespaceDef& iNamespaceDef;
   146 	CMdENamespaceDef& iNamespaceDef;
   123 
   147 
   124 	TPtrC16 iName;
   148 	TPtrC16 iName;