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

const std::tr1::shared_ptr
< const SetSpecTree > 
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

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

Fetch our contents.

void paludis::SetFile::rewrite (  )  const

Rewrite our contents.

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

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

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

Remove any matching lines.


The documentation for this class was generated from the following file:
Generated on Mon Sep 21 10:36:11 2009 for paludis by  doxygen 1.5.4