Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:48:52

0001 /**
0002 CSGFoundry_ResolveCFBase_Test.cc
0003 ==================================
0004 
0005 
0006 ::
0007 
0008     epsilon:tests blyth$ GEOM=hello hello_CFBaseFromGEOM=/red/green/blue CSGFoundry_ResolveCFBase_Test
0009     2022-07-09 18:42:27.049 FATAL [4021970] [*CSGFoundry::ResolveCFBase@2381]  cfbase/CSGFoundy directory /red/green/blue/CSGFoundry IS NOT READABLE 
0010     -
0011     epsilon:tests blyth$ GEOM=hello hello_CFBaseFromGEOM=/tmp  CSGFoundry_ResolveCFBase_Test
0012     2022-07-09 18:42:44.516 FATAL [4022121] [*CSGFoundry::ResolveCFBase@2381]  cfbase/CSGFoundy directory /tmp/CSGFoundry IS NOT READABLE 
0013     -
0014     epsilon:tests blyth$ mkdir /tmp/CSGFoundry
0015     epsilon:tests blyth$ GEOM=hello hello_CFBaseFromGEOM=/tmp  CSGFoundry_ResolveCFBase_Test
0016     /tmp
0017     epsilon:tests blyth$ 
0018 
0019 
0020 **/
0021 
0022 #include "OPTICKS_LOG.hh"
0023 #include "CSGFoundry.h"
0024 
0025 
0026 int main(int argc, char** argv)
0027 {
0028     OPTICKS_LOG(argc, argv); 
0029 
0030     const char* cfbase = CSGFoundry::ResolveCFBase(); 
0031     std::cout << ( cfbase ? cfbase : "-" ) << std::endl ;  
0032 
0033     return 0 ; 
0034 }
0035