CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes | Static Public Attributes
Sym Struct Reference

#include <Sym.h>

Public Types

typedef void * address_type
 

Public Member Functions

bool operator< (address_type b) const
 
bool operator< (const Sym &b) const
 
 Sym (Dl_info const &, void *addr)
 
 Sym ()
 
 Sym (int id)
 

Public Attributes

address_type addr_
 
int id_
 
std::string library_
 
std::string name_
 

Static Public Attributes

static int next_id_ = 1000000
 

Detailed Description

Definition at line 9 of file Sym.h.

Member Typedef Documentation

typedef void* Sym::address_type

Definition at line 10 of file Sym.h.

Constructor & Destructor Documentation

Sym::Sym ( Dl_info const &  ,
void *  addr 
)
inline

Definition at line 12 of file Sym.h.

12  :
13  name_(),
14  library_(),
15  id_(),
16  addr_(reinterpret_cast<address_type>(addr)) {
17  }
std::string library_
Definition: Sym.h:34
std::string name_
Definition: Sym.h:33
address_type addr_
Definition: Sym.h:36
int id_
Definition: Sym.h:35
Sym::Sym ( )
inline

Definition at line 19 of file Sym.h.

19  :
20  name_(),
21  library_(),
22  id_(),
23  addr_()
24  { }
std::string library_
Definition: Sym.h:34
std::string name_
Definition: Sym.h:33
address_type addr_
Definition: Sym.h:36
int id_
Definition: Sym.h:35
Sym::Sym ( int  id)
inlineexplicit

Definition at line 26 of file Sym.h.

26  :
27  name_(),
28  library_(),
29  id_(id),
30  addr_()
31  { }
std::string library_
Definition: Sym.h:34
std::string name_
Definition: Sym.h:33
address_type addr_
Definition: Sym.h:36
int id_
Definition: Sym.h:35

Member Function Documentation

bool Sym::operator< ( address_type  b) const
inline

Definition at line 41 of file Sym.h.

References addr_, and b.

42  { return addr_ < b; }
double b
Definition: hdecay.h:120
address_type addr_
Definition: Sym.h:36
bool Sym::operator< ( const Sym b) const
inline

Definition at line 45 of file Sym.h.

References addr_.

46  { return addr_ < b.addr_; }
address_type addr_
Definition: Sym.h:36

Member Data Documentation

address_type Sym::addr_

Definition at line 36 of file Sym.h.

Referenced by operator<(), operator<(), operator<<(), and writeProfileData().

int Sym::id_

Definition at line 35 of file Sym.h.

Referenced by operator<<(), and writeProfileData().

std::string Sym::library_

Definition at line 34 of file Sym.h.

Referenced by writeProfileData().

std::string Sym::name_

Definition at line 33 of file Sym.h.

Referenced by operator<<(), and writeProfileData().

int Sym::next_id_ = 1000000
static

Definition at line 38 of file Sym.h.

Referenced by writeProfileData().