OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ComparePairs Struct Reference

#include <cpp_python_funct.h>

Public Member Functions

bool operator() (const KeywordPair &lhs, const KeywordPair &rhs) const

Detailed Description

Definition at line 239 of file cpp_python_funct.h.

Member Function Documentation

◆ operator()()

bool ComparePairs::operator() ( const KeywordPair & lhs,
const KeywordPair & rhs ) const
inline

Definition at line 240 of file cpp_python_funct.h.

240 {
241 if (lhs.second == rhs.second) {
242 return lhs.first < rhs.first;
243 }
244 return std::string(lhs.second) < std::string(rhs.second);
245 }

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