MySQL 9.0.0
Source Code Documentation
mysql_harness::Directory::DirectoryIterator::State Class Reference

Classes

struct  free_dealloc
 

Public Member Functions

 State ()
 
 State (const Path &path, const std::string &pattern)
 
 ~State ()
 
bool eof () const
 
void fill_result ()
 
 State ()
 
 State (const Path &path, const std::string &pattern)
 
 ~State ()
 
void fill_result (bool first_entry_set=false)
 

Static Public Member Functions

template<typename IteratorType >
static bool equal (const IteratorType &lhs, const IteratorType &rhs)
 
template<typename IteratorType >
static bool equal (const IteratorType &lhs, const IteratorType &rhs)
 

Public Attributes

DIR * dirp_
 
std::unique_ptr< dirent, free_deallocentry_
 
const std::string pattern_
 
struct dirent * result_
 
WIN32_FIND_DATA data_
 
HANDLE handle_
 
bool more_
 

Static Private Attributes

static const char * dot = "."
 
static const char * dotdot = ".."
 

Constructor & Destructor Documentation

◆ State() [1/4]

mysql_harness::Directory::DirectoryIterator::State::State ( )

◆ State() [2/4]

mysql_harness::Directory::DirectoryIterator::State::State ( const Path path,
const std::string &  pattern 
)

◆ ~State() [1/2]

mysql_harness::Directory::DirectoryIterator::State::~State ( )

◆ State() [3/4]

mysql_harness::Directory::DirectoryIterator::State::State ( )

◆ State() [4/4]

mysql_harness::Directory::DirectoryIterator::State::State ( const Path path,
const std::string &  pattern 
)

◆ ~State() [2/2]

mysql_harness::Directory::DirectoryIterator::State::~State ( )

Member Function Documentation

◆ eof()

bool mysql_harness::Directory::DirectoryIterator::State::eof ( ) const
inline

◆ equal() [1/2]

template<typename IteratorType >
static bool mysql_harness::Directory::DirectoryIterator::State::equal ( const IteratorType &  lhs,
const IteratorType &  rhs 
)
inlinestatic

◆ equal() [2/2]

template<typename IteratorType >
static bool mysql_harness::Directory::DirectoryIterator::State::equal ( const IteratorType &  lhs,
const IteratorType &  rhs 
)
inlinestatic

◆ fill_result() [1/2]

void mysql_harness::Directory::DirectoryIterator::State::fill_result ( )

◆ fill_result() [2/2]

void mysql_harness::Directory::DirectoryIterator::State::fill_result ( bool  first_entry_set = false)

Member Data Documentation

◆ data_

WIN32_FIND_DATA mysql_harness::Directory::DirectoryIterator::State::data_

◆ dirp_

DIR* mysql_harness::Directory::DirectoryIterator::State::dirp_

◆ dot

const char * mysql_harness::Directory::DirectoryIterator::State::dot = "."
staticprivate

◆ dotdot

const char * mysql_harness::Directory::DirectoryIterator::State::dotdot = ".."
staticprivate

◆ entry_

std::unique_ptr<dirent, free_dealloc> mysql_harness::Directory::DirectoryIterator::State::entry_

◆ handle_

HANDLE mysql_harness::Directory::DirectoryIterator::State::handle_

◆ more_

bool mysql_harness::Directory::DirectoryIterator::State::more_

◆ pattern_

const std::string mysql_harness::Directory::DirectoryIterator::State::pattern_

◆ result_

struct dirent* mysql_harness::Directory::DirectoryIterator::State::result_

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