Audacity 3.2.0
Namespaces | Functions
PluginInterface.cpp File Reference
#include "PluginInterface.h"
#include <algorithm>
Include dependency graph for PluginInterface.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{PluginInterface.cpp}
 

Functions

std::vector< long > anonymous_namespace{PluginInterface.cpp}::Split (const PluginRegistryVersion &regver)
 
bool Regver_eq (const PluginRegistryVersion &regver1, const PluginRegistryVersion &regver2)
 
bool Regver_lt (const PluginRegistryVersion &regver1, const PluginRegistryVersion &regver2)
 

Function Documentation

◆ Regver_eq()

bool Regver_eq ( const PluginRegistryVersion regver1,
const PluginRegistryVersion regver2 
)

Definition at line 28 of file PluginInterface.cpp.

30{
31 auto numbers1 = Split(regver1)
32 , numbers2 = Split(regver2);
33 return std::equal(
34 regver1.begin(), regver1.end(), regver2.begin(), regver2.end());
35}
std::vector< long > Split(const PluginRegistryVersion &regver)

References anonymous_namespace{PluginInterface.cpp}::Split().

Referenced by BuiltinEffectsModule::AutoRegisterPlugins().

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

◆ Regver_lt()

bool Regver_lt ( const PluginRegistryVersion regver1,
const PluginRegistryVersion regver2 
)

Definition at line 37 of file PluginInterface.cpp.

39{
40 auto numbers1 = Split(regver1)
41 , numbers2 = Split(regver2);
42 return std::lexicographical_compare(
43 regver1.begin(), regver1.end(), regver2.begin(), regver2.end());
44}

References anonymous_namespace{PluginInterface.cpp}::Split().

Referenced by PluginManager::Load(), and Regver_le().

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