Lines Matching defs:OH_UdmfData
98 typedef struct OH_UdmfData OH_UdmfData;
122 * @brief Creation a pointer to the instance of the {@link OH_UdmfData}.
124 * @return If the operation is successful, a pointer to the instance of the {@link OH_UdmfData}
126 * @see OH_UdmfData.
129 OH_UdmfData* OH_UdmfData_Create();
132 * @brief Destroy a pointer that points to the {@link OH_UdmfData} instance.
134 * @param pThis Represents a pointer to an instance of {@link OH_UdmfData}.
135 * @see OH_UdmfData.
138 void OH_UdmfData_Destroy(OH_UdmfData* pThis);
141 * @brief Add one {OH_UdmfRecord} record to the {@link OH_UdmfData} data.
143 * @param pThis Represents a pointer to an instance of {@link OH_UdmfData}.
148 * @see OH_UdmfData Udmf_ErrCode.
151 int OH_UdmfData_AddRecord(OH_UdmfData* pThis, OH_UdmfRecord* record);
154 * @brief Check whether the type exists in the {@link OH_UdmfData} data.
156 * @param pThis Represents a pointer to an instance of {@link OH_UdmfData}.
161 * @see OH_UdmfData.
164 bool OH_UdmfData_HasType(OH_UdmfData* pThis, const char* type);
167 * @brief Get all types in the {@link OH_UdmfData} data.
169 * @param pThis Represents a pointer to an instance of {@link OH_UdmfData}.
171 * @return Returns string array that in {@link OH_UdmfData} when input parameters valid,
173 * @see OH_UdmfData.
176 char** OH_UdmfData_GetTypes(OH_UdmfData* pThis, unsigned int* count);
179 * @brief Get all records in the {@link OH_UdmfData} data.
181 * @param pThis Represents a pointer to an instance of {@link OH_UdmfData}.
184 * @see OH_UdmfData OH_UdmfRecord.
187 OH_UdmfRecord** OH_UdmfData_GetRecords(OH_UdmfData* pThis, unsigned int* count);
246 * @brief Get primary {@link OH_UdsPlainText} data from the {@link OH_UdmfData}.
248 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
253 * @see OH_UdmfData OH_UdsPlainText Udmf_ErrCode.
256 int OH_UdmfData_GetPrimaryPlainText(OH_UdmfData* data, OH_UdsPlainText* plainText);
259 * @brief Get one {@link OH_UdsHtml} data from the {@link OH_UdmfData}.
261 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
266 * @see OH_UdmfData OH_UdsHtml Udmf_ErrCode.
269 int OH_UdmfData_GetPrimaryHtml(OH_UdmfData* data, OH_UdsHtml* html);
272 * @brief Get the count of {@link OH_UdmfRecord} in the {@link OH_UdmfData}.
274 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
276 * @see OH_UdmfData.
279 int OH_UdmfData_GetRecordCount(OH_UdmfData* data);
282 * @brief Get the record of the specified index from the {@link OH_UdmfData}.
284 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
285 * @param index Represents the index of {@link OH_UdmfRecord} in the {@link OH_UdmfData}.
287 * @see OH_UdmfData.
290 OH_UdmfRecord* OH_UdmfData_GetRecord(OH_UdmfData* data, unsigned int index);
295 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
297 * @see OH_UdmfData.
300 bool OH_UdmfData_IsLocal(OH_UdmfData* data);
593 * from a {@link OH_UdmfData} data.
595 * @param unifiedData Represents a pointer to an instance of {@link OH_UdmfData}.
598 * @see OH_UdmfData OH_UdmfProperty.
601 OH_UdmfProperty* OH_UdmfProperty_Create(OH_UdmfData* unifiedData);
722 * @brief Get {@link OH_UdmfData} data from udmf database.
726 * @param unifiedData Represents output params of {@link OH_UdmfData};
733 int OH_Udmf_GetUnifiedData(const char* key, Udmf_Intention intention, OH_UdmfData* unifiedData);
736 * @brief Set {@link OH_UdmfData} data to database.
739 * @param unifiedData Represents a pointer to an instance of {@link OH_UdmfData}.
749 int OH_Udmf_SetUnifiedData(Udmf_Intention intention, OH_UdmfData* unifiedData,