bbstd::MakeFileName Class Reference

#include <bbstdMakeFileName.h>

List of all members.

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 ()


Detailed Description

Definition at line 39 of file bbstdMakeFileName.h.


Member Function Documentation

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   }


The documentation for this class was generated from the following files:

Generated on Tue Oct 21 16:06:51 2008 for std by  doxygen 1.5.6