2026-08-02 01:36:11 +00:00
<!-- HTML header for doxygen 1.9.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" />
< meta http-equiv = "X-UA-Compatible" content = "IE=11" />
< meta name = "generator" content = "Doxygen 1.9.8" />
< meta name = "viewport" content = "width=device-width, initial-scale=1" />
< title > RTAB-Map: UDirectory Class Reference</ title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" />
< script type = "text/javascript" src = "jquery.js" ></ script >
< script type = "text/javascript" src = "dynsections.js" ></ script >
2026-08-02 07:56:38 +00:00
< link href = "navtree.css" rel = "stylesheet" type = "text/css" />
< script type = "text/javascript" src = "resize.js" ></ script >
< script type = "text/javascript" src = "navtreedata.js" ></ script >
< script type = "text/javascript" src = "navtree.js" ></ script >
2026-08-02 01:36:11 +00:00
< link href = "search/search.css" rel = "stylesheet" type = "text/css" />
< script type = "text/javascript" src = "search/searchdata.js" ></ script >
< script type = "text/javascript" src = "search/search.js" ></ script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" />
< script type = "text/javascript" > window . RTABMAP_DOC_ROOT = "" ;</ script >
< script type = "text/javascript" src = "../versions.js" ></ script >
< script type = "text/javascript" src = "version-switcher.js" ></ script >
</ head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr id = "projectrow" >
< td id = "projectalign" >
< div id = "projectname" > RTAB-Map< span id = "projectnumber" >   0.23.10</ span >
</ div >
2026-08-02 07:56:38 +00:00
< div id = "projectbrief" > Real-Time Appearance-Based Mapping</ div >
2026-08-02 01:36:11 +00:00
</ td >
</ tr >
</ tbody >
</ table >
</ div >
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox ( "searchBox" , "search/" , '.html' );
/* @license-end */
</ script >
< script type = "text/javascript" src = "menudata.js" ></ script >
< script type = "text/javascript" src = "menu.js" ></ script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$ ( function () {
initMenu ( '' , true , false , 'search.php' , 'Search' );
$ ( document ). ready ( function () { init_search (); });
});
/* @license-end */
</ script >
< div id = "main-nav" ></ div >
2026-08-02 07:56:38 +00:00
</ div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" ></ div >
</ div >
</ div >
< div id = "splitbar" style = "-moz-user-select:none;"
class = "ui-resizable-handle" >
</ div >
</ div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$ ( document ). ready ( function (){ initNavTree ( 'classUDirectory.html' , '' ); initResizable (); });
/* @license-end */
</ script >
< div id = "doc-content" >
2026-08-02 01:36:11 +00:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover = "return searchBox.OnSearchSelectShow()"
onmouseout = "return searchBox.OnSearchSelectHide()"
onkeydown = "return searchBox.OnSearchSelectKey(event)" >
</ div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" ></ div >
< div class = "SRStatus" id = "Loading" > Loading...</ div >
< div class = "SRStatus" id = "Searching" > Searching...</ div >
< div class = "SRStatus" id = "NoMatches" > No Matches</ div >
</ div >
</ div >
</ div >
</ div >
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions</ a > |
< a href = "#pub-static-methods" > Static Public Member Functions</ a > |
< a href = "classUDirectory-members.html" > List of all members</ a > </ div >
< div class = "headertitle" >< div class = "title" > UDirectory Class Reference</ div ></ div >
</ div > <!--header-->
< div class = "contents" >
< p >< code > #include < < a class = "el" href = "UDirectory_8h_source.html" > UDirectory.h</ a > > </ code ></ p >
< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pub-methods" name = "pub-methods" ></ a >
Public Member Functions</ h2 ></ td ></ tr >
< tr class = "memitem:ac2063a33161b07a0c9e841cc1ee5fcaf" id = "r_ac2063a33161b07a0c9e841cc1ee5fcaf" >< td class = "memItemLeft" align = "right" valign = "top" >   </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#ac2063a33161b07a0c9e841cc1ee5fcaf" > UDirectory</ a > (const std::string & path="" , const std::string & extensions="" )</ td ></ tr >
< tr class = "separator:ac2063a33161b07a0c9e841cc1ee5fcaf" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a91ff503f33e0b15f84f660e3628adf1b" id = "r_a91ff503f33e0b15f84f660e3628adf1b" >< td class = "memItemLeft" align = "right" valign = "top" >< a id = "a91ff503f33e0b15f84f660e3628adf1b" name = "a91ff503f33e0b15f84f660e3628adf1b" ></ a >
  </ td >< td class = "memItemRight" valign = "bottom" >< b > UDirectory</ b > (const < a class = "el" href = "classUDirectory.html" > UDirectory</ a > & dir)</ td ></ tr >
< tr class = "separator:a91ff503f33e0b15f84f660e3628adf1b" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:acd2a64b388ec5f5d055122c43f8c98c0" id = "r_acd2a64b388ec5f5d055122c43f8c98c0" >< td class = "memItemLeft" align = "right" valign = "top" >< a id = "acd2a64b388ec5f5d055122c43f8c98c0" name = "acd2a64b388ec5f5d055122c43f8c98c0" ></ a >
< a class = "el" href = "classUDirectory.html" > UDirectory</ a > &  </ td >< td class = "memItemRight" valign = "bottom" >< b > operator=</ b > (const < a class = "el" href = "classUDirectory.html" > UDirectory</ a > & dir)</ td ></ tr >
< tr class = "separator:acd2a64b388ec5f5d055122c43f8c98c0" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aadfc0f6dfedc74bb6ef67dc87d6441f4" id = "r_aadfc0f6dfedc74bb6ef67dc87d6441f4" >< td class = "memItemLeft" align = "right" valign = "top" > void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#aadfc0f6dfedc74bb6ef67dc87d6441f4" > setPath</ a > (const std::string & path, const std::string & extensions="" )</ td ></ tr >
< tr class = "separator:aadfc0f6dfedc74bb6ef67dc87d6441f4" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ab738cea12207aea77c7a0581c57d6008" id = "r_ab738cea12207aea77c7a0581c57d6008" >< td class = "memItemLeft" align = "right" valign = "top" > void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#ab738cea12207aea77c7a0581c57d6008" > update</ a > ()</ td ></ tr >
< tr class = "separator:ab738cea12207aea77c7a0581c57d6008" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a8d471f3c9ff7391d25a52eab24255e64" id = "r_a8d471f3c9ff7391d25a52eab24255e64" >< td class = "memItemLeft" align = "right" valign = "top" > bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a8d471f3c9ff7391d25a52eab24255e64" > isValid</ a > ()</ td ></ tr >
< tr class = "separator:a8d471f3c9ff7391d25a52eab24255e64" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a89ff08bf6044f2a0dc61f0dbbdc9d2cc" id = "r_a89ff08bf6044f2a0dc61f0dbbdc9d2cc" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a89ff08bf6044f2a0dc61f0dbbdc9d2cc" > getNextFileName</ a > ()</ td ></ tr >
< tr class = "separator:a89ff08bf6044f2a0dc61f0dbbdc9d2cc" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a2e435d2c98e54a8119c2fc3b388c03e9" id = "r_a2e435d2c98e54a8119c2fc3b388c03e9" >< td class = "memItemLeft" align = "right" valign = "top" > std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a2e435d2c98e54a8119c2fc3b388c03e9" > getNextFilePath</ a > ()</ td ></ tr >
< tr class = "separator:a2e435d2c98e54a8119c2fc3b388c03e9" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aa16e64be3cc238eec871bddaf6dbc289" id = "r_aa16e64be3cc238eec871bddaf6dbc289" >< td class = "memItemLeft" align = "right" valign = "top" > const std::list< std::string > &  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#aa16e64be3cc238eec871bddaf6dbc289" > getFileNames</ a > () const</ td ></ tr >
< tr class = "separator:aa16e64be3cc238eec871bddaf6dbc289" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aba596118c893215cf1a2981196864dca" id = "r_aba596118c893215cf1a2981196864dca" >< td class = "memItemLeft" align = "right" valign = "top" > void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#aba596118c893215cf1a2981196864dca" > rewind</ a > ()</ td ></ tr >
< tr class = "separator:aba596118c893215cf1a2981196864dca" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pub-static-methods" name = "pub-static-methods" ></ a >
Static Public Member Functions</ h2 ></ td ></ tr >
< tr class = "memitem:ad82410f2502789f23d30984a5b1d7724" id = "r_ad82410f2502789f23d30984a5b1d7724" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#ad82410f2502789f23d30984a5b1d7724" > exists</ a > (const std::string & dirPath)</ td ></ tr >
< tr class = "separator:ad82410f2502789f23d30984a5b1d7724" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a0177e6f7286fc63c48fe2629e6ba5b34" id = "r_a0177e6f7286fc63c48fe2629e6ba5b34" >< td class = "memItemLeft" align = "right" valign = "top" > static std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a0177e6f7286fc63c48fe2629e6ba5b34" > getDir</ a > (const std::string & filePath)</ td ></ tr >
< tr class = "separator:a0177e6f7286fc63c48fe2629e6ba5b34" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a30b3c4e8f81892e5ea04bdab3beba900" id = "r_a30b3c4e8f81892e5ea04bdab3beba900" >< td class = "memItemLeft" align = "right" valign = "top" > static std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a30b3c4e8f81892e5ea04bdab3beba900" > currentDir</ a > (bool trailingSeparator=false)</ td ></ tr >
< tr class = "separator:a30b3c4e8f81892e5ea04bdab3beba900" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a8d84cde6736b614a4396f16113f4d365" id = "r_a8d84cde6736b614a4396f16113f4d365" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a8d84cde6736b614a4396f16113f4d365" > makeDir</ a > (const std::string & dirPath)</ td ></ tr >
< tr class = "separator:a8d84cde6736b614a4396f16113f4d365" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a78d8896627c8675a19b0c6fe6d9e274a" id = "r_a78d8896627c8675a19b0c6fe6d9e274a" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a78d8896627c8675a19b0c6fe6d9e274a" > removeDir</ a > (const std::string & dirPath)</ td ></ tr >
< tr class = "separator:a78d8896627c8675a19b0c6fe6d9e274a" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a3338b47405f65f25a4256e0ea86bff07" id = "r_a3338b47405f65f25a4256e0ea86bff07" >< td class = "memItemLeft" align = "right" valign = "top" > static std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a3338b47405f65f25a4256e0ea86bff07" > homeDir</ a > ()</ td ></ tr >
< tr class = "separator:a3338b47405f65f25a4256e0ea86bff07" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a66750846a899e436808d4eadbcafced0" id = "r_a66750846a899e436808d4eadbcafced0" >< td class = "memItemLeft" align = "right" valign = "top" > static std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classUDirectory.html#a66750846a899e436808d4eadbcafced0" > separator</ a > ()</ td ></ tr >
< tr class = "separator:a66750846a899e436808d4eadbcafced0" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >
< a name = "details" id = "details" ></ a >< h2 class = "groupheader" > Detailed Description</ h2 >
< div class = "textblock" >< p > Class < a class = "el" href = "classUDirectory.html" > UDirectory</ a > .</ p >
< p > This class can be used to get file names in a directory. </ p >
< p class = "definition" > Definition at line < a class = "el" href = "UDirectory_8h_source.html#l00034" > 34</ a > of file < a class = "el" href = "UDirectory_8h_source.html" > UDirectory.h</ a > .</ p >
</ div >< h2 class = "groupheader" > Constructor & Destructor Documentation</ h2 >
< a id = "ac2063a33161b07a0c9e841cc1ee5fcaf" name = "ac2063a33161b07a0c9e841cc1ee5fcaf" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ac2063a33161b07a0c9e841cc1ee5fcaf" > ◆  </ a ></ span > UDirectory()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > UDirectory::UDirectory </ td >
< td > (</ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > path</ em > = < code > "" </ code > , </ td >
</ tr >
< tr >
< td class = "paramkey" ></ td >
< td ></ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > extensions</ em > = < code > "" </ code >   </ td >
</ tr >
< tr >
< td ></ td >
< td > )</ td >
< td ></ td >< td ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Create a < a class = "el" href = "classUDirectory.html" > UDirectory</ a > object with path initialized to an existing "path" and with filter "extensions". </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > path</ td >< td > the path to an existing directory </ td ></ tr >
< tr >< td class = "paramname" > extensions</ td >< td > filter to get only file names with the extensions specified, format is a list of extensions separated by a space: "jpg bmp" get only file names finishing by jpg or bmp. </ td ></ tr >
</ table >
</ dd >
</ dl >
</ div >
</ div >
< h2 class = "groupheader" > Member Function Documentation</ h2 >
< a id = "ad82410f2502789f23d30984a5b1d7724" name = "ad82410f2502789f23d30984a5b1d7724" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad82410f2502789f23d30984a5b1d7724" > ◆  </ a ></ span > exists()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool UDirectory::exists </ td >
< td > (</ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > dirPath</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Check if a directory exists. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > dirPath</ td >< td > the directory path </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > true if the directory exists </ dd ></ dl >
</ div >
</ div >
< a id = "a0177e6f7286fc63c48fe2629e6ba5b34" name = "a0177e6f7286fc63c48fe2629e6ba5b34" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a0177e6f7286fc63c48fe2629e6ba5b34" > ◆  </ a ></ span > getDir()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static std::string UDirectory::getDir </ td >
< td > (</ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > filePath</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the directory path of a file path. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > filePath</ td >< td > the file path </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > the directory path of the file </ dd ></ dl >
</ div >
</ div >
< a id = "a30b3c4e8f81892e5ea04bdab3beba900" name = "a30b3c4e8f81892e5ea04bdab3beba900" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a30b3c4e8f81892e5ea04bdab3beba900" > ◆  </ a ></ span > currentDir()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static std::string UDirectory::currentDir </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > trailingSeparator</ em > = < code > false</ code ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the current directory. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > trailingSeparator</ td >< td > If true, a '/' is added to the path. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > the current directory </ dd ></ dl >
</ div >
</ div >
< a id = "a8d84cde6736b614a4396f16113f4d365" name = "a8d84cde6736b614a4396f16113f4d365" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a8d84cde6736b614a4396f16113f4d365" > ◆  </ a ></ span > makeDir()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool UDirectory::makeDir </ td >
< td > (</ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > dirPath</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Make a directory. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > dirPath</ td >< td > the directory path </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > true on success, false otherwise. </ dd ></ dl >
</ div >
</ div >
< a id = "a78d8896627c8675a19b0c6fe6d9e274a" name = "a78d8896627c8675a19b0c6fe6d9e274a" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a78d8896627c8675a19b0c6fe6d9e274a" > ◆  </ a ></ span > removeDir()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool UDirectory::removeDir </ td >
< td > (</ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > dirPath</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Remove a directory. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > dirPath</ td >< td > the directory path </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > true on success, false otherwise. </ dd ></ dl >
</ div >
</ div >
< a id = "a3338b47405f65f25a4256e0ea86bff07" name = "a3338b47405f65f25a4256e0ea86bff07" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a3338b47405f65f25a4256e0ea86bff07" > ◆  </ a ></ span > homeDir()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static std::string UDirectory::homeDir </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Return the "home" directory. </ p >< dl class = "section return" >< dt > Returns</ dt >< dd > the directory path. </ dd ></ dl >
</ div >
</ div >
< a id = "a66750846a899e436808d4eadbcafced0" name = "a66750846a899e436808d4eadbcafced0" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a66750846a899e436808d4eadbcafced0" > ◆  </ a ></ span > separator()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static std::string UDirectory::separator </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Return \ (Win32) or / (Unix) depending of the platform. </ p >
</ div >
</ div >
< a id = "aadfc0f6dfedc74bb6ef67dc87d6441f4" name = "aadfc0f6dfedc74bb6ef67dc87d6441f4" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aadfc0f6dfedc74bb6ef67dc87d6441f4" > ◆  </ a ></ span > setPath()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void UDirectory::setPath </ td >
< td > (</ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > path</ em > , </ td >
</ tr >
< tr >
< td class = "paramkey" ></ td >
< td ></ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > extensions</ em > = < code > "" </ code >   </ td >
</ tr >
< tr >
< td ></ td >
< td > )</ td >
< td ></ td >< td ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Set path of the directory. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > path</ td >< td > the new directory path. </ td ></ tr >
</ table >
</ dd >
</ dl >
</ div >
</ div >
< a id = "ab738cea12207aea77c7a0581c57d6008" name = "ab738cea12207aea77c7a0581c57d6008" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ab738cea12207aea77c7a0581c57d6008" > ◆  </ a ></ span > update()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void UDirectory::update </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Update indexed file names (if the directory changed). </ p >
</ div >
</ div >
< a id = "a8d471f3c9ff7391d25a52eab24255e64" name = "a8d471f3c9ff7391d25a52eab24255e64" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a8d471f3c9ff7391d25a52eab24255e64" > ◆  </ a ></ span > isValid()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool UDirectory::isValid </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Check is the directory exists. </ p >< dl class = "section return" >< dt > Returns</ dt >< dd > if directory exists. </ dd ></ dl >
</ div >
</ div >
< a id = "a89ff08bf6044f2a0dc61f0dbbdc9d2cc" name = "a89ff08bf6044f2a0dc61f0dbbdc9d2cc" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a89ff08bf6044f2a0dc61f0dbbdc9d2cc" > ◆  </ a ></ span > getNextFileName()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string UDirectory::getNextFileName </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the next file name. </ p >< dl class = "section return" >< dt > Returns</ dt >< dd > the next file name </ dd ></ dl >
</ div >
</ div >
< a id = "a2e435d2c98e54a8119c2fc3b388c03e9" name = "a2e435d2c98e54a8119c2fc3b388c03e9" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a2e435d2c98e54a8119c2fc3b388c03e9" > ◆  </ a ></ span > getNextFilePath()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string UDirectory::getNextFilePath </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the next file path. </ p >< dl class = "section return" >< dt > Returns</ dt >< dd > the next file path </ dd ></ dl >
</ div >
</ div >
< a id = "aa16e64be3cc238eec871bddaf6dbc289" name = "aa16e64be3cc238eec871bddaf6dbc289" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aa16e64be3cc238eec871bddaf6dbc289" > ◆  </ a ></ span > getFileNames()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::list< std::string > & UDirectory::getFileNames </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td > const</ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get all file names. </ p >< dl class = "section see" >< dt > See also</ dt >< dd >< a class = "el" href = "classUDirectory.html" > UDirectory()</ a > </ dd ></ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > all the file names in directory matching the set extensions. </ dd ></ dl >
< p class = "definition" > Definition at line < a class = "el" href = "UDirectory_8h_source.html#l00129" > 129</ a > of file < a class = "el" href = "UDirectory_8h_source.html" > UDirectory.h</ a > .</ p >
</ div >
</ div >
< a id = "aba596118c893215cf1a2981196864dca" name = "aba596118c893215cf1a2981196864dca" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aba596118c893215cf1a2981196864dca" > ◆  </ a ></ span > rewind()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void UDirectory::rewind </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Return the pointer of file names to beginning. </ p >
</ div >
</ div >
< hr /> The documentation for this class was generated from the following file:< ul >
< li > utilite/include/rtabmap/utilite/< a class = "el" href = "UDirectory_8h_source.html" > UDirectory.h</ a ></ li >
</ ul >
</ div > <!-- contents -->
2026-08-02 07:56:38 +00:00
</ div > <!-- doc-content -->
2026-08-02 01:36:11 +00:00
<!-- start footer part -->
2026-08-02 07:56:38 +00:00
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" >< a class = "el" href = "classUDirectory.html" > UDirectory</ a ></ li >
< li class = "footer" > Generated by < a href = "https://www.doxygen.org/index.html" >< img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" /></ a > 1.9.8 </ li >
</ ul >
</ div >
2026-08-02 01:36:11 +00:00
</ body >
</ html >