Wishlist of types

Whenever you find something that might be worth being a type, and not just an unsigned or string. More...

Classes

struct  zypp::MultiLocale< _Val >
 Handle data depending on a locale. More...

Typedefs

typedef std::string zypp::Label
 Single line of (human readable) text.
typedef std::string zypp::Text
 Single line of (human readable) text.
typedef std::string zypp::License
 Offer a License text and methods to remember confirmation.
typedef std::string zypp::PackageGroup
 An rpm package group value.
typedef std::list< std::string > zypp::PackageKeywords
 Candidate for string unification?
typedef std::string zypp::Vendor
 Vendor.
typedef long zypp::ZmdId
 Id used inside ZMD.

Detailed Description

Whenever you find something that might be worth being a type, and not just an unsigned or string.

Keep it here.

Start with a resonable typedef or class draft, so you can start using the type within the implementation. If you're in need for interface methods, add them to the draft. Think about the interface and expected behaviour, but implement here just as much as you actually need.

Goal is to provide a real class for it, or to find out that a typedef is sufficient, ot the type is not needed anyway.

If you already implemented something which would fit into this group, but don't want to move it here, put doxygens

 \ingroup NEEDATYPE 
tag in it's comment. So it will at least appear in the doc.

Note:
Don't put stuff here, that's (almost) ready to use. This is not meant to be a convenience include. Goal is to have this file empty.

Typedef Documentation

typedef std::string zypp::Label
 

Single line of (human readable) text.

probabely sufficient as typedef. we may use it to classify the various strings and string lists within resolvable and other classes. More a hint to the UI describing the purpose of the string.

Definition at line 53 of file NeedAType.h.

typedef std::string zypp::Text
 

Single line of (human readable) text.

See Label. A description would Text, while a a packages file list would be list<string>

Definition at line 57 of file NeedAType.h.

typedef std::string zypp::License
 

Offer a License text and methods to remember confirmation.

Definition at line 60 of file NeedAType.h.

typedef std::string zypp::PackageGroup
 

An rpm package group value.

Also provide acces to a (singleton) tree like group hierarchy which contains all existing groups. No more need to fiddle with YStringTreeItem classes and forgetting to add parsed groups there for use in the UI. PackageGroup can be selforganizing.

Definition at line 68 of file NeedAType.h.

typedef std::list<std::string> zypp::PackageKeywords
 

Candidate for string unification?

Definition at line 71 of file NeedAType.h.

typedef std::string zypp::Vendor
 

Vendor.

Worth a typedef. Maybe a class unifying the strings.

Definition at line 74 of file NeedAType.h.

typedef long zypp::ZmdId
 

Id used inside ZMD.

Definition at line 77 of file NeedAType.h.


Generated on Thu Jul 6 00:07:30 2006 for zypp by  doxygen 1.4.6