Something in XML maybe ?
Assumptions based on this format could be completely wrong.
I cut some examples made using Doxygen to generate perl, xml, and latex
output. I think the perlmod code would be much easier to handle, but the
other tools like xml.
Here is the C code: .
struct tm {
int tm_sec; /* seconds after the minute [0, 59] */
int tm_min; /* minutes after the hour [0, 59] */
int tm_hour; /* hours since midnight [0, 23] */
int tm_mday; /* day of the month [1, 31] */
int tm_mon; /* months since January [0, 11] */
int tm_year; /* years since 1900 */
int tm_wday; /* days since Sunday [0, 6] */
int tm_yday; /* days since January 1 [0, 365] */
int tm_isdst; /* Daylight Saving Time flag */
};
This is the XML :
<compound refid="d8/d5a/structtm" kind="struct"><name>tm</name>
<member refid="d8/d5a/structtm_1a4d098a9a5c03a00b2ee61e10851de81e"
kind="variable"><name>tm_sec</name></member>
<member refid="d8/d5a/structtm_1af414eb7c86cc3099595211eee4d4211b"
kind="variable"><name>tm_min</name></member>
<member refid="d8/d5a/structtm_1a3e7ca4e37f1abcaf56b8a916c38eb9fe"
kind="variable"><name>tm_hour</name></member>
<member refid="d8/d5a/structtm_1ab8d8904bad43b0c8b96e61941c5b5310"
kind="variable"><name>tm_mday</name></member>
<member refid="d8/d5a/structtm_1a112ac36fa2f593777138a417cf031e17"
kind="variable"><name>tm_mon</name></member>
<member refid="d8/d5a/structtm_1a33adf78fd6476b2120ce3b9c4a852053"
kind="variable"><name>tm_year</name></member>
<member refid="d8/d5a/structtm_1afe81a8c46f1c693c43f259b288859f4f"
kind="variable"><name>tm_wday</name></member>
<member refid="d8/d5a/structtm_1a93a0ba77cc23796df84405dcbcc57eb1"
kind="variable"><name>tm_yday</name></member>
<member refid="d8/d5a/structtm_1a5645ca0580c8ab2c24f6c2965d9c9f9c"
kind="variable"><name>tm_isdst</name></member>
</compound>
This is from the autogenerated DoxyDocs.pm
classes => [
{
name => 'tm',
includes => {
local => 'no',
name => 'time.h'
},
all_members => [
{
name => 'tm_hour',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
},
{
name => 'tm_isdst',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
},
{
name => 'tm_mday',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
},
{
name => 'tm_min',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
},
{
name => 'tm_mon',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
},
{
name => 'tm_sec',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
},
{
name => 'tm_wday',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
},
{
name => 'tm_yday',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
},
{
name => 'tm_year',
virtualness => 'non_virtual',
protection => 'public',
scope => 'tm'
}
],
public_members => {
members => [
{
kind => 'variable',
name => 'tm_sec',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
},
{
kind => 'variable',
name => 'tm_min',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
},
{
kind => 'variable',
name => 'tm_hour',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
},
{
kind => 'variable',
name => 'tm_mday',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
},
{
kind => 'variable',
name => 'tm_mon',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
},
{
kind => 'variable',
name => 'tm_year',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
},
{
kind => 'variable',
name => 'tm_wday',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
},
{
kind => 'variable',
name => 'tm_yday',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
},
{
kind => 'variable',
name => 'tm_isdst',
virtualness => 'non_virtual',
protection => 'public',
static => 'no',
brief => {},
detailed => {},
type => 'int'
}
]
},
brief => {},
detailed => {}
}
],