Loading...
Searching...
No Matches
comps_docenv.h
Go to the documentation of this file.
#ifndef COMPS_DOCENV_H
#define COMPS_DOCENV_H
#include <stddef.h>
#include <assert.h>
#include "comps_utils.h"
#include "comps_obj.h"
#include "comps_objdict.h"
#include "comps_objlist.h"
#include "comps_docgroupid.h"
#include "comps_validate.h"
#include "comps_radix.h"
#include "comps_log.h"
#include "comps_default.h"
typedef struct {
COMPS_Object_HEAD;
COMPS_ObjDict *properties;
COMPS_ObjDict *name_by_lang;
COMPS_ObjDict *desc_by_lang;
COMPS_ObjList *group_list;
COMPS_ObjList *option_list;
} COMPS_DocEnv;
//HEAD_COMPS_CREATE_u(docenv, COMPS_DocEnv) /*comps_utils.h macro*/
//HEAD_COMPS_COPY_u(docenv, COMPS_DocEnv) /*comps_utils.h macro*/
//HEAD_COMPS_DESTROY_u(docenv, COMPS_DocEnv) /*comps_utils.h macro*/
HEAD_COMPS_STRPROP_SETTER(env, COMPS_DocEnv, id) /*comps_utils.h macro*/
HEAD_COMPS_STRPROP_SETTER(env, COMPS_DocEnv, name) /*comps_utils.h macro*/
HEAD_COMPS_STRPROP_SETTER(env, COMPS_DocEnv, desc) /*comps_utils.h macro*/
HEAD_COMPS_NUMPROP_SETTER(env, COMPS_DocEnv, display_order) /*comps_utils.h macro*/
HEAD_COMPS_PROP_GETTER(env, COMPS_DocEnv, id) /*comps_utils.h macro*/
HEAD_COMPS_PROP_GETTER_OBJ(env, id) /*comps_utils.h macro*/
HEAD_COMPS_PROP_GETTER(env, COMPS_DocEnv, name) /*comps_utils.h macro*/
HEAD_COMPS_PROP_GETTER(env, COMPS_DocEnv, desc) /*comps_utils.h macro*/
HEAD_COMPS_PROP_GETTER(env, COMPS_DocEnv, display_order) /*comps_utils.h macro*/
HEAD_COMPS_DOCOBJ_GETOBJLIST(docenv, COMPS_DocEnv, group_list, group_list)
HEAD_COMPS_DOCOBJ_GETOBJLIST(docenv, COMPS_DocEnv, option_list, option_list)
HEAD_COMPS_DOCOBJ_SETOBJLIST(docenv, COMPS_DocEnv, group_list, group_list)
HEAD_COMPS_DOCOBJ_SETOBJLIST(docenv, COMPS_DocEnv, option_list, option_list)
HEAD_COMPS_DOCOBJ_GETARCHES(docenv, COMPS_DocEnv)
HEAD_COMPS_DOCOBJ_SETARCHES(docenv, COMPS_DocEnv)
char __comps_docenv_idcmp(void *e1, void *e2);
void comps_docenv_add_groupid(COMPS_DocEnv *env,
COMPS_DocGroupId *gid);
void comps_docenv_add_optionid(COMPS_DocEnv *env,
COMPS_DocGroupId *gid);
COMPS_DocEnv* comps_docenv_union(COMPS_DocEnv *e1, COMPS_DocEnv *e2);
COMPS_DocEnv* comps_docenv_intersect(COMPS_DocEnv *e1, COMPS_DocEnv *e2);
signed char comps_docenv_xml(COMPS_DocEnv *env, xmlTextWriterPtr writer,
COMPS_Log *log, COMPS_XMLOptions *xml_options,
COMPS_DefaultsOptions *def_options);
COMPS_DocEnv* comps_docenv_arch_filter(COMPS_DocEnv *source,
COMPS_ObjList *arches);
extern COMPS_ObjectInfo COMPS_DocEnv_ObjInfo;
extern COMPS_ValRuleGeneric* COMPS_DocEnv_ValidateRules[];
#endif
comps_docenv_union
COMPS_DocEnv * comps_docenv_union(COMPS_DocEnv *e1, COMPS_DocEnv *e2)
comps_docenv_add_optionid
void comps_docenv_add_optionid(COMPS_DocEnv *env, COMPS_DocGroupId *gid)
comps_docenv_intersect
COMPS_DocEnv * comps_docenv_intersect(COMPS_DocEnv *e1, COMPS_DocEnv *e2)
comps_docenv_add_groupid
void comps_docenv_add_groupid(COMPS_DocEnv *env, COMPS_DocGroupId *gid)
comps_docgroupid.h
COMPS_DocGroupId header file.
comps_obj.h
COMPS_Object header file.
COMPS_Object_HEAD
#define COMPS_Object_HEAD
Definition comps_obj.h:86
comps_objdict.h
Libcomps dictionary and multi-dictionary. COMPS_ObjDict and COMPS_ObjMDict are both derivates of COMP...
comps_objlist.h
A Documented file. Details.
COMPS_DocEnv
Definition comps_docenv.h:18
COMPS_DocEnv::name_by_lang
COMPS_ObjDict * name_by_lang
Definition comps_docenv.h:22
COMPS_DocEnv::group_list
COMPS_ObjList * group_list
Definition comps_docenv.h:26
COMPS_DocEnv::option_list
COMPS_ObjList * option_list
Definition comps_docenv.h:28
COMPS_DocEnv::desc_by_lang
COMPS_ObjDict * desc_by_lang
Definition comps_docenv.h:24
COMPS_DocEnv::properties
COMPS_ObjDict * properties
Definition comps_docenv.h:20
COMPS_DocGroupId
Definition comps_docgroupid.h:36
COMPS_ObjList
Definition comps_objlist.h:41
COMPS_ObjectInfo
Definition comps_obj.h:102