Public Member Functions | Private Attributes | List of all members
gnsstk::FileSpec::FileSpecSort Struct Reference

Detailed Description

Definition at line 292 of file FileSpec.hpp.

#include <FileSpec.hpp>

Inheritance diagram for gnsstk::FileSpec::FileSpecSort:
Inheritance graph
[legend]

Public Member Functions

 FileSpecSort (const FileSpec &fs, const FileSpecSortType s)
 
bool operator() (const std::string &l, const std::string &r) const
 

Private Attributes

const FileSpecfileSpec
 The FileSpec doing the sorting. More...
 
FileSpecSortType sortDir
 ascending or descending More...
 

Constructor & Destructor Documentation

◆ FileSpecSort()

gnsstk::FileSpec::FileSpecSort::FileSpecSort ( const FileSpec fs,
const FileSpecSortType  s 
)
inline

Definition at line 296 of file FileSpec.hpp.

Member Function Documentation

◆ operator()()

bool gnsstk::FileSpec::FileSpecSort::operator() ( const std::string &  l,
const std::string &  r 
) const

Compares two strings based on the substrings defined by offset and length accounting for any directory names in the strings

Definition at line 71 of file FileSpec.cpp.

Member Data Documentation

◆ fileSpec

const FileSpec& gnsstk::FileSpec::FileSpecSort::fileSpec
private

The FileSpec doing the sorting.

Definition at line 306 of file FileSpec.hpp.

◆ sortDir

FileSpecSortType gnsstk::FileSpec::FileSpecSort::sortDir
private

ascending or descending

Definition at line 304 of file FileSpec.hpp.


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


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:44