
Public Member Functions | |
| bool | save (const string &filename) const |
Protected Types | |
| enum | NodeType { NODE_DISK, NODE_DMMULTIPATH, NODE_DMRAID, NODE_PARTITION, NODE_MD, NODE_MDPART, NODE_LVMVG, NODE_LVMLV, NODE_DM, NODE_BTRFS, NODE_MOUNTPOINT } |
| enum | EdgeType { EDGE_SUBDEVICE, EDGE_MOUNT, EDGE_USED } |
| enum | RankType { RANK_SOURCE, RANK_SAME, RANK_SINK } |
Protected Attributes | |
| list< Node > | nodes |
| list< Edge > | edges |
| list< Rank > | ranks |
Static Private Member Functions | |
| static string | quote (const string &str) |
| static string | makeTooltip (const Text &text, const string &label, unsigned long long sizeK) |
Friends | |
| ostream & | operator<< (ostream &s, const Node &node) |
| ostream & | operator<< (ostream &s, const Edge &edge) |
| ostream & | operator<< (ostream &s, const Rank &rank) |
Classes | |
| struct | Edge |
| struct | Node |
| struct | Rank |
enum storage::Graph::NodeType [protected] |
enum storage::Graph::EdgeType [protected] |
enum storage::Graph::RankType [protected] |
| bool storage::Graph::save | ( | const string & | filename | ) | const |
References storage::classic(), storage::datetime(), edges, storage::hostname(), nodes, ranks, and VERSION.
| string storage::Graph::quote | ( | const string & | str | ) | [static, private] |
Referenced by makeTooltip(), and storage::operator<<().
| string storage::Graph::makeTooltip | ( | const Text & | text, | |
| const string & | label, | |||
| unsigned long long | sizeK | |||
| ) | [static, private] |
References storage::byteToHumanString(), quote(), and storage::Text::text.
Referenced by storage::operator<<().
| ostream& operator<< | ( | ostream & | s, | |
| const Node & | node | |||
| ) | [friend] |
| ostream& operator<< | ( | ostream & | s, | |
| const Edge & | edge | |||
| ) | [friend] |
| ostream& operator<< | ( | ostream & | s, | |
| const Rank & | rank | |||
| ) | [friend] |
list<Node> storage::Graph::nodes [protected] |
list<Edge> storage::Graph::edges [protected] |
list<Rank> storage::Graph::ranks [protected] |
Referenced by storage::DeviceGraph::DeviceGraph(), storage::MountGraph::MountGraph(), and save().
1.5.6