7 #ifndef __data_Writer_h__ 8 #define __data_Writer_h__ 15 #define FE_KW_RECORD "RECORD" 16 #define FE_KW_RECORDGROUP "RECORDGROUP" 17 #define FE_KW_DEFAULTGROUP "DEFAULTGROUP" 18 #define FE_KW_TEMPLATE "TEMPLATE" 19 #define FE_KW_ATTRIBUTE "ATTRIBUTE" 20 #define FE_KW_LAYOUT "LAYOUT" 21 #define FE_KW_INFO "INFO" 22 #define FE_KW_END "END" 23 #define FE_KW_COMMENT "COMMENT" 24 #define FE_KW_STARTBINARY '~' 25 #define FE_KW_ENDBINARY '~' 28 typedef std::map<sp<Layout>, t_layout_info> t_layout_loinfo;
29 typedef std::map<sp<RecordGroup>,
int> t_rg_id;
30 typedef std::map<sp<RecordArray>,
int> t_ra_id;
31 typedef std::map<void *, int> t_sb_id;
32 typedef std::map<sp<Attribute>,
int> t_attr_id;
33 typedef Array<sp<Attribute> > t_attr_array;
36 class FE_DL_EXPORT Writer :
public Counted
39 Writer(
void): m_name(
"Writer") {}
41 virtual void output(std::ostream &ostrm, sp<RecordGroup> spRG) = 0;
42 const String& name(
void)
const {
return m_name; }
kernel
Definition: namespace.dox:3