#include <bbstdMakeFileName.h>
Protected Member Functions | |
virtual void | bbUserConstructor () |
Private Member Functions | |
BBTK_BLACK_BOX_INTERFACE (MakeFileName, bbtk::AtomicBlackBox) | |
BBTK_DECLARE_INPUT (Directory, std::string) | |
BBTK_DECLARE_INPUT (File, std::string) | |
BBTK_DECLARE_INPUT (Extent, std::string) | |
BBTK_DECLARE_OUTPUT (Out, std::string) | |
BBTK_PROCESS (DoProcess) | |
void | DoProcess () |
Definition at line 39 of file bbstdMakeFileName.h.
bbstd::MakeFileName::BBTK_BLACK_BOX_INTERFACE | ( | MakeFileName | , | |
bbtk::AtomicBlackBox | ||||
) | [private] |
bbstd::MakeFileName::BBTK_DECLARE_INPUT | ( | Directory | , | |
std::string | ||||
) | [private] |
bbstd::MakeFileName::BBTK_DECLARE_INPUT | ( | File | , | |
std::string | ||||
) | [private] |
bbstd::MakeFileName::BBTK_DECLARE_INPUT | ( | Extent | , | |
std::string | ||||
) | [private] |
bbstd::MakeFileName::BBTK_DECLARE_OUTPUT | ( | Out | , | |
std::string | ||||
) | [private] |
bbstd::MakeFileName::BBTK_PROCESS | ( | DoProcess | ) | [private] |
void bbstd::MakeFileName::DoProcess | ( | ) | [private] |
Definition at line 49 of file bbstdMakeFileName.cxx.
00050 { 00051 std::string fileSep = bbtk::ConfigurationFile::GetInstance().Get_file_separator(); 00052 std::string fullFileName = bbGetInputDirectory(); 00053 if ( fullFileName.c_str()[fullFileName.size()-1] != '/' && fullFileName.c_str()[fullFileName.size()-1] != '\\' ) 00054 fullFileName += fileSep; 00055 fullFileName += bbGetInputFile(); 00056 if ( bbGetInputExtent() != "") 00057 if ( bbGetInputExtent()[0] != '.' ) 00058 fullFileName += "."; 00059 fullFileName += bbGetInputExtent(); 00060 bbSetOutputOut( fullFileName ); 00061 }
void bbstd::MakeFileName::bbUserConstructor | ( | ) | [protected, virtual] |
Definition at line 42 of file bbstdMakeFileName.cxx.
00043 { 00044 bbSetInputDirectory(""); 00045 bbSetInputFile(""); 00046 bbSetInputExtent(""); 00047 }