paludis  Version 2.6.0
Protected Member Functions | List of all members
paludis::ContentsEntry Class Referenceabstract

#include <contents.hh>

+ Inheritance diagram for paludis::ContentsEntry:

Protected Member Functions

virtual void need_keys_added () const
 
- Protected Member Functions inherited from paludis::MetadataKeyHolder
virtual void add_metadata_key (const std::shared_ptr< const MetadataKey > &) const
 
virtual void clear_metadata_keys () const
 

Basic operations

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

Specific metadata keys

const std::shared_ptr< const MetadataValueKey< FSPath > > location_key () const
 

Additional Inherited Members

- Public Types inherited from paludis::MetadataKeyHolder
typedef WrappedForwardIterator< MetadataConstIteratorTag, const std::shared_ptr< const MetadataKey > > MetadataConstIterator
 
- Public Types inherited from paludis::DeclareAbstractAcceptMethods< ContentsEntry, MakeTypeList< ContentsFileEntry, ContentsDirEntry, ContentsSymEntry, ContentsOtherEntry >::Type >
typedef MakeTypeList< ContentsFileEntry, ContentsDirEntry, ContentsSymEntry, ContentsOtherEntry >::Type VisitableTypeList
 
typedef ContentsEntry VisitableBaseClass
 
- Public Member Functions inherited from paludis::MetadataKeyHolder
MetadataConstIterator begin_metadata () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
MetadataConstIterator end_metadata () const PALUDIS_ATTRIBUTE((warn_unused_result))
 
MetadataConstIterator find_metadata (const std::string &) const PALUDIS_ATTRIBUTE((warn_unused_result))
 
- Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< ContentsEntry, MakeTypeList< ContentsFileEntry, ContentsDirEntry, ContentsSymEntry, ContentsOtherEntry >::Type >
void accept (UnwrappedVisitor_ &v)
 
void accept (UnwrappedVisitor_ &v) const
 
void accept (const UnwrappedVisitor_ &v)
 
void accept (const UnwrappedVisitor_ &v) const
 
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_())
 
Result_ accept_returning (const UnwrappedVisitor_ &v, const Result_ &r=Result_())
 
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_()) const
 
Result_ accept_returning (const UnwrappedVisitor_ &v, const Result_ &r=Result_()) const
 
auto make_accept_returning (const Case_ &firstcase, const Cases_ &...cases) const -> CallResultType< Case_ >
 
void make_accept (const Cases_ &...cases) const
 

Detailed Description

Base class for a contents entry.

Since
0.36 for MetadataKeyHolder methods.

Member Function Documentation

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

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

Since
0.36
Examples:
example_contents.cc.
virtual void paludis::ContentsEntry::need_keys_added ( ) const
protectedvirtual

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.


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