|
yast2-storage
|
#include <Region.h>
Public Member Functions | |
| Region () | |
| Region (unsigned long long start, unsigned long long len) | |
| 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 long | start () const |
| unsigned long long | len () const |
| unsigned long long | end () const |
| bool | empty () const |
| void | setStart (unsigned long long start) |
| void | setLen (unsigned long long len) |
Protected Attributes | |
| unsigned long long | s |
| unsigned long long | l |
Friends | |
| template<typename Type > | |
| Region | operator* (Type i, const Region &r) |
| template<typename Type > | |
| Region | operator/ (const Region &r, Type i) |
| std::ostream & | operator<< (std::ostream &s, const Region &p) |
| bool | getChildValue (const xmlNode *node, const char *name, Region &value) |
| void | setChildValue (xmlNode *node, const char *name, const Region &value) |
| storage::Region::Region | ( | ) | [inline] |
Referenced by intersect().
| storage::Region::Region | ( | unsigned long long | start, |
| unsigned long long | len | ||
| ) | [inline] |
| bool storage::Region::doIntersect | ( | const Region & | r | ) | const [inline] |
References end(), and start().
Referenced by intersect().
| bool storage::Region::empty | ( | ) | const [inline] |
References l.
| unsigned long long storage::Region::end | ( | ) | const [inline] |
Referenced by storage::Disk::checkFakePartition(), storage::Partition::cylEnd(), doIntersect(), inside(), and intersect().
References doIntersect(), end(), Region(), s, and start().
Referenced by storage::Partition::contains(), and storage::Partition::intersectArea().
| unsigned long long storage::Region::len | ( | ) | const [inline] |
References l.
Referenced by storage::Partition::contains(), storage::Partition::cylSize(), storage::Partition::intersectArea(), operator==(), and setLen().
| bool storage::Region::operator!= | ( | const Region & | r | ) | const [inline] |
| bool storage::Region::operator== | ( | const Region & | r | ) | const [inline] |
| void storage::Region::setLen | ( | unsigned long long | len | ) | [inline] |
Referenced by storage::Partition::forgetResize(), and storage::Partition::setResizedSize().
| unsigned long long storage::Region::start | ( | ) | const [inline] |
References s.
Referenced by storage::Disk::checkFakePartition(), storage::Partition::cylStart(), doIntersect(), inside(), intersect(), operator<(), operator==(), operator>(), and setStart().
| bool getChildValue | ( | const xmlNode * | node, |
| const char * | name, | ||
| Region & | value | ||
| ) | [friend] |
| std::ostream& operator<< | ( | std::ostream & | s, |
| const Region & | p | ||
| ) | [friend] |
| void setChildValue | ( | xmlNode * | node, |
| const char * | name, | ||
| const Region & | value | ||
| ) | [friend] |
unsigned long long storage::Region::l [protected] |
Referenced by empty(), end(), storage::getChildValue(), len(), storage::operator<<(), operator==(), storage::setChildValue(), and setLen().
unsigned long long storage::Region::s [protected] |
Referenced by end(), storage::getChildValue(), intersect(), operator<(), storage::operator<<(), operator==(), operator>(), storage::setChildValue(), setStart(), and start().
1.7.3