Spexygen Reference Manual 3.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
header.h
Go to the documentation of this file.
1
#ifndef HEADER_H_
2
#define HEADER_H_
3
4
#include <stdint.h>
5
#include <stdbool.h>
6
7
// This file (header.h) intentionally does NOT contain Doxygen
8
// documentation. Instead, all code elements are documented
9
// in the external file (code.dox). This allows the documentation
10
// to evolve independently from the source code.
11
12
// free function
13
uint8_t
const
*
free_fun
(uint32_t x);
14
15
// This following demonstrates how to document a *class* in C
16
17
//! @class Foo
18
typedef
struct
Foo
{
19
uint32_t
x
;
//!< @public @memberof Foo
20
uint32_t
x_dis
;
//!< @private @memberof Foo
21
}
Foo
;
22
23
//! @public @memberof Foo
24
void
Foo_ctor
(
Foo
*
const
me, uint32_t
const
x);
25
26
//! @public @memberof Foo
27
bool
Foo_verify_
(
Foo
const
*
const
me);
28
29
//! @public @memberof Foo
30
void
Foo_update_
(
Foo
*
const
me);
31
32
//! @public @static @memberof Foo
33
extern
Foo
Foo_inst
;
34
35
#endif
// HEADER_H_
free_fun
uint8_t const * free_fun(uint32_t x)
Free function brief description.
Definition
source.c:3
Foo_update_
void Foo_update_(Foo *const me)
Definition
source.c:19
Foo_ctor
void Foo_ctor(Foo *const me, uint32_t const x)
Definition
source.c:14
Foo_verify_
bool Foo_verify_(Foo const *const me)
Definition
source.c:23
Foo
Class Foo brief description.
Definition
header.h:18
Foo::x_dis
uint32_t x_dis
Duplicate Inverse Storage for attribute Foo::x.
Definition
header.h:20
Foo::x
uint32_t x
Attribute x of class Foo brief description.
Definition
header.h:19
Foo::Foo_inst
Foo Foo_inst
Foo instance brief description (singleton).
Definition
header.h:33
spex
header.h
© 2005-
Quantum Leaps
|
Using Online Help
|
Spexygen 3.0.0
| created with
Spexygen
© 2005-
Quantum Leaps
|
Using Online Help
|
Spexygen 3.0.0
| created with
Spexygen