File: TestClass.h

package info (click to toggle)
pupnp 1%3A1.14.20-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,440 kB
  • sloc: ansic: 34,488; xml: 1,173; cpp: 573; makefile: 341; sh: 130; python: 51; javascript: 7
file content (112 lines) | stat: -rw-r--r-- 3,721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#ifndef TESTCLASS_H
#define TESTCLASS_H

/*!
 * \file
 *
 * \brief Header file for TestClass methods.
 *
 * Do not edit this file, it is automatically generated. Please look at
 * generator.c.
 *
 * \author Marcelo Roberto Jimenez
 */
#include <stdlib.h> /* for size_t */

#include "UpnpGlobal.h" /* for UPNP_EXPORT_SPEC */

#include "TheStruct.h"
#include "UpnpActionComplete.h"
#include "UpnpString.h"
#include "ixml.h"
#include "list.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/*!
 * TestClass
 */
typedef struct s_TestClass TestClass;

/*! Constructor */
UPNP_EXPORT_SPEC TestClass *TestClass_new();
/*! Destructor */
UPNP_EXPORT_SPEC void TestClass_delete(TestClass *p);
/*! Copy Constructor */
UPNP_EXPORT_SPEC TestClass *TestClass_dup(const TestClass *p);
/*! Assignment operator */
UPNP_EXPORT_SPEC int TestClass_assign(TestClass *p, const TestClass *q);

/*! TestClass_get_TheList */
UPNP_EXPORT_SPEC const UpnpListHead *TestClass_get_TheList(const TestClass *p);
/*! TestClass_set_TheList */
UPNP_EXPORT_SPEC int TestClass_set_TheList(TestClass *p, const UpnpListHead *q);
/*! TestClass_add_to_list_TheList */
UPNP_EXPORT_SPEC void TestClass_add_to_list_TheList(
	TestClass *p, UpnpListHead *head);

/*! TestClass_get_TheInteger */
UPNP_EXPORT_SPEC int TestClass_get_TheInteger(const TestClass *p);
/*! TestClass_set_TheInteger */
UPNP_EXPORT_SPEC int TestClass_set_TheInteger(TestClass *p, int n);

/*! TestClass_get_TheUnsignedLong */
UPNP_EXPORT_SPEC unsigned long TestClass_get_TheUnsignedLong(
	const TestClass *p);
/*! TestClass_set_TheUnsignedLong */
UPNP_EXPORT_SPEC int TestClass_set_TheUnsignedLong(
	TestClass *p, unsigned long n);

/*! TestClass_get_TheCharPointer */
UPNP_EXPORT_SPEC char *TestClass_get_TheCharPointer(const TestClass *p);
/*! TestClass_set_TheCharPointer */
UPNP_EXPORT_SPEC int TestClass_set_TheCharPointer(TestClass *p, char *n);

/*! TestClass_get_TheBuffer */
UPNP_EXPORT_SPEC const struct TheStruct *TestClass_get_TheBuffer(
	const TestClass *p);
/*! TestClass_get_TheBuffer */
UPNP_EXPORT_SPEC int TestClass_set_TheBuffer(
	TestClass *p, const struct TheStruct *buf);
/*! TestClass_get_TheBuffer */
UPNP_EXPORT_SPEC void TestClass_clear_TheBuffer(TestClass *p);

/*! TestClass_get_TheActionComplete */
UPNP_EXPORT_SPEC const UpnpActionComplete *TestClass_get_TheActionComplete(
	const TestClass *p);
/*! TestClass_set_TheActionComplete */
UPNP_EXPORT_SPEC int TestClass_set_TheActionComplete(
	TestClass *p, const UpnpActionComplete *n);

/*! TestClass_get_TheString */
UPNP_EXPORT_SPEC const UpnpString *TestClass_get_TheString(const TestClass *p);
/*! TestClass_set_TheString */
UPNP_EXPORT_SPEC int TestClass_set_TheString(TestClass *p, const UpnpString *s);
/*! TestClass_get_TheString_Length */
UPNP_EXPORT_SPEC size_t TestClass_get_TheString_Length(const TestClass *p);
/*! TestClass_get_TheString_cstr */
UPNP_EXPORT_SPEC const char *TestClass_get_TheString_cstr(const TestClass *p);
/*! TestClass_strcpy_TheString */
UPNP_EXPORT_SPEC int TestClass_strcpy_TheString(TestClass *p, const char *s);
/*! TestClass_strncpy_TheString */
UPNP_EXPORT_SPEC int TestClass_strncpy_TheString(
	TestClass *p, const char *s, size_t n);
/*! TestClass_clear_TheString */
UPNP_EXPORT_SPEC void TestClass_clear_TheString(TestClass *p);

/*! TestClass_get_TheDomString */
UPNP_EXPORT_SPEC const DOMString TestClass_get_TheDomString(const TestClass *p);
/*! TestClass_set_TheDomString */
UPNP_EXPORT_SPEC int TestClass_set_TheDomString(
	TestClass *p, const DOMString s);
/*! TestClass_get_TheDomString_cstr */
UPNP_EXPORT_SPEC const char *TestClass_get_TheDomString_cstr(
	const TestClass *p);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* TESTCLASS_H */