#include <compatibility_module.h>
 | 
|   | Compatibility_module () | 
|   | 
|   | Compatibility_module (Member_version &local_version) | 
|   | 
| Member_version &  | get_local_version () | 
|   | Returns this member version.  More...
  | 
|   | 
| void  | set_local_version (Member_version &local_version) | 
|   | Set the module local version.  More...
  | 
|   | 
| void  | add_incompatibility (Member_version &from, Member_version &to) | 
|   | Add a incompatibility between the given members.  More...
  | 
|   | 
| void  | add_incompatibility (Member_version &from, Member_version &to_min, Member_version &to_max) | 
|   | Add a incompatibility between a range of member versions.  More...
  | 
|   | 
| Compatibility_type  | check_incompatibility (Member_version &from, Member_version &to, bool do_version_check, const std::set< Member_version > &all_members_versions) | 
|   | Checks if the given version is incompatible with another version.  More...
  | 
|   | 
| bool  | check_version_range_incompatibility (Member_version &from, unsigned int to_min, unsigned int to_max) | 
|   | Checks if the given version is incompatible with another version.  More...
  | 
|   | 
| Compatibility_type  | check_local_incompatibility (Member_version &to, bool is_lowest_version, const std::set< Member_version > &all_members_versions) | 
|   | Checks if the given version is compatible with this member local version.  More...
  | 
|   | 
| virtual  | ~Compatibility_module () | 
|   | 
◆ Compatibility_module() [1/2]
      
        
          | Compatibility_module::Compatibility_module  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ Compatibility_module() [2/2]
      
        
          | Compatibility_module::Compatibility_module  | 
          ( | 
          Member_version &  | 
          local_version | ) | 
           | 
        
      
 
 
◆ ~Compatibility_module()
  
  
      
        
          | Compatibility_module::~Compatibility_module  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ add_incompatibility() [1/2]
Add a incompatibility between the given members. 
- Parameters
 - 
  
    | from | The member that is not compatible with 'to'  | 
    | to | The member with which 'from' is not compatible with  | 
  
   
 
 
◆ add_incompatibility() [2/2]
Add a incompatibility between a range of member versions. 
- Parameters
 - 
  
    | from | The member that is not compatible with 'to'  | 
    | to_min | The minimum version with which 'from' is not compatible with  | 
    | to_max | The maximum version with which 'from' is not compatible with  | 
  
   
 
 
◆ are_all_versions_8_0_lts()
  
  
      
        
          | bool Compatibility_module::are_all_versions_8_0_lts  | 
          ( | 
          const std::set< Member_version > &  | 
          all_members_versions | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Checks if the provided versions are 8.0.35 or a higher 8.0 patch version. 
- Parameters
 - 
  
    | all_members_versions | The versions | 
  
   
- Returns
 
- Return values
 - 
  
    | true | All versions are 8.0.35 or a higher 8.0 patch version  | 
    | false | Otherwise  | 
  
   
 
 
◆ check_incompatibility()
Checks if the given version is incompatible with another version. 
- Parameters
 - 
  
    | from | The member that may be not compatible with 'to'  | 
    | to | The member with which 'from' may be not compatible with  | 
    | do_version_check | If version compatibility check is needed  | 
    | all_members_versions | The version of all members on the group  | 
  
   
- Returns
 - the compatibility status 
 
- Return values
 - 
  
    | INCOMPATIBLE | The versions are not compatible with each other  | 
    | COMPATIBLE | The versions are compatible with each other  | 
    | READ_COMPATIBLE | The version 'from' can only read from 'to'  | 
  
   
We have already confirmed versions are not same. If joinee version is higher then group lowest version, its read compatible else joinee version is INCOMPATIBLE with the group.
 
 
◆ check_local_incompatibility()
Checks if the given version is compatible with this member local version. 
- Parameters
 - 
  
    | to | The member with which 'from' may be not compatible with  | 
    | is_lowest_version | If to version is lowest in the group  | 
    | all_members_versions | The version of all members on the group  | 
  
   
- Returns
 - the compatibility status 
 
- Return values
 - 
  
    | INCOMPATIBLE | The versions are not compatible with each other  | 
    | COMPATIBLE | The versions are compatible with each other  | 
    | READ_COMPATIBLE | The version 'from' can only read from 'to'  | 
  
   
 
 
◆ check_version_incompatibility()
Checks if the given version is incompatible with another version. 
- Parameters
 - 
  
    | from | The member that may be not compatible with 'to'  | 
    | to | The member with which 'from' may be not compatible with  | 
  
   
- Returns
 - the compatibility status 
 
- Return values
 - 
  
    | INCOMPATIBLE | The versions are not compatible with each other  | 
    | COMPATIBLE | The versions are compatible with each other  | 
    | READ_COMPATIBLE | The version 'from' can only read from 'to'  | 
  
   
 
 
◆ check_version_range_incompatibility()
      
        
          | bool Compatibility_module::check_version_range_incompatibility  | 
          ( | 
          Member_version &  | 
          from,  | 
        
        
           | 
           | 
          unsigned int  | 
          to_min,  | 
        
        
           | 
           | 
          unsigned int  | 
          to_max  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Checks if the given version is incompatible with another version. 
- Parameters
 - 
  
    | from | The member that may be not compatible with 'to'  | 
    | to_min | The minimum version with which 'from' is not compatible with  | 
    | to_max | The maximum version with which 'from' is not compatible with | 
  
   
- Returns
 - the compatibility status 
 
- Return values
 - 
  
    | true | The version is in the range of the incompatible versions  | 
    | false | The version is not in the range of the incompatible versions  | 
  
   
 
 
◆ get_local_version()
Returns this member version. 
 
 
◆ is_version_8_0_lts()
  
  
      
        
          | bool Compatibility_module::is_version_8_0_lts  | 
          ( | 
          const Member_version &  | 
          version | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Checks if the version is 8.0.35 or a higher 8.0 patch version. 
- Parameters
 - 
  
  
 
- Returns
 
- Return values
 - 
  
    | true | The version is 8.0.35 or a higher 8.0 patch version  | 
    | false | Otherwise  | 
  
   
 
 
◆ set_local_version()
      
        
          | void Compatibility_module::set_local_version  | 
          ( | 
          Member_version &  | 
          local_version | ) | 
           | 
        
      
 
Set the module local version. 
- Parameters
 - 
  
    | local_version | the new local version to be set  | 
  
   
 
 
◆ incompatibilities
  
  
      
        
          | std::multimap<unsigned int, std::pair<unsigned int, unsigned int> > Compatibility_module::incompatibilities | 
         
       
   | 
  
private   | 
  
 
 
◆ local_version
The documentation for this class was generated from the following files: