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 &info, 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 11 of file Sym.h.

Constructor & Destructor Documentation

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

Definition at line 13 of file Sym.h.

13  :
14  name_(),
15  library_(),
16  id_(),
17  addr_(reinterpret_cast<address_type>(addr))
18  {
19 
20  }
std::string library_
Definition: Sym.h:39
std::string name_
Definition: Sym.h:38
address_type addr_
Definition: Sym.h:41
int id_
Definition: Sym.h:40
Sym::Sym ( )
inline

Definition at line 24 of file Sym.h.

24  :
25  name_(),
26  library_(),
27  id_(),
28  addr_()
29  { }
std::string library_
Definition: Sym.h:39
std::string name_
Definition: Sym.h:38
address_type addr_
Definition: Sym.h:41
int id_
Definition: Sym.h:40
Sym::Sym ( int  id)
inlineexplicit

Definition at line 31 of file Sym.h.

31  :
32  name_(),
33  library_(),
34  id_(id),
35  addr_()
36  { }
std::string library_
Definition: Sym.h:39
std::string name_
Definition: Sym.h:38
address_type addr_
Definition: Sym.h:41
int id_
Definition: Sym.h:40

Member Function Documentation

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

Definition at line 46 of file Sym.h.

References addr_, and b.

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

Definition at line 50 of file Sym.h.

References addr_.

51  { return addr_ < b.addr_; }
address_type addr_
Definition: Sym.h:41

Member Data Documentation

address_type Sym::addr_

Definition at line 41 of file Sym.h.

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

int Sym::id_

Definition at line 40 of file Sym.h.

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

std::string Sym::library_

Definition at line 39 of file Sym.h.

Referenced by writeProfileData().

std::string Sym::name_

Definition at line 38 of file Sym.h.

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

int Sym::next_id_ = 1000000
static

Definition at line 43 of file Sym.h.

Referenced by writeProfileData().