55 cout <<
" f = " << f <<
"\n";
56 cout <<
" g = " << g <<
"\n";
57 cout <<
" abs = " << abs <<
"\n";
59 cout <<
" f.as_directory() = " << f.
as_directory() <<
"\n";
60 cout <<
" f.as_file() = " << f.
as_file() <<
"\n";
61 cout <<
" g.as_directory() = " << g.
as_directory() <<
"\n";
62 cout <<
" g.as_file() = " << g.
as_file() <<
"\n";
66 cout <<
" is directory\n";
67 else if ( f.is_filename())
70 cout <<
"is weird!\n";
74 cout <<
" is directory\n";
75 else if ( g.is_filename())
78 cout <<
"is weird!\n";
82 cout <<
" is absolute\n";
83 else if ( g.is_relative())
84 cout <<
" is relative\n";
86 cout <<
"is weird!\n";
89 if (abs.is_absolute())
90 cout <<
" is absolute\n";
91 else if ( abs.is_relative())
92 cout <<
" is relative\n";
94 cout <<
"is weird!\n";
96 cout <<
" g + f = " << g + f <<
"\n";
97 cout <<
" g + abs = " << g + abs <<
"\n";
98 cout <<
" abs + g + f = " << abs + (g +
f) <<
"\n";
static EST_Pathname construct(EST_Pathname dir, EST_String basename, EST_String extension)
EST_Pathname as_file(void) const
EST_Pathname as_directory(void) const