Click here to Skip to main content
12,243,182 members (19,457 online)
Click here to Skip to main content

Tagged as

Stats

30.5K views
916 downloads
48 bookmarked
Posted

CEnum - File Enumeration and File Globbing Class

, 6 Dec 2008 CPOL
CEnum is used for enumeration of files and directories using wildcard matching (globbing)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>CEnum1: Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.7.1 -->
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>CEnum Member List</h1>This is the complete list of members for <a class="el" href="class_c_enum.html">CEnum</a>, including all inherited members.<p><table>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#6a8fab25b7332f1ea317e863a71b9f70">bFullPath</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#e6d9387e3f37c84ee7aac6ddea1258be">bNoCaseDirs</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#5b9907e2797bf093db3d6678414b8006">bNoCaseFiles</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#ae7cf72a584bed97e933b7e66d25b854">bRecursive</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#7d23d7d2c6e537a4c16dde04bc47c1b8">CEnum</a>()</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#f1f9db14847a7bb3916d1bce24c388b1">CEnum</a>(_stl_string sPath, _stl_string sExcludePatternDirs=_T(&quot;&quot;), _stl_string sExcludePatternFiles=_T(&quot;&quot;), _stl_string sIncludePatternDirs=_T(&quot;&quot;), _stl_string sIncludePatternFiles=_T(&quot;&quot;), bool bRecursiveSearch=false, bool bUseFullPath=false, bool bIgnoreCaseDirs=false, bool bIgnoreCaseFiles=false)</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#2d4ca338fff96a6b91c9ba768cae088d">CompareList</a>(list&lt; _stl_string &gt; &amp;plsPattern, _stl_string &amp;sFileName, bool bNoCase)</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline, private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#e569d2fbc71b0a9664f746a431b24f08">CompareStrings</a>(LPCTSTR sPattern, LPCTSTR sFileName, bool bNoCase)</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline, private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#57b7842cffd46a96d271f6199707da11">Enumerate</a>(_stl_string &amp;sPath)</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline, private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#1183984e8ca2c2aab46bb5f194d55180">EnumerateAll</a>(_stl_string sPath)</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#f0654d806dc9f9de0579d1bdd1d8ea4f">EnumerateDir</a>(_stl_string &amp;sPath, _stl_string &amp;sDirName, list&lt; _stl_string &gt; &amp;pList)</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline, private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#4f36e518854cc60ad0b57cb0d4d40eb8">EnumerateFile</a>(_stl_string &amp;sPath, _stl_string &amp;sFileName, list&lt; _stl_string &gt; &amp;pList)</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline, private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#aab4eb0b3a2c65a1aca5bced63dfc2d7">GetDirs</a>()</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#2eaa814f3cdad2ef9eaf78b21f73ad07">GetDirsAsCStringArray</a>()</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#06b776a9abe25ac2d221a9d1e685833c">GetDirsAsCStringList</a>()</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#8a6c835eef6e0f376e4b5f69296e3944">GetFiles</a>()</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#b651054acfe9752b97e640ac2566be97">GetFilesAsCStringArray</a>()</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#28bdd7e09d3ba248bea06d4761902803">GetFilesAsCStringList</a>()</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#616ecf49cabe06e89a9e2df7c499050a">pCSArrayDirs</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#2575b1ef8b9803517ea4bd1f4405f82b">pCSArrayFiles</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#a3e87261a66891a6a92615305fe8b8ef">pCSListDirs</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#2bd5cbad53554476ff43fd5e3022a46f">pCSListFiles</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#9c3b31a91647b6537dbfa8d42af5d51e">plstDirs</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#4eed2d7bd97a6d7dce9e3abd170e8999">plstExcPatternDirs</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#3f4942934e9072e40f3d77056f499148">plstExcPatternFiles</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#2e7577c67863f333f1e0440350ac6462">plstFiles</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#76a22ee013f475d5c06c56e439ad2c30">plstIncPatternDirs</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#fff77913687d2491151ac0925661e423">plstIncPatternFiles</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#e3eed7e9ddfee5b769931a758e43ffe1">sExcPatternDirs</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#ba1b137713cd8b81331446f39a456299">sExcPatternFiles</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#0170adce01319f34c71d29146f9299ac">sIncPatternDirs</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#323cafacd230d68dac8d9f56e5c2db04">sIncPatternFiles</a></td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#3dd7268e03ddcf93a531074283031d01">Tokenize</a>(list&lt; _stl_string &gt; &amp;plsTokenized, _stl_string &amp;sPattern)</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline, private]</code></td></tr>
  <tr class="memlist"><td><a class="el" href="class_c_enum.html#6bad6a8388a408b1fd0fdb3b0f613084">~CEnum</a>()</td><td><a class="el" href="class_c_enum.html">CEnum</a></td><td><code> [inline]</code></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Dec 3 12:45:13 2008 for CEnum1 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Loreia
Croatia Croatia
Nothing to brag about.
Just another engineer who works as a software developer last couple of years.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 6 Dec 2008
Article Copyright 2008 by Loreia
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid