ept::Sources::Sources::Entry Struct Reference

#include <sources.h>

List of all members.

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)


Member Typedef Documentation

typedef wibble::Consumer< std::string > ept::Sources::Sources::Entry::StringConsumer

typedef wibble::Range< std::string > ept::Sources::Sources::Entry::StringRange

typedef std::vector< std::string > ept::Sources::Sources::Entry::StringVector


Member Enumeration Documentation

Enumerator:
Binary 
Source 
Comment 


Constructor & Destructor Documentation

ept::Sources::Sources::Entry::Entry ( bool  e = false,
Type  t = Comment,
std::string  u = "",
std::string  d = "",
StringRange  c = wibble::range( *new StringVector ) 
) [inline]

ept::Sources::Sources::Entry::Entry ( const Entry e  )  [inline]


Member Function Documentation

std::string ept::Sources::Sources::Entry::comment (  )  const [inline]

std::string ept::Sources::Sources::Entry::components (  )  const [inline]

std::string ept::Sources::Sources::Entry::distribution (  )  const [inline]

bool ept::Sources::Sources::Entry::enabled (  )  const [inline]

bool ept::Sources::Sources::Entry::operator< ( const Entry o  )  const [inline]

bool ept::Sources::Sources::Entry::operator== ( const Entry e  )  const [inline]

void ept::Sources::Sources::Entry::setComment ( const std::string &  s  )  [inline]

void ept::Sources::Sources::Entry::setComponents ( const std::string &  s  )  [inline]

void ept::Sources::Sources::Entry::setDistribution ( const std::string &  s  )  [inline]

void ept::Sources::Sources::Entry::setEnabled ( bool  e  )  [inline]

void ept::Sources::Sources::Entry::setType ( Type  t  )  [inline]

void ept::Sources::Sources::Entry::setTypeString ( const std::string &  s  )  [inline]

void ept::Sources::Sources::Entry::setUrl ( const std::string &  s  )  [inline]

Type ept::Sources::Sources::Entry::type (  )  const [inline]

std::string ept::Sources::Sources::Entry::typeString (  )  const [inline]

std::string ept::Sources::Sources::Entry::url (  )  const [inline]


Friends And Related Function Documentation

std::istream& operator>> ( std::istream &  i,
Sources::Entry e 
) [friend]


Member Data Documentation

std::string ept::Sources::Sources::Entry::m_comment [protected]

StringVector ept::Sources::Sources::Entry::m_components [protected]

std::string ept::Sources::Sources::Entry::m_dist [protected]

bool ept::Sources::Sources::Entry::m_enabled [protected]

Type ept::Sources::Sources::Entry::m_type [protected]

std::string ept::Sources::Sources::Entry::m_url [protected]


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

Generated on Tue Feb 10 11:36:45 2009 for libept by  doxygen 1.5.8