57 lines
No EOL
1.6 KiB
Erlang
57 lines
No EOL
1.6 KiB
Erlang
%% HRL file generated by ERLSOM
|
|
%%
|
|
%% It is possible (and in some cases necessary) to change the name of
|
|
%% the record fields.
|
|
%%
|
|
%% It is possible to add default values, but be aware that these will
|
|
%% only be used when *writing* an xml document.
|
|
|
|
|
|
-ifndef(ERLSOM_ANY_ATTRIB_TYPES).
|
|
-define(ERLSOM_ANY_ATTRIB_TYPES, true).
|
|
-type anyAttrib() :: {{string(), %% name of the attribute
|
|
string()}, %% namespace
|
|
string()}. %% value
|
|
|
|
-type anyAttribs() :: [anyAttrib()] | undefined.
|
|
-endif.
|
|
|
|
-ifndef(ERLSOM_QNAME_TYPES).
|
|
-define(ERLSOM_QNAME_TYPES, true).
|
|
%% xsd:QName values are translated to #qname{} records.
|
|
-record(qname, {uri :: string(),
|
|
localPart :: string(),
|
|
prefix :: string(),
|
|
mappedPrefix :: string()}).
|
|
-endif.
|
|
|
|
|
|
|
|
-record('SHOWBACK_RECORDS', {anyAttribs :: anyAttribs(),
|
|
'SHOWBACK_RECORDS/SEQ1' :: 'SHOWBACK_RECORDS/SEQ1'() | undefined}).
|
|
|
|
-type 'SHOWBACK_RECORDS'() :: #'SHOWBACK_RECORDS'{}.
|
|
|
|
|
|
-record('SHOWBACK_RECORDS/SEQ1', {anyAttribs :: anyAttribs(),
|
|
'SHOWBACK' :: ['SHOWBACK_RECORDS/SEQ1/SHOWBACK'()] | undefined}).
|
|
|
|
-type 'SHOWBACK_RECORDS/SEQ1'() :: #'SHOWBACK_RECORDS/SEQ1'{}.
|
|
|
|
|
|
-record('SHOWBACK_RECORDS/SEQ1/SHOWBACK', {anyAttribs :: anyAttribs(),
|
|
'VMID' :: integer(),
|
|
'VMNAME' :: string(),
|
|
'UID' :: integer(),
|
|
'GID' :: integer(),
|
|
'UNAME' :: string(),
|
|
'GNAME' :: string(),
|
|
'YEAR' :: integer(),
|
|
'MONTH' :: integer(),
|
|
'CPU_COST' :: string(),
|
|
'MEMORY_COST' :: string(),
|
|
'DISK_COST' :: string(),
|
|
'TOTAL_COST' :: string(),
|
|
'HOURS' :: string()}).
|
|
|
|
-type 'SHOWBACK_RECORDS/SEQ1/SHOWBACK'() :: #'SHOWBACK_RECORDS/SEQ1/SHOWBACK'{}. |