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 std::atomic< int > next_id_
 

Detailed Description

Definition at line 10 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 &  ,
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  }
std::string library_
Definition: Sym.h:35
std::string name_
Definition: Sym.h:34
address_type addr_
Definition: Sym.h:37
int id_
Definition: Sym.h:36
Sym::Sym ( )
inline

Definition at line 20 of file Sym.h.

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

Definition at line 27 of file Sym.h.

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

Member Function Documentation

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

Definition at line 42 of file Sym.h.

References addr_, and b.

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

Definition at line 46 of file Sym.h.

References addr_.

47  { return addr_ < b.addr_; }
address_type addr_
Definition: Sym.h:37

Member Data Documentation

address_type Sym::addr_

Definition at line 37 of file Sym.h.

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

int Sym::id_

Definition at line 36 of file Sym.h.

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

std::string Sym::library_

Definition at line 35 of file Sym.h.

Referenced by writeProfileData().

std::string Sym::name_

Definition at line 34 of file Sym.h.

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

std::atomic< int > Sym::next_id_
static

Definition at line 39 of file Sym.h.

Referenced by writeProfileData().