Lines Matching refs: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);
513 * @brief Get primary {@link OH_UdsPlainText} data from the {@link OH_UdmfData}.
515 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
520 * @see OH_UdmfData OH_UdsPlainText Udmf_ErrCode.
523 int OH_UdmfData_GetPrimaryPlainText(OH_UdmfData* data, OH_UdsPlainText* plainText);
526 * @brief Get one {@link OH_UdsHtml} data from the {@link OH_UdmfData}.
528 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
533 * @see OH_UdmfData OH_UdsHtml Udmf_ErrCode.
536 int OH_UdmfData_GetPrimaryHtml(OH_UdmfData* data, OH_UdsHtml* html);
539 * @brief Get the count of {@link OH_UdmfRecord} in the {@link OH_UdmfData}.
541 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
543 * @see OH_UdmfData.
546 int OH_UdmfData_GetRecordCount(OH_UdmfData* data);
549 * @brief Get the record of the specified index from the {@link OH_UdmfData}.
551 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
552 * @param index Represents the index of {@link OH_UdmfRecord} in the {@link OH_UdmfData}.
554 * @see OH_UdmfData.
557 OH_UdmfRecord* OH_UdmfData_GetRecord(OH_UdmfData* data, unsigned int index);
562 * @param data Represents a pointer to an instance of {@link OH_UdmfData}.
566 * @see OH_UdmfData.
569 bool OH_UdmfData_IsLocal(OH_UdmfData* data);
573 * from a {@link OH_UdmfData} data.
575 * @param unifiedData Represents a pointer to an instance of {@link OH_UdmfData}.
578 * @see OH_UdmfData OH_UdmfProperty.
581 OH_UdmfProperty* OH_UdmfProperty_Create(OH_UdmfData* unifiedData);
702 * @brief Get {@link OH_UdmfData} data from udmf database.
706 * @param unifiedData Represents output params of {@link OH_UdmfData};
714 int OH_Udmf_GetUnifiedData(const char* key, Udmf_Intention intention, OH_UdmfData* unifiedData);
717 * @brief Set {@link OH_UdmfData} data to database.
720 * @param unifiedData Represents a pointer to an instance of {@link OH_UdmfData}.
731 int OH_Udmf_SetUnifiedData(Udmf_Intention intention, OH_UdmfData* unifiedData,