paludis::ContentsEntry Class Reference
[Contents]

#include <contents.hh>

Inheritance diagram for paludis::ContentsEntry:

paludis::PrivateImplementationPattern< C_ > paludis::MetadataKeyHolder paludis::PrivateImplementationPattern< C_ > paludis::ContentsDirEntry paludis::ContentsFileEntry paludis::ContentsOtherEntry paludis::ContentsSymEntry

List of all members.

Basic operations

 ContentsEntry (const FSEntry &path)
virtual ~ContentsEntry ()=0

Specific metadata keys

const std::tr1::shared_ptr
< const MetadataValueKey
< FSEntry > > 
location_key () const

Protected Member Functions

virtual void need_keys_added () const


Detailed Description

Base class for a contents entry.

Since:
0.36 for MetadataKeyHolder methods.

Member Function Documentation

virtual void paludis::ContentsEntry::need_keys_added (  )  const [protected, virtual]

This method will be called before any of the metadata key iteration methods does its work. It can be used by subclasses to implement as-needed loading of keys.

Implements paludis::MetadataKeyHolder.

const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > paludis::ContentsEntry::location_key (  )  const

Our path on disk. Must not be zero. Not modified for root.

Since:
0.36
Examples:
example_contents.cc.


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