basic-xml 1.0.1
Very basic loader/writer of XML tags with attributes and content.
Functions
version.cpp File Reference

The basic XML libray is used to load basic XML files. More...

#include "basic-xml/version.h"
#include <snapdev/poison.h>
Include dependency graph for version.cpp:

Go to the source code of this file.

Functions

int basic_xml::get_major_version ()
 Get the major version of the library.
 
int basic_xml::get_patch_version ()
 Get the patch version of the library.
 
int basic_xml::get_release_version ()
 Get the minor version of the library.
 
char const * basic_xml::get_version_string ()
 Get the full version of the library as a string.
 

Detailed Description

This file defines the function returning the basic-xml library version.

The #define give you the library version at the time you are compiling. The functions allow you to retrieve the version of a dynamically linked library.

Definition in file version.cpp.

Function Documentation

◆ get_major_version()

int basic_xml::get_major_version ( )

This function returns the major version of the running library (the one you are linked against at runtime).

Returns
The major version.

Definition at line 53 of file version.cpp.

References basic_xml::get_major_version().

Referenced by basic_xml::get_major_version().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_patch_version()

int basic_xml::get_patch_version ( )

This function returns the patch version of the running library (the one you are linked against at runtime).

Returns
The patch version.

Definition at line 79 of file version.cpp.

References basic_xml::get_patch_version().

Referenced by basic_xml::get_patch_version().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_release_version()

int basic_xml::get_release_version ( )

This function returns the minor version of the running library (the one you are linked against at runtime).

Returns
The release version.

Definition at line 66 of file version.cpp.

References basic_xml::get_release_version().

Referenced by basic_xml::get_release_version().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_version_string()

char const * basic_xml::get_version_string ( )

This function returns the major, minor, and patch versions of the running library (the one you are linked against at runtime) in the form of a string.

The build version is not made available. In most cases we change the build version only to run a new build, so not code will have changed (some documentation and non-code files may changed between build versions; but the code will work exactly the same way.)

Returns
The library version.

Definition at line 98 of file version.cpp.

References basic_xml::get_version_string().

Referenced by basic_xml::get_version_string().

Here is the call graph for this function:
Here is the caller graph for this function:

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.