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 254 of file cpp_python_funct.h.

Member Function Documentation

◆ operator()()

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

Definition at line 255 of file cpp_python_funct.h.

255 {
256 if (lhs.second == rhs.second) {
257 return lhs.first < rhs.first;
258 }
259 return std::string(lhs.second) < std::string(rhs.second);
260 }

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