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 static TInt CompareProperties(const CMdEPropertyDef& aFirst, const CMdEPropertyDef& aSecond); |
119 |
121 |
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 ); |
|
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 |
|
144 private: |
122 private: |
145 const TMdCObjectDef& iObjectDef; |
123 const TMdCObjectDef& iObjectDef; |
146 CMdENamespaceDef& iNamespaceDef; |
124 CMdENamespaceDef& iNamespaceDef; |
147 |
125 |
148 TPtrC16 iName; |
126 TPtrC16 iName; |