Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Persistency::AllParameterFileRepositoryInFile::Add ( const ModelLocator loc,
std::vector< Util::PropertySet * > *  set 
) [inline]

Definition at line 58 of file AllParameterFileRepositoryInFile.h.

References Impala::Persistency::ModelLocator::GetConcept(), GetDir(), Impala::Persistency::RepositoryInFileSystem::GetFile(), Impala::Persistency::File::GetWriteBuffer(), RepFS(), and Impala::Util::Write().

00059     {
00060         String dir = GetDir(loc);
00061         String name = loc.GetConcept() + ".allparameters";
00062         File file = RepFS().GetFile(loc, dir, name, true, false);
00063         Util::IOBuffer* buf = file.GetWriteBuffer();
00064         if (buf)
00065         {
00066             std::vector<Util::PropertySet*> tmp = *set;
00067             for (int i=0 ; i<tmp.size() ; i++)
00068                 Write(tmp[i], buf);
00069             delete buf;
00070         }
00071     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:28 2011 for ImpalaSrc by  doxygen 1.5.1