storage::Region Class Reference

#include <Region.h>

List of all members.

Public Member Functions

 Region ()
 Region (unsigned long start, unsigned long len)
 Region (const Region &x)
Regionoperator= (const Region &r)
bool doIntersect (const Region &r) const
Region intersect (const Region &r) const
bool inside (const Region &r) const
bool operator== (const Region &r) const
bool operator!= (const Region &r) const
bool operator< (const Region &r) const
bool operator> (const Region &r) const
unsigned long start () const
unsigned long end () const
unsigned long len () const

Protected Attributes

unsigned long s
unsigned long l


Constructor & Destructor Documentation

storage::Region::Region (  )  [inline]

Referenced by intersect().

storage::Region::Region ( unsigned long  start,
unsigned long  len 
) [inline]

storage::Region::Region ( const Region x  )  [inline]


Member Function Documentation

Region& storage::Region::operator= ( const Region r  )  [inline]

References l, len(), s, and start().

bool storage::Region::doIntersect ( const Region r  )  const [inline]

References end(), and start().

Region storage::Region::intersect ( const Region r  )  const [inline]

bool storage::Region::inside ( const Region r  )  const [inline]

References end(), and start().

bool storage::Region::operator== ( const Region r  )  const [inline]

References l, len(), s, and start().

bool storage::Region::operator!= ( const Region r  )  const [inline]

bool storage::Region::operator< ( const Region r  )  const [inline]

References s, and start().

bool storage::Region::operator> ( const Region r  )  const [inline]

References s, and start().

unsigned long storage::Region::start (  )  const [inline]

unsigned long storage::Region::end (  )  const [inline]

unsigned long storage::Region::len (  )  const [inline]


Member Data Documentation

unsigned long storage::Region::s [protected]

unsigned long storage::Region::l [protected]

Referenced by end(), len(), operator=(), and operator==().


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

Generated on Sun Jun 8 10:48:04 2008 for yast2-storage by  doxygen 1.5.5