#include <Attribute.h>
Public Types | |
| enum | ShareType { UNIQUE, SHARED } |
Public Member Functions | |
| Attribute (const std::string &klass_r, const std::string &name_r, ShareType shareType_r=UNIQUE) | |
Public Attributes | |
| std::string | klass |
| std::string | name |
| bool | evalShared |
Related Functions | |
| (Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const Attribute &obj) |
| Stream output. | |
Attribute defines the klass and name value CacheStore uses to write an attribute to the database. The same pair is required to query the attributes value.
evalShared tells whether the resolvables :shared_id should be evaluated in queries, in case no attribute value is defined. Some attributes like e.g. Summary can be shared between packages that differ in architecture only. *
Definition at line 40 of file Attribute.h.
| zypp::cache::Attribute::Attribute | ( | const std::string & | klass_r, | |
| const std::string & | name_r, | |||
| ShareType | shareType_r = UNIQUE | |||
| ) | [inline] |
Definition at line 44 of file Attribute.h.
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const Attribute & | obj | |||
| ) | [related] |
| std::string zypp::cache::Attribute::klass |
Definition at line 50 of file Attribute.h.
Referenced by zypp::cache::CacheStore::appendBooleanAttribute(), zypp::cache::CacheStore::appendNumericAttribute(), zypp::cache::CacheStore::appendStringAttribute(), zypp::cache::CacheStore::appendStringAttributeTranslation(), zypp::cache::CacheStore::appendStringContainerAttribute(), zypp::cache::CacheStore::appendTranslatedStringAttribute(), zypp::cache::CacheStore::lookupOrAppendType(), zypp::cache::operator<<(), zypp::cache::ResolvableQuery::queryBooleanAttribute(), zypp::cache::ResolvableQuery::queryNumericAttribute(), zypp::cache::ResolvableQuery::queryStringAttribute(), zypp::cache::ResolvableQuery::queryStringAttributeTranslation(), zypp::cache::ResolvableQuery::queryStringContainerAttribute(), and zypp::cache::ResolvableQuery::queryTranslatedStringAttribute().
| std::string zypp::cache::Attribute::name |
Definition at line 51 of file Attribute.h.
Referenced by zypp::cache::CacheStore::appendBooleanAttribute(), zypp::cache::CacheStore::appendNumericAttribute(), zypp::cache::CacheStore::appendStringAttribute(), zypp::cache::CacheStore::appendStringAttributeTranslation(), zypp::cache::CacheStore::appendStringContainerAttribute(), zypp::cache::CacheStore::appendTranslatedStringAttribute(), zypp::cache::CacheStore::lookupOrAppendType(), zypp::cache::operator<<(), zypp::cache::ResolvableQuery::queryBooleanAttribute(), zypp::cache::ResolvableQuery::queryNumericAttribute(), zypp::cache::ResolvableQuery::queryStringAttribute(), zypp::cache::ResolvableQuery::queryStringAttributeTranslation(), zypp::cache::ResolvableQuery::queryStringContainerAttribute(), and zypp::cache::ResolvableQuery::queryTranslatedStringAttribute().
Definition at line 52 of file Attribute.h.
1.5.3