DocTest
testing Doxygen for my C library
 All Data Structures Files Functions
DtMyObject.h
Go to the documentation of this file.
1 #ifndef DT_MY_OBJECT
2 #define DT_MY_OBJECT
3 
4 /**
5  * @file DtMyObject.h
6  * @brief API for the DtMyObject class
7  *
8  * The DtMyObject class contains super special data.
9  */
10 
11 /**
12  * @struct DtMyObject
13  * @brief Data structure of the DtMyObject class
14  */
15 typedef struct DtMyObject DtMyObject;
16 
17 /**
18  * @brief Destructor for DtMyObject class
19  * @param obj data object to be destroyed
20  */
22 
23 /**
24  * @brief Retrieve the data stored in this object
25  * @param obj data object
26  * @return a pointer to the data
27  */
28 void *dt_my_object_get(DtMyObject *obj);
29 
30 /**
31  * @brief Constructor for DtMyObject class
32  * @param data a pointer to some super special data
33  * @return a new data object
34  */
35 DtMyObject *dt_my_object_new(void *data);
36 
37 #endif
void * dt_my_object_get(DtMyObject *obj)
Retrieve the data stored in this object.
DtMyObject * dt_my_object_new(void *data)
Constructor for DtMyObject class.
Data structure of the DtMyObject class.
void dt_my_object_delete(DtMyObject *obj)
Destructor for DtMyObject class.