1 #ifndef VERSION_INI_CLASS
2 #define VERSION_INI_CLASS
Provides a dynamically resizable ASCII character string.
Supports a configurator-based interface on text initialization files.
Provides operations commonly needed on file names.
Holds all information about a file's versioning.
Holds a file's version identifier.
This provides support for writing windows version files.
static const char * EXTENSION
structures::version read_version_from_ini()
specialized version ignores cache and gets version directly from file.
structures::version get_version()
observes or modifies the version number structure held here.
bool write_code(const basis::astring &header_store, const structures::version_record &to_write)
writes out the header ('X_version.h') with the version information.
static const char * PRODUCT_KEY
void set_record(const structures::version_record &to_write, bool write_to_ini)
modifies the entire version record.
static const char * COMPANY_KEY
void set_version(const structures::version &to_write, bool write_to_ini)
sets the version held here.
bool write_assembly(const basis::astring &header_store, const structures::version_record &to_write, bool do_logging)
fixes any assemblies with the info in "to_write".
static bool one_stop_version_stamp(const basis::astring &path, const basis::astring &header_store, const basis::astring &source_version, bool do_logging)
performs version stamping using the ini file in "path".
static const char * DESCRIPTION
structures::version_record get_record()
observes the entire version record.
bool library()
returns true if this version file is for a dynamic library.
static const char * COPYRIGHT_KEY
static const char * MINOR
bool writable()
returns true if the INI file specified in the constructor is writable.
static const char * LEGAL_INFO_KEY
static const char * REVISION
static const char * OLE_AUTO
static const char * MAJOR
static const char * WEB_SITE_KEY
static const char * BUILD
static const char * VERSION_SECTION
bool ole_auto_registering()
returns true if this version file specifies ole auto registration.
bool write_rc(const basis::astring &header_store, const structures::version_record &to_write)
writes out the file 'X_version.rc' for the X library or application.
DEFINE_CLASS_NAME("version_ini")
bool executable()
returns true if this version file is for an executable.
version_ini(const basis::astring &path_name)
the "path_name" is where the version INI file is located.
structures::version_record & access_record()
provides access to change the version_record held here.