Definition at line 12 of file FileExists.h. Referenced by Impala::Util::ChannelAuthorization::ChannelAuthorization(), Impala::CmdOptions::DoParseArgs(), Impala::Application::Table::DoScaleFeatureTable(), Impala::Visualization::AllFramesTLineVideo::HandleNewVideo(), Impala::Application::SDash::CameraMovementReader::Read(), Impala::Core::VideoSet::ShotSegmenter::ReadGroundTruth(), Impala::Application::MediaTable::RemoteRetriever::RetrieveImageData(), and Impala::Visualization::TimeLineViewStrip::ViewStripOpenRawFile(). 00013 { 00014 FILE* fp = fopen(fileName.c_str(), "r"); 00015 bool exists = (fp != 0); 00016 if (fp) 00017 fclose(fp); 00018 return exists; 00019 }
|