#include <VertexTracker.h>
Public Types | |
typedef void * | address_type |
Public Member Functions | |
void | incLeaf () const |
void | incPath (int by) const |
void | incTotal () const |
bool | operator< (const VertexTracker &a) const |
bool | operator< (unsigned int id) const |
void | setID () const |
VertexTracker () | |
VertexTracker (unsigned int id) | |
VertexTracker (const Sym &sym) | |
VertexTracker (address_type addr, const std::string &name) | |
Public Attributes | |
address_type | addr_ |
EdgeMap | edges_ |
unsigned int | id_ |
unsigned int | in_path_ |
std::string | library_ |
std::string | name_ |
float | percent_leaf_ |
float | percent_path_ |
unsigned int | total_as_leaf_ |
unsigned int | total_seen_ |
Static Public Attributes | |
static unsigned int | next_id_ = 0 |
Definition at line 11 of file VertexTracker.h.
typedef void* VertexTracker::address_type |
Definition at line 13 of file VertexTracker.h.
VertexTracker::VertexTracker | ( | ) | [inline] |
Definition at line 14 of file VertexTracker.h.
: name_(), library_(), addr_(), id_(), total_as_leaf_(), total_seen_(), in_path_(), //size_(), percent_leaf_(0.0), percent_path_(0.0) { }
VertexTracker::VertexTracker | ( | unsigned int | id | ) | [inline, explicit] |
Definition at line 27 of file VertexTracker.h.
: name_(), library_(), addr_(), id_(id), total_as_leaf_(), total_seen_(), in_path_(), //size_(), percent_leaf_(0.0), percent_path_(0.0) { }
VertexTracker::VertexTracker | ( | address_type | addr, |
const std::string & | name | ||
) | [inline] |
Definition at line 40 of file VertexTracker.h.
: name_(name), library_(), addr_(addr), id_(), total_as_leaf_(), total_seen_(), in_path_(), //size_(), percent_leaf_(0.0), percent_path_(0.0) { }
VertexTracker::VertexTracker | ( | const Sym & | sym | ) | [inline, explicit] |
Definition at line 53 of file VertexTracker.h.
: name_(sym.name_), library_(sym.library_), addr_(sym.addr_), id_(), total_as_leaf_(), total_seen_(), in_path_(), //size_(sym.size_), percent_leaf_(0.0), percent_path_(0.0) { }
void VertexTracker::incLeaf | ( | ) | const [inline] |
void VertexTracker::incPath | ( | int | by | ) | const [inline] |
void VertexTracker::incTotal | ( | ) | const [inline] |
bool VertexTracker::operator< | ( | unsigned int | id | ) | const [inline] |
bool VertexTracker::operator< | ( | const VertexTracker & | a | ) | const [inline] |
void VertexTracker::setID | ( | ) | const [inline] |
Definition at line 92 of file VertexTracker.h.
Referenced by operator<(), and operator<<().
EdgeMap VertexTracker::edges_ [mutable] |
Definition at line 97 of file VertexTracker.h.
unsigned int VertexTracker::id_ [mutable] |
Definition at line 93 of file VertexTracker.h.
Referenced by operator<(), operator<<(), and setID().
unsigned int VertexTracker::in_path_ [mutable] |
Definition at line 96 of file VertexTracker.h.
Referenced by incPath(), and operator<<().
std::string VertexTracker::library_ |
Definition at line 91 of file VertexTracker.h.
Referenced by operator<<().
std::string VertexTracker::name_ |
Definition at line 90 of file VertexTracker.h.
Referenced by operator<<().
unsigned int VertexTracker::next_id_ = 0 [static] |
Definition at line 102 of file VertexTracker.h.
Referenced by setID().
float VertexTracker::percent_leaf_ [mutable] |
Definition at line 99 of file VertexTracker.h.
Referenced by operator<<().
float VertexTracker::percent_path_ [mutable] |
Definition at line 100 of file VertexTracker.h.
Referenced by operator<<().
unsigned int VertexTracker::total_as_leaf_ [mutable] |
Definition at line 94 of file VertexTracker.h.
Referenced by incLeaf(), and operator<<().
unsigned int VertexTracker::total_seen_ [mutable] |
Definition at line 95 of file VertexTracker.h.
Referenced by incTotal(), and operator<<().