version_info Class Reference
[System Library]

#include <winstl/system/version_info.hpp>

List of all members.


Detailed Description

Provides convenient access to aspects of a module's version information.

Public Types

typedef version_info class_type
 This type.

Public Member Functions

Construction
 version_info (char const *moduleName)
 Creates an instance corresponding to the version information from the given module.
 version_info (wchar_t const *moduleName)
 Creates an instance corresponding to the version information from the given module.
 ~version_info () throw ()
 Releases any allocated resources.
Properties
size_t Length () const
 The length of the version information.
size_t ValueLength () const
 The length of the value part of the version block.
size_t Type () const
 The type field in the version block.
wchar_t const * Key () const
 The key of the version block.
fixed_file_info FixedFileInfo () const
 The FixedFileInfo part of the block.
bool HasVarFileInfo () const
 Indicates whether the module contains a VarFileInfo block.
VsVarFileInfo VarFileInfo () const
 The VarFileInfo part of the block.
bool HasStringFileInfo () const
 Indicates whether the module contains a StringFileInfo block.
VsStringFileInfo StringFileInfo () const
 The StringFileInfo part of the block.

Member Typedef Documentation

This type.


Constructor & Destructor Documentation

version_info ( char const *  moduleName  )  [explicit]

Creates an instance corresponding to the version information from the given module.

Parameters:
moduleName The name of the module (.exe, .dll, etc.) to load

version_info ( wchar_t const *  moduleName  )  [explicit]

Creates an instance corresponding to the version information from the given module.

Parameters:
moduleName The name of the module (.exe, .dll, etc.) to load

~version_info (  )  throw ()

Releases any allocated resources.


Member Function Documentation

size_t Length (  )  const

The length of the version information.

size_t ValueLength (  )  const

The length of the value part of the version block.

size_t Type (  )  const

The type field in the version block.

wchar_t const* Key (  )  const

The key of the version block.

fixed_file_info FixedFileInfo (  )  const

The FixedFileInfo part of the block.

bool HasVarFileInfo (  )  const

Indicates whether the module contains a VarFileInfo block.

VsVarFileInfo VarFileInfo (  )  const

The VarFileInfo part of the block.

bool HasStringFileInfo (  )  const

Indicates whether the module contains a StringFileInfo block.

VsStringFileInfo StringFileInfo (  )  const

The StringFileInfo part of the block.


The documentation for this class was generated from the following file:

Generated on Thu Jun 10 08:59:40 2010 for STLSoft by  doxygen 1.5.6