Aegis  4.25.D505
Data Structures | Defines | Enumerations | Functions | Variables
/home/archives/aegis/branch.4/branch.25/delta28933.505/libaegis/pattr.fmtgen.h File Reference
#include <libaegis/meta_type.h>
#include <libaegis/output.h>
#include <common/str.h>
#include <common/debug.h>
#include <common/nstring.h>

Go to the source code of this file.

Data Structures

struct  metric_ty
struct  metric_list_ty
struct  history_version_ty
struct  attributes_ty
struct  attributes_list_ty
struct  pattr_copyright_years_list_ty
struct  pattr_ty

Defines

#define change_cause_DEF
#define change_cause_max   7
#define file_action_DEF
#define file_action_max   5
#define file_usage_DEF
#define file_usage_max   5
#define metric_DEF
#define metric_name_mask   ((unsigned long)0)
#define metric_value_mask   ((unsigned long)1 << 0)
#define metric_trace(x)
#define metric_list_DEF
#define metric_list_trace(x)
#define history_version_encoding_DEF
#define history_version_encoding_max   3
#define history_version_DEF
#define history_version_revision_mask   ((unsigned long)0)
#define history_version_encoding_mask   ((unsigned long)1 << 0)
#define history_version_uuid_mask   ((unsigned long)0)
#define history_version_trace(x)
#define attributes_DEF
#define attributes_name_mask   ((unsigned long)0)
#define attributes_value_mask   ((unsigned long)0)
#define attributes_trace(x)
#define attributes_list_DEF
#define attributes_list_trace(x)
#define pattr_copyright_years_list_DEF
#define pattr_copyright_years_list_trace(x)
#define pattr_develop_end_action_DEF
#define pattr_develop_end_action_max   3
#define pattr_DEF
#define pattr_description_mask   ((unsigned long)0)
#define pattr_developer_may_review_mask   ((unsigned long)1 << 0)
#define pattr_developer_may_integrate_mask   ((unsigned long)1 << 1)
#define pattr_reviewer_may_integrate_mask   ((unsigned long)1 << 2)
#define pattr_developers_may_create_changes_mask   ((unsigned long)1 << 3)
#define pattr_forced_develop_begin_notify_command_mask   ((unsigned long)0)
#define pattr_develop_end_notify_command_mask   ((unsigned long)0)
#define pattr_develop_end_undo_notify_command_mask   ((unsigned long)0)
#define pattr_review_begin_notify_command_mask   ((unsigned long)0)
#define pattr_review_begin_undo_notify_command_mask   ((unsigned long)0)
#define pattr_review_pass_notify_command_mask   ((unsigned long)0)
#define pattr_review_pass_undo_notify_command_mask   ((unsigned long)0)
#define pattr_review_fail_notify_command_mask   ((unsigned long)0)
#define pattr_integrate_pass_notify_command_mask   ((unsigned long)0)
#define pattr_integrate_fail_notify_command_mask   ((unsigned long)0)
#define pattr_default_development_directory_mask   ((unsigned long)0)
#define pattr_umask_mask   ((unsigned long)1 << 4)
#define pattr_default_test_exemption_mask   ((unsigned long)1 << 5)
#define pattr_default_test_regression_exemption_mask   ((unsigned long)1 << 6)
#define pattr_copyright_years_mask   ((unsigned long)0)
#define pattr_minimum_change_number_mask   ((unsigned long)1 << 7)
#define pattr_reuse_change_numbers_mask   ((unsigned long)1 << 8)
#define pattr_minimum_branch_number_mask   ((unsigned long)1 << 9)
#define pattr_skip_unlucky_mask   ((unsigned long)1 << 10)
#define pattr_compress_database_mask   ((unsigned long)1 << 11)
#define pattr_develop_end_action_mask   ((unsigned long)1 << 12)
#define pattr_protect_development_directory_mask   ((unsigned long)1 << 13)
#define pattr_trace(x)

Enumerations

enum  change_cause_ty {
  change_cause_external_bug, change_cause_external_enhancement, change_cause_external_improvement, change_cause_internal_bug,
  change_cause_internal_enhancement, change_cause_internal_improvement, change_cause_chain, change_cause_external_bug,
  change_cause_external_enhancement, change_cause_external_improvement, change_cause_internal_bug, change_cause_internal_enhancement,
  change_cause_internal_improvement, change_cause_chain, change_cause_external_bug, change_cause_external_enhancement,
  change_cause_external_improvement, change_cause_internal_bug, change_cause_internal_enhancement, change_cause_internal_improvement,
  change_cause_chain, change_cause_external_bug, change_cause_external_enhancement, change_cause_external_improvement,
  change_cause_internal_bug, change_cause_internal_enhancement, change_cause_internal_improvement, change_cause_chain,
  change_cause_external_bug, change_cause_external_enhancement, change_cause_external_improvement, change_cause_internal_bug,
  change_cause_internal_enhancement, change_cause_internal_improvement, change_cause_chain, change_cause_external_bug,
  change_cause_external_enhancement, change_cause_external_improvement, change_cause_internal_bug, change_cause_internal_enhancement,
  change_cause_internal_improvement, change_cause_chain, change_cause_external_bug, change_cause_external_enhancement,
  change_cause_external_improvement, change_cause_internal_bug, change_cause_internal_enhancement, change_cause_internal_improvement,
  change_cause_chain
}
enum  file_action_ty {
  file_action_create, file_action_modify, file_action_remove, file_action_insulate,
  file_action_transparent, file_action_create, file_action_modify, file_action_remove,
  file_action_insulate, file_action_transparent, file_action_create, file_action_modify,
  file_action_remove, file_action_insulate, file_action_transparent, file_action_create,
  file_action_modify, file_action_remove, file_action_insulate, file_action_transparent,
  file_action_create, file_action_modify, file_action_remove, file_action_insulate,
  file_action_transparent, file_action_create, file_action_modify, file_action_remove,
  file_action_insulate, file_action_transparent, file_action_create, file_action_modify,
  file_action_remove, file_action_insulate, file_action_transparent
}
enum  file_usage_ty {
  file_usage_source, file_usage_config, file_usage_build, file_usage_test,
  file_usage_manual_test, file_usage_source, file_usage_config, file_usage_build,
  file_usage_test, file_usage_manual_test, file_usage_source, file_usage_config,
  file_usage_build, file_usage_test, file_usage_manual_test, file_usage_source,
  file_usage_config, file_usage_build, file_usage_test, file_usage_manual_test,
  file_usage_source, file_usage_config, file_usage_build, file_usage_test,
  file_usage_manual_test, file_usage_source, file_usage_config, file_usage_build,
  file_usage_test, file_usage_manual_test, file_usage_source, file_usage_config,
  file_usage_build, file_usage_test, file_usage_manual_test
}
enum  history_version_encoding_ty {
  history_version_encoding_none, history_version_encoding_quoted_printable, history_version_encoding_base64, history_version_encoding_none,
  history_version_encoding_quoted_printable, history_version_encoding_base64, history_version_encoding_none, history_version_encoding_quoted_printable,
  history_version_encoding_base64, history_version_encoding_none, history_version_encoding_quoted_printable, history_version_encoding_base64,
  history_version_encoding_none, history_version_encoding_quoted_printable, history_version_encoding_base64, history_version_encoding_none,
  history_version_encoding_quoted_printable, history_version_encoding_base64, history_version_encoding_none, history_version_encoding_quoted_printable,
  history_version_encoding_base64
}
enum  pattr_develop_end_action_ty { pattr_develop_end_action_goto_being_reviewed, pattr_develop_end_action_goto_awaiting_review, pattr_develop_end_action_goto_awaiting_integration }

Functions

void change_cause_write (const output::pointer &fp, const char *name, change_cause_ty value, bool show)
void change_cause_write_xml (const output::pointer &fp, const char *name, change_cause_ty value, bool show)
const char * change_cause_ename (change_cause_ty)
void change_cause__rpt_init (void)
void file_action_write (const output::pointer &fp, const char *name, file_action_ty value, bool show)
void file_action_write_xml (const output::pointer &fp, const char *name, file_action_ty value, bool show)
const char * file_action_ename (file_action_ty)
void file_action__rpt_init (void)
void file_usage_write (const output::pointer &fp, const char *name, file_usage_ty value, bool show)
void file_usage_write_xml (const output::pointer &fp, const char *name, file_usage_ty value, bool show)
const char * file_usage_ename (file_usage_ty)
void file_usage__rpt_init (void)
void metric_write (const output::pointer &fp, const char *name, metric_ty *value)
void metric_write_xml (const output::pointer &fp, const char *name, metric_ty *value)
metric_tymetric_copy (metric_ty *)
metric_tymetric_clone (metric_ty *)
metric_list_tymetric_list_copy (metric_list_ty *)
metric_list_tymetric_list_clone (metric_list_ty *)
void metric_list_write (const output::pointer &fp, const char *name, metric_list_ty *value)
void metric_list_write_xml (const output::pointer &fp, const char *name, metric_list_ty *value)
void history_version_encoding_write (const output::pointer &fp, const char *name, history_version_encoding_ty value, bool show)
void history_version_encoding_write_xml (const output::pointer &fp, const char *name, history_version_encoding_ty value, bool show)
const char * history_version_encoding_ename (history_version_encoding_ty)
void history_version_encoding__rpt_init (void)
void history_version_write (const output::pointer &fp, const char *name, history_version_ty *value)
void history_version_write_xml (const output::pointer &fp, const char *name, history_version_ty *value)
history_version_tyhistory_version_copy (history_version_ty *)
history_version_tyhistory_version_clone (history_version_ty *)
void attributes_write (const output::pointer &fp, const char *name, attributes_ty *value)
void attributes_write_xml (const output::pointer &fp, const char *name, attributes_ty *value)
attributes_tyattributes_copy (attributes_ty *)
attributes_tyattributes_clone (attributes_ty *)
attributes_list_tyattributes_list_copy (attributes_list_ty *)
attributes_list_tyattributes_list_clone (attributes_list_ty *)
void attributes_list_write (const output::pointer &fp, const char *name, attributes_list_ty *value)
void attributes_list_write_xml (const output::pointer &fp, const char *name, attributes_list_ty *value)
pattr_copyright_years_list_typattr_copyright_years_list_copy (pattr_copyright_years_list_ty *)
pattr_copyright_years_list_typattr_copyright_years_list_clone (pattr_copyright_years_list_ty *)
void pattr_copyright_years_list_write (const output::pointer &fp, const char *name, pattr_copyright_years_list_ty *value)
void pattr_copyright_years_list_write_xml (const output::pointer &fp, const char *name, pattr_copyright_years_list_ty *value)
void pattr_develop_end_action_write (const output::pointer &fp, const char *name, pattr_develop_end_action_ty value, bool show)
void pattr_develop_end_action_write_xml (const output::pointer &fp, const char *name, pattr_develop_end_action_ty value, bool show)
const char * pattr_develop_end_action_ename (pattr_develop_end_action_ty)
void pattr_develop_end_action__rpt_init (void)
void pattr_write (const output::pointer &fp, pattr_ty *value)
void pattr_write_xml (const output::pointer &fp, pattr_ty *value)
pattr_typattr_copy (pattr_ty *)
pattr_typattr_clone (pattr_ty *)
void pattr_write_file (string_ty *filename, pattr_ty *value, int comp)
void pattr_write_file (const nstring &filnam, pattr_ty *value, bool comp)
pattr_typattr_read_file (string_ty *filename)
pattr_typattr_read_file (const nstring &filename)
void pattr__rpt_init (void)

Variables

meta_type change_cause_type
meta_type file_action_type
meta_type file_usage_type
meta_type metric_type
meta_type metric_list_type
meta_type history_version_encoding_type
meta_type history_version_type
meta_type attributes_type
meta_type attributes_list_type
meta_type pattr_copyright_years_list_type
meta_type pattr_develop_end_action_type
meta_type pattr_type

Define Documentation

#define attributes_DEF

Definition at line 182 of file pattr.fmtgen.h.

Definition at line 213 of file pattr.fmtgen.h.

#define attributes_list_trace (   x)

Definition at line 233 of file pattr.fmtgen.h.

#define attributes_name_mask   ((unsigned long)0)

Definition at line 184 of file pattr.fmtgen.h.

#define attributes_trace (   x)

Definition at line 208 of file pattr.fmtgen.h.

#define attributes_value_mask   ((unsigned long)0)

Definition at line 185 of file pattr.fmtgen.h.

Definition at line 11 of file pattr.fmtgen.h.

#define change_cause_max   7

Definition at line 22 of file pattr.fmtgen.h.

#define file_action_DEF

Definition at line 33 of file pattr.fmtgen.h.

#define file_action_max   5

Definition at line 42 of file pattr.fmtgen.h.

#define file_usage_DEF

Definition at line 53 of file pattr.fmtgen.h.

#define file_usage_max   5

Definition at line 62 of file pattr.fmtgen.h.

Definition at line 149 of file pattr.fmtgen.h.

Definition at line 131 of file pattr.fmtgen.h.

#define history_version_encoding_mask   ((unsigned long)1 << 0)

Definition at line 152 of file pattr.fmtgen.h.

Definition at line 138 of file pattr.fmtgen.h.

#define history_version_revision_mask   ((unsigned long)0)

Definition at line 151 of file pattr.fmtgen.h.

#define history_version_trace (   x)

Definition at line 177 of file pattr.fmtgen.h.

#define history_version_uuid_mask   ((unsigned long)0)

Definition at line 153 of file pattr.fmtgen.h.

#define metric_DEF

Definition at line 74 of file pattr.fmtgen.h.

#define metric_list_DEF

Definition at line 106 of file pattr.fmtgen.h.

#define metric_list_trace (   x)

Definition at line 126 of file pattr.fmtgen.h.

#define metric_name_mask   ((unsigned long)0)

Definition at line 76 of file pattr.fmtgen.h.

#define metric_trace (   x)

Definition at line 101 of file pattr.fmtgen.h.

#define metric_value_mask   ((unsigned long)1 << 0)

Definition at line 77 of file pattr.fmtgen.h.

#define pattr_compress_database_mask   ((unsigned long)1 << 11)

Definition at line 307 of file pattr.fmtgen.h.

Definition at line 238 of file pattr.fmtgen.h.

Definition at line 258 of file pattr.fmtgen.h.

#define pattr_copyright_years_mask   ((unsigned long)0)

Definition at line 302 of file pattr.fmtgen.h.

#define pattr_DEF

Definition at line 281 of file pattr.fmtgen.h.

#define pattr_default_development_directory_mask   ((unsigned long)0)

Definition at line 298 of file pattr.fmtgen.h.

#define pattr_default_test_exemption_mask   ((unsigned long)1 << 5)

Definition at line 300 of file pattr.fmtgen.h.

#define pattr_default_test_regression_exemption_mask   ((unsigned long)1 << 6)

Definition at line 301 of file pattr.fmtgen.h.

#define pattr_description_mask   ((unsigned long)0)

Definition at line 283 of file pattr.fmtgen.h.

Definition at line 263 of file pattr.fmtgen.h.

#define pattr_develop_end_action_mask   ((unsigned long)1 << 12)

Definition at line 308 of file pattr.fmtgen.h.

Definition at line 270 of file pattr.fmtgen.h.

#define pattr_develop_end_notify_command_mask   ((unsigned long)0)

Definition at line 289 of file pattr.fmtgen.h.

#define pattr_develop_end_undo_notify_command_mask   ((unsigned long)0)

Definition at line 290 of file pattr.fmtgen.h.

#define pattr_developer_may_integrate_mask   ((unsigned long)1 << 1)

Definition at line 285 of file pattr.fmtgen.h.

#define pattr_developer_may_review_mask   ((unsigned long)1 << 0)

Definition at line 284 of file pattr.fmtgen.h.

#define pattr_developers_may_create_changes_mask   ((unsigned long)1 << 3)

Definition at line 287 of file pattr.fmtgen.h.

#define pattr_forced_develop_begin_notify_command_mask   ((unsigned long)0)

Definition at line 288 of file pattr.fmtgen.h.

#define pattr_integrate_fail_notify_command_mask   ((unsigned long)0)

Definition at line 297 of file pattr.fmtgen.h.

#define pattr_integrate_pass_notify_command_mask   ((unsigned long)0)

Definition at line 296 of file pattr.fmtgen.h.

#define pattr_minimum_branch_number_mask   ((unsigned long)1 << 9)

Definition at line 305 of file pattr.fmtgen.h.

#define pattr_minimum_change_number_mask   ((unsigned long)1 << 7)

Definition at line 303 of file pattr.fmtgen.h.

#define pattr_protect_development_directory_mask   ((unsigned long)1 << 13)

Definition at line 309 of file pattr.fmtgen.h.

#define pattr_reuse_change_numbers_mask   ((unsigned long)1 << 8)

Definition at line 304 of file pattr.fmtgen.h.

#define pattr_review_begin_notify_command_mask   ((unsigned long)0)

Definition at line 291 of file pattr.fmtgen.h.

#define pattr_review_begin_undo_notify_command_mask   ((unsigned long)0)

Definition at line 292 of file pattr.fmtgen.h.

#define pattr_review_fail_notify_command_mask   ((unsigned long)0)

Definition at line 295 of file pattr.fmtgen.h.

#define pattr_review_pass_notify_command_mask   ((unsigned long)0)

Definition at line 293 of file pattr.fmtgen.h.

#define pattr_review_pass_undo_notify_command_mask   ((unsigned long)0)

Definition at line 294 of file pattr.fmtgen.h.

#define pattr_reviewer_may_integrate_mask   ((unsigned long)1 << 2)

Definition at line 286 of file pattr.fmtgen.h.

#define pattr_skip_unlucky_mask   ((unsigned long)1 << 10)

Definition at line 306 of file pattr.fmtgen.h.

#define pattr_trace (   x)

Definition at line 357 of file pattr.fmtgen.h.

#define pattr_umask_mask   ((unsigned long)1 << 4)

Definition at line 299 of file pattr.fmtgen.h.


Enumeration Type Documentation

Enumerator:
change_cause_external_bug 
change_cause_external_enhancement 
change_cause_external_improvement 
change_cause_internal_bug 
change_cause_internal_enhancement 
change_cause_internal_improvement 
change_cause_chain 
change_cause_external_bug 
change_cause_external_enhancement 
change_cause_external_improvement 
change_cause_internal_bug 
change_cause_internal_enhancement 
change_cause_internal_improvement 
change_cause_chain 
change_cause_external_bug 
change_cause_external_enhancement 
change_cause_external_improvement 
change_cause_internal_bug 
change_cause_internal_enhancement 
change_cause_internal_improvement 
change_cause_chain 
change_cause_external_bug 
change_cause_external_enhancement 
change_cause_external_improvement 
change_cause_internal_bug 
change_cause_internal_enhancement 
change_cause_internal_improvement 
change_cause_chain 
change_cause_external_bug 
change_cause_external_enhancement 
change_cause_external_improvement 
change_cause_internal_bug 
change_cause_internal_enhancement 
change_cause_internal_improvement 
change_cause_chain 
change_cause_external_bug 
change_cause_external_enhancement 
change_cause_external_improvement 
change_cause_internal_bug 
change_cause_internal_enhancement 
change_cause_internal_improvement 
change_cause_chain 
change_cause_external_bug 
change_cause_external_enhancement 
change_cause_external_improvement 
change_cause_internal_bug 
change_cause_internal_enhancement 
change_cause_internal_improvement 
change_cause_chain 

Definition at line 12 of file pattr.fmtgen.h.

Enumerator:
file_action_create 
file_action_modify 
file_action_remove 
file_action_insulate 
file_action_transparent 
file_action_create 
file_action_modify 
file_action_remove 
file_action_insulate 
file_action_transparent 
file_action_create 
file_action_modify 
file_action_remove 
file_action_insulate 
file_action_transparent 
file_action_create 
file_action_modify 
file_action_remove 
file_action_insulate 
file_action_transparent 
file_action_create 
file_action_modify 
file_action_remove 
file_action_insulate 
file_action_transparent 
file_action_create 
file_action_modify 
file_action_remove 
file_action_insulate 
file_action_transparent 
file_action_create 
file_action_modify 
file_action_remove 
file_action_insulate 
file_action_transparent 

Definition at line 34 of file pattr.fmtgen.h.

Enumerator:
file_usage_source 
file_usage_config 
file_usage_build 
file_usage_test 
file_usage_manual_test 
file_usage_source 
file_usage_config 
file_usage_build 
file_usage_test 
file_usage_manual_test 
file_usage_source 
file_usage_config 
file_usage_build 
file_usage_test 
file_usage_manual_test 
file_usage_source 
file_usage_config 
file_usage_build 
file_usage_test 
file_usage_manual_test 
file_usage_source 
file_usage_config 
file_usage_build 
file_usage_test 
file_usage_manual_test 
file_usage_source 
file_usage_config 
file_usage_build 
file_usage_test 
file_usage_manual_test 
file_usage_source 
file_usage_config 
file_usage_build 
file_usage_test 
file_usage_manual_test 

Definition at line 54 of file pattr.fmtgen.h.

Enumerator:
history_version_encoding_none 
history_version_encoding_quoted_printable 
history_version_encoding_base64 
history_version_encoding_none 
history_version_encoding_quoted_printable 
history_version_encoding_base64 
history_version_encoding_none 
history_version_encoding_quoted_printable 
history_version_encoding_base64 
history_version_encoding_none 
history_version_encoding_quoted_printable 
history_version_encoding_base64 
history_version_encoding_none 
history_version_encoding_quoted_printable 
history_version_encoding_base64 
history_version_encoding_none 
history_version_encoding_quoted_printable 
history_version_encoding_base64 
history_version_encoding_none 
history_version_encoding_quoted_printable 
history_version_encoding_base64 

Definition at line 132 of file pattr.fmtgen.h.

Enumerator:
pattr_develop_end_action_goto_being_reviewed 
pattr_develop_end_action_goto_awaiting_review 
pattr_develop_end_action_goto_awaiting_integration 

Definition at line 264 of file pattr.fmtgen.h.


Function Documentation

void attributes_list_write ( const output::pointer fp,
const char *  name,
attributes_list_ty value 
)
void attributes_list_write_xml ( const output::pointer fp,
const char *  name,
attributes_list_ty value 
)
void attributes_write ( const output::pointer fp,
const char *  name,
attributes_ty value 
)
void attributes_write_xml ( const output::pointer fp,
const char *  name,
attributes_ty value 
)
void change_cause__rpt_init ( void  )
void change_cause_write ( const output::pointer fp,
const char *  name,
change_cause_ty  value,
bool  show 
)
void change_cause_write_xml ( const output::pointer fp,
const char *  name,
change_cause_ty  value,
bool  show 
)
void file_action__rpt_init ( void  )
const char* file_action_ename ( file_action_ty  )
void file_action_write ( const output::pointer fp,
const char *  name,
file_action_ty  value,
bool  show 
)
void file_action_write_xml ( const output::pointer fp,
const char *  name,
file_action_ty  value,
bool  show 
)
void file_usage__rpt_init ( void  )
const char* file_usage_ename ( file_usage_ty  )
void file_usage_write ( const output::pointer fp,
const char *  name,
file_usage_ty  value,
bool  show 
)
void file_usage_write_xml ( const output::pointer fp,
const char *  name,
file_usage_ty  value,
bool  show 
)
void history_version_encoding_write ( const output::pointer fp,
const char *  name,
history_version_encoding_ty  value,
bool  show 
)
void history_version_encoding_write_xml ( const output::pointer fp,
const char *  name,
history_version_encoding_ty  value,
bool  show 
)
void history_version_write ( const output::pointer fp,
const char *  name,
history_version_ty value 
)
void history_version_write_xml ( const output::pointer fp,
const char *  name,
history_version_ty value 
)
void metric_list_write ( const output::pointer fp,
const char *  name,
metric_list_ty value 
)
void metric_list_write_xml ( const output::pointer fp,
const char *  name,
metric_list_ty value 
)
void metric_write ( const output::pointer fp,
const char *  name,
metric_ty value 
)
void metric_write_xml ( const output::pointer fp,
const char *  name,
metric_ty value 
)
void pattr__rpt_init ( void  )
void pattr_copyright_years_list_write ( const output::pointer fp,
const char *  name,
pattr_copyright_years_list_ty value 
)
void pattr_copyright_years_list_write_xml ( const output::pointer fp,
const char *  name,
pattr_copyright_years_list_ty value 
)
void pattr_develop_end_action_write ( const output::pointer fp,
const char *  name,
pattr_develop_end_action_ty  value,
bool  show 
)
void pattr_develop_end_action_write_xml ( const output::pointer fp,
const char *  name,
pattr_develop_end_action_ty  value,
bool  show 
)

The pattr_read_file function is used to read pattr meta data from the named file.

Parameters:
filenameThe name of the file to be read.
Returns:
a pointer to a dynamically allocated value read from the file.
Note:
If any errors are encountered, this function will not return. All errors (including syntax errors) will print a fatal error message, and exit with an exit status of 1.
pattr_ty* pattr_read_file ( const nstring filename)

The pattr_read_file function is used to read pattr meta data from the named file.

Parameters:
filenameThe name of the file to be read.
Returns:
a pointer to a dynamically allocated value read from the file.
Note:
If any errors are encountered, this function will not return. All errors (including syntax errors) will print a fatal error message, and exit with an exit status of 1.
void pattr_write ( const output::pointer fp,
pattr_ty value 
)
void pattr_write_file ( string_ty filename,
pattr_ty value,
int  comp 
)

The pattr_write_file function is used to write pattr meta data to the named file.

Parameters:
filenameThe name of the file to be written.
valueThe value of the meta-data to be written.
comptrue (non-zero) if data should be compressed.
Note:
If any errors are encountered, this function will not return. All errors will print a fatal error message, and exit with an exit status of 1.
void pattr_write_file ( const nstring filnam,
pattr_ty value,
bool  comp 
)

The pattr_write_file function is used to write pattr meta data to the named file.

Parameters:
filnamThe name of the file to be written.
valueThe value of the meta-data to be written.
comptrue if data should be compressed.
Note:
If any errors are encountered, this function will not return. All errors will print a fatal error message, and exit with an exit status of 1.
void pattr_write_xml ( const output::pointer fp,
pattr_ty value 
)

Variable Documentation