30 class DirectoryIteratorPrivateData
49 if (mDirectory.at(mDirectory.length() - 1) !=
'\\') {
50 mDirectory.append(
"\\");
56 FindClose(
d->mHandle);
62 if (
d->mHandle == INVALID_HANDLE_VALUE) {
63 std::string
search = mDirectory +
"*";
64 d->mHandle = FindFirstFile(search.data(), &
d->mData);
66 if (
d->mHandle != INVALID_HANDLE_VALUE) {
81 mEntry = std::string(
d->mData.cFileName);
83 if (!FindNextFile(
d->mHandle, &
d->mData)) {
96 if (std::string(
d->mData.cFileName) !=
"." && std::string(
d->mData.cFileName) !=
"..") {
100 if (!FindNextFile(
d->mHandle, &
d->mData)) {
DirectoryIteratorPrivate(const std::string &path)
DirectoryIteratorPrivateData()
~DirectoryIteratorPrivate()
ROSCPP_DECL bool search(const std::string &ns, const std::string &key, std::string &result)