MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
PathNameParser.h
Go to the documentation of this file.
1
13
14#pragma once
15
16#include <miktex/Util/config.h>
17
18#include <memory>
19#include <string>
20
21#include "PathName.h"
22
23MIKTEX_UTIL_BEGIN_NAMESPACE;
24
25class PathNameParser
26{
27
28public:
29
30 PathNameParser() = delete;
31 PathNameParser(const PathNameParser& other) = delete;
32 PathNameParser& operator=(const PathNameParser& other) = delete;
33 PathNameParser(PathNameParser&& other) = delete;
34 PathNameParser& operator=(PathNameParser&& other) = delete;
35 virtual MIKTEXUTILEXPORT MIKTEXTHISCALL ~PathNameParser() noexcept;
36 explicit MIKTEXUTILEXPORT MIKTEXTHISCALL PathNameParser(const PathName& path);
37 explicit MIKTEXUTILEXPORT MIKTEXTHISCALL operator bool() const;
38 MIKTEXUTILTHISAPI(std::string) operator*() const;
39 MIKTEXUTILTHISAPI(PathNameParser&) operator++();
40
41private:
42
43 class impl;
44 std::unique_ptr<impl> pimpl;
45};
46
47MIKTEX_UTIL_END_NAMESPACE;
PathName class.
Instances of this class can be used to store path names.
Definition PathName.h:64