Definition at line 225 of file File.h.
References Impala::Persistency::FileSystem::GetIOBuffer(), GetPath(), ILOG_ERROR, IsWritable(), mFileSystem, and Valid().
Referenced by Impala::Persistency::VideoSetRepositoryInFile::Add(), Impala::Persistency::Mpeg7DocRepositoryInFile::Add(), Impala::Persistency::LabelSetRepositoryInFile::Add(), Impala::Persistency::ImageSetRepositoryInFile::Add(), Impala::Persistency::FrameHashesRepositoryInFile::Add(), Impala::Persistency::FikSvmRepositoryInFile::Add(), Impala::Persistency::AllParameterFileRepositoryInFile::Add(), Impala::Core::Matrix::VirtualMatrixFactory::ConstructIOBufferWriter(), Impala::Core::Feature::VirtualFeatureTableFactory::ConstructIOBufferWriter(), CopyFrom(), Impala::Application::Repository::DoKernelMatrix2Text(), Impala::Core::Stream::RgbDataSrcInfo::GetInfoIOBuffer(), Impala::Core::Feature::InterestPointFeature::ProjectOntoCodebook(), Impala::Util::Write(), Impala::Persistency::SvmProblemRepositoryInFile::Write(), Impala::Core::Feature::Write(), Impala::Core::Table::Write(), Impala::Persistency::DistributedAccessRepositoryInFile::WriteFeatures(), Impala::Persistency::DistributedAccessRepositoryInFile::WriteInfoFile(), Impala::Core::Array::WriteJpg(), WriteNative(), Impala::Core::Array::WritePng(), Impala::Core::Array::WriteRaw(), Impala::Core::Array::WriteRawList(), Impala::Core::Array::WriteRawListVar(), and WriteStrings().
00226 {
00227 if (!Valid())
00228 {
00229 ILOG_ERROR("Can't get write buffer for invalid file");
00230 return 0;
00231 }
00232 if (!IsWritable())
00233 {
00234 ILOG_ERROR("Can't get write buffer for non-writable file");
00235 return 0;
00236 }
00237 return mFileSystem->GetIOBuffer(GetPath(), false, false, "tmp", 0, true);
00238 }
Here is the call graph for this function: