paludis::SetFile Class Reference
[EnvironmentRepository]

#include <set_file.hh>

Inheritance diagram for paludis::SetFile:

paludis::PrivateImplementationPattern< C_ >

List of all members.

Basic operations

 SetFile (const SetFileParams &)
 ~SetFile ()

Public Member Functions

std::tr1::shared_ptr
< SetSpecTree::ConstItem > 
contents () const
void rewrite () const
void add (const std::string &)
void remove (const std::string &)


Detailed Description

Shared code for files containing a package set.

Various set file formats are supported:

The file can be modified if it is sft_paludis_conf or sft_simple.


Member Function Documentation

void paludis::SetFile::add ( const std::string &   ) 

Add an item to our contents, if it is not there already.

std::tr1::shared_ptr<SetSpecTree::ConstItem> paludis::SetFile::contents (  )  const

Fetch our contents.

void paludis::SetFile::remove ( const std::string &   ) 

Remove any matching lines.

void paludis::SetFile::rewrite (  )  const

Rewrite our contents.


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

Generated on Mon Dec 22 19:43:55 2008 for paludis by  doxygen 1.5.7.1