MCPcopy Create free account
hub / github.com/Beckhoff/ADS / FindFirst

Function FindFirst

AdsLib/AdsFile.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56static bool FindFirst(const AdsDevice &route, TcFileFindData &item,
57 const std::string &path)
58{
59 enum FFILEFIND : uint32_t {
60 GENERIC = 1 << 0,
61 };
62
63 item.hFile = FFILEFIND::GENERIC;
64 return FindNext(route, item, path.length(), path.c_str());
65}
66
67AdsFile::AdsFile(const AdsDevice &route, const std::string &filename,
68 const uint32_t flags)

Callers 1

FindMethod · 0.85

Calls 2

FindNextFunction · 0.85
lengthMethod · 0.45

Tested by

no test coverage detected