paludis Version 3.0.2
The one true package mangler
paludis::LiteralMetadataTimeKey Class Reference

#include <literal_metadata_key.hh>

Inheritance diagram for paludis::LiteralMetadataTimeKey:

Public Member Functions

Timestamp parse_value () const override PALUDIS_ATTRIBUTE((warn_unused_result))
const std::string raw_name () const override PALUDIS_ATTRIBUTE((warn_unused_result))
const std::string human_name () const override PALUDIS_ATTRIBUTE((warn_unused_result))
MetadataKeyType type () const override PALUDIS_ATTRIBUTE((warn_unused_result))
 MetadataKey (const MetadataKey &)=delete
MetadataKey & operator= (const MetadataKey &)=delete
Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< MetadataKey, MakeTypeList< MetadataCollectionKey< KeywordNameSet >, MetadataCollectionKey< Set< std::string > >, MetadataCollectionKey< Sequence< std::string > >, MetadataCollectionKey< PackageIDSequence >, MetadataCollectionKey< FSPathSequence >, MetadataCollectionKey< Map< std::string, std::string > >, MetadataCollectionKey< Maintainers >, MetadataSpecTreeKey< DependencySpecTree >, MetadataSpecTreeKey< LicenseSpecTree >, MetadataSpecTreeKey< FetchableURISpecTree >, MetadataSpecTreeKey< SimpleURISpecTree >, MetadataSpecTreeKey< PlainTextSpecTree >, MetadataSpecTreeKey< RequiredUseSpecTree >, MetadataValueKey< std::string >, MetadataValueKey< long >, MetadataValueKey< bool >, MetadataValueKey< FSPath >, MetadataValueKey< Slot >, MetadataValueKey< std::shared_ptr< const PackageID > >, MetadataValueKey< std::shared_ptr< const Choices > >, MetadataTimeKey, MetadataSectionKey >::Type >
void accept (UnwrappedVisitor_ &v)
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_())
auto make_accept_returning (const Case_ &firstcase, const Cases_ &... cases) const -> CallResultType< Case_ >
void make_accept (const Cases_ &... cases) const
Public Member Functions inherited from paludis::DeclareAbstractAcceptMethods< MetadataKey, MetadataKey::VisitableTypeList >
void accept (UnwrappedVisitor_ &v)
Result_ accept_returning (UnwrappedVisitor_ &v, const Result_ &r=Result_())
auto make_accept_returning (const Case_ &firstcase, const Cases_ &... cases) const -> CallResultType< Case_ >
void make_accept (const Cases_ &... cases) const

Basic operations

 LiteralMetadataTimeKey (const std::string &, const std::string &, const MetadataKeyType, const Timestamp)

Additional Inherited Members

Public Types inherited from paludis::DeclareAbstractAcceptMethods< MetadataKey, MakeTypeList< MetadataCollectionKey< KeywordNameSet >, MetadataCollectionKey< Set< std::string > >, MetadataCollectionKey< Sequence< std::string > >, MetadataCollectionKey< PackageIDSequence >, MetadataCollectionKey< FSPathSequence >, MetadataCollectionKey< Map< std::string, std::string > >, MetadataCollectionKey< Maintainers >, MetadataSpecTreeKey< DependencySpecTree >, MetadataSpecTreeKey< LicenseSpecTree >, MetadataSpecTreeKey< FetchableURISpecTree >, MetadataSpecTreeKey< SimpleURISpecTree >, MetadataSpecTreeKey< PlainTextSpecTree >, MetadataSpecTreeKey< RequiredUseSpecTree >, MetadataValueKey< std::string >, MetadataValueKey< long >, MetadataValueKey< bool >, MetadataValueKey< FSPath >, MetadataValueKey< Slot >, MetadataValueKey< std::shared_ptr< const PackageID > >, MetadataValueKey< std::shared_ptr< const Choices > >, MetadataTimeKey, MetadataSectionKey >::Type >
typedef MakeTypeList< MetadataCollectionKey< KeywordNameSet >, MetadataCollectionKey< Set< std::string > >, MetadataCollectionKey< Sequence< std::string > >, MetadataCollectionKey< PackageIDSequence >, MetadataCollectionKey< FSPathSequence >, MetadataCollectionKey< Map< std::string, std::string > >, MetadataCollectionKey< Maintainers >, MetadataSpecTreeKey< DependencySpecTree >, MetadataSpecTreeKey< LicenseSpecTree >, MetadataSpecTreeKey< FetchableURISpecTree >, MetadataSpecTreeKey< SimpleURISpecTree >, MetadataSpecTreeKey< PlainTextSpecTree >, MetadataSpecTreeKey< RequiredUseSpecTree >, MetadataValueKey< std::string >, MetadataValueKey< long >, MetadataValueKey< bool >, MetadataValueKey< FSPath >, MetadataValueKey< Slot >, MetadataValueKey< std::shared_ptr< const PackageID > >, MetadataValueKey< std::shared_ptr< const Choices > >, MetadataTimeKey, MetadataSectionKey >::Type VisitableTypeList
typedef MetadataKey VisitableBaseClass
Public Types inherited from paludis::DeclareAbstractAcceptMethods< MetadataKey, MetadataKey::VisitableTypeList >
typedef MetadataKey::VisitableTypeList VisitableTypeList
typedef MetadataKey VisitableBaseClass

Detailed Description

A LiteralMetadataTimeKey is a MetadataTimeKey whose value is known at construction time.

Since
0.36
0.44 Timestamp instead of time_t

Member Function Documentation

◆ human_name()

const std::string paludis::LiteralMetadataTimeKey::human_name ( ) const
overridevirtual

Fetch our human name.

Implements paludis::MetadataKey.

References human_name(), and PALUDIS_ATTRIBUTE.

Referenced by human_name().

◆ parse_value()

Timestamp paludis::LiteralMetadataTimeKey::parse_value ( ) const
overridevirtual

Fetch our value.

Since
0.44 Timestamp instead of time_t
0.61 is called parse_value

Implements paludis::MetadataTimeKey.

References PALUDIS_ATTRIBUTE.

◆ raw_name()

const std::string paludis::LiteralMetadataTimeKey::raw_name ( ) const
overridevirtual

Fetch our raw name.

Implements paludis::MetadataKey.

References PALUDIS_ATTRIBUTE, and raw_name().

Referenced by raw_name().

◆ type()

MetadataKeyType paludis::LiteralMetadataTimeKey::type ( ) const
overridevirtual

Fetch our key type.

Implements paludis::MetadataKey.

References PALUDIS_ATTRIBUTE, and type().

Referenced by type().


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