libept
|
#include <sources.h>
Classes | |
struct | Word |
Public Types | |
enum | Type { Binary, Source, Comment } |
typedef wibble::Range < std::string > | StringRange |
typedef wibble::Consumer < std::string > | StringConsumer |
typedef std::vector< std::string > | StringVector |
Public Member Functions | |
Entry (bool e=false, Type t=Comment, std::string u="", std::string d="", StringRange c=wibble::range(*new StringVector)) | |
Entry (const Entry &e) | |
bool | operator< (const Entry &o) const |
bool | operator== (const Entry &e) const |
std::string | components () const |
void | setComponents (const std::string &s) |
std::string | typeString () const |
void | setTypeString (const std::string &s) |
std::string | distribution () const |
void | setDistribution (const std::string &s) |
std::string | url () const |
void | setUrl (const std::string &s) |
bool | enabled () const |
void | setEnabled (bool e) |
std::string | comment () const |
void | setComment (const std::string &s) |
Type | type () const |
void | setType (Type t) |
Protected Attributes | |
bool | m_enabled |
Type | m_type |
std::string | m_url |
std::string | m_dist |
StringVector | m_components |
std::string | m_comment |
Friends | |
std::istream & | operator>> (std::istream &i, Entry &s) |
typedef wibble::Consumer< std::string > ept::Sources::Entry::StringConsumer |
typedef wibble::Range< std::string > ept::Sources::Entry::StringRange |
typedef std::vector< std::string > ept::Sources::Entry::StringVector |
|
inline |
References m_components.
|
inline |
References m_components.
|
inline |
References m_comment.
Referenced by operator<(), and ept::operator<<().
|
inline |
References m_components.
Referenced by operator<(), and ept::operator<<().
|
inline |
References m_dist.
Referenced by operator<(), and ept::operator<<().
|
inline |
References m_enabled.
Referenced by operator<(), and ept::operator<<().
|
inline |
References comment(), components(), distribution(), enabled(), type(), and url().
|
inline |
|
inline |
References m_comment.
Referenced by ept::operator>>().
|
inline |
References m_components.
|
inline |
References m_dist.
|
inline |
References m_enabled.
Referenced by ept::operator>>(), and setType().
|
inline |
References Comment, m_type, and setEnabled().
Referenced by ept::operator>>(), and setTypeString().
|
inline |
References Binary, Comment, setType(), and Source.
Referenced by ept::operator>>().
|
inline |
References m_url.
|
inline |
References m_type.
Referenced by operator<(), ept::operator<<(), and typeString().
|
inline |
References Binary, Comment, Source, and type().
Referenced by ept::operator<<().
|
inline |
References m_url.
Referenced by operator<(), and ept::operator<<().
|
friend |
|
protected |
Referenced by comment(), and setComment().
|
protected |
Referenced by components(), Entry(), ept::operator>>(), and setComponents().
|
protected |
Referenced by distribution(), ept::operator>>(), and setDistribution().
|
protected |
Referenced by enabled(), and setEnabled().
|
protected |
Referenced by ept::operator>>(), setUrl(), and url().