WSF
WsfParseTypePath.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2016 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFPARSETYPEPATH_HPP
13#define WSFPARSETYPEPATH_HPP
14
15#include "wsf_parser_export.h"
16
17#include <vector>
18
19#include "UtStringRef.hpp"
20
21using WsfParseTypePath = std::vector<UtStringRef>;
22
24{
25 bool operator()(const WsfParseTypePath& a, const WsfParseTypePath& b) const
26 {
27 return std::lexicographical_compare(a.begin(), a.end(), b.begin(), b.end());
28 }
29};
30
31WsfParseTypePath WSF_PARSER_EXPORT WsfParseTypePathParse(const std::string& aDotSepPath);
32std::string WSF_PARSER_EXPORT WsfParseTypePathString(const WsfParseTypePath& aPaths);
33
34#endif
std::vector< UtStringRef > WsfParseTypePath
Definition WsfParseTypePath.hpp:21
WsfParseTypePath WSF_PARSER_EXPORT WsfParseTypePathParse(const std::string &aDotSepPath)
Definition WsfParseType.cpp:22
std::string WSF_PARSER_EXPORT WsfParseTypePathString(const WsfParseTypePath &aPaths)
Definition WsfParseType.cpp:37
Definition WsfParseTypePath.hpp:24
bool operator()(const WsfParseTypePath &a, const WsfParseTypePath &b) const
Definition WsfParseTypePath.hpp:25
Copyrights Multiple, All Rights Reserved