mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: add single-parameter PtrListOps::names (ie, no name filtering)
ENH: adjust fileName component method - the location \c npos returns the last component
This commit is contained in:
@ -224,7 +224,8 @@ void testDirname(const fileName& input)
|
||||
<< " path:" << input.path()
|
||||
<< " name:\"" << input.name() << '"'
|
||||
<< " ext:\"" << input.ext() << '"'
|
||||
<< " components: " << flatOutput(input.components()) << nl;
|
||||
<< " components: " << flatOutput(input.components())
|
||||
<< " last: " << input.component(string::npos) << nl;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user